summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenedikt Boehm <hollow@gentoo.org>2008-02-23 22:28:20 +0000
committerBenedikt Boehm <hollow@gentoo.org>2008-02-23 22:28:20 +0000
commitff72018cf58f3d0236ce28e9eb70a62ba6a24377 (patch)
tree5fe804ad3083e600b215016ed98b339d63d544ab /www-apps/gnopaste
parentebuild cleanup wrt #208584; fix metadata (diff)
downloadgentoo-2-ff72018cf58f3d0236ce28e9eb70a62ba6a24377.tar.gz
gentoo-2-ff72018cf58f3d0236ce28e9eb70a62ba6a24377.tar.bz2
gentoo-2-ff72018cf58f3d0236ce28e9eb70a62ba6a24377.zip
ebuild cleanup wrt #208584
(Portage version: 2.1.4.4)
Diffstat (limited to 'www-apps/gnopaste')
-rw-r--r--www-apps/gnopaste/ChangeLog6
-rw-r--r--www-apps/gnopaste/gnopaste-0.5.5.ebuild31
-rw-r--r--www-apps/gnopaste/metadata.xml10
3 files changed, 23 insertions, 24 deletions
diff --git a/www-apps/gnopaste/ChangeLog b/www-apps/gnopaste/ChangeLog
index bd9c0fd7e731..33ea96a14b3e 100644
--- a/www-apps/gnopaste/ChangeLog
+++ b/www-apps/gnopaste/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for www-apps/gnopaste
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/gnopaste/ChangeLog,v 1.5 2008/02/03 16:59:41 hollow Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apps/gnopaste/ChangeLog,v 1.6 2008/02/23 22:28:20 hollow Exp $
+
+ 23 Feb 2008; Benedikt Böhm <hollow@gentoo.org> metadata.xml,
+ gnopaste-0.5.5.ebuild:
+ ebuild cleanup wrt #208584
03 Feb 2008; Benedikt Böhm <hollow@gentoo.org> gnopaste-0.5.5.ebuild:
merge from webapps overlay wrt #208584
diff --git a/www-apps/gnopaste/gnopaste-0.5.5.ebuild b/www-apps/gnopaste/gnopaste-0.5.5.ebuild
index 6986e88efc51..1653e1eff877 100644
--- a/www-apps/gnopaste/gnopaste-0.5.5.ebuild
+++ b/www-apps/gnopaste/gnopaste-0.5.5.ebuild
@@ -1,28 +1,24 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/gnopaste/gnopaste-0.5.5.ebuild,v 1.4 2008/02/03 16:59:41 hollow Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apps/gnopaste/gnopaste-0.5.5.ebuild,v 1.5 2008/02/23 22:28:20 hollow Exp $
-inherit webapp depend.php
+inherit webapp depend.php eutils
-DESCRIPTION="It presents a free nopaste system like http://nopaste.info"
+DESCRIPTION="gnopaste is a nopaste script based on PHP with MySQL"
HOMEPAGE="http://gnopaste.sf.net/"
-LICENSE="GPL-2"
-
SRC_URI="mirror://sourceforge/${PN}/${P}.tgz"
-WEBAPP_MANUAL_SLOT="yes"
-SLOT="0"
-
+LICENSE="GPL-2"
KEYWORDS="~x86 ~amd64"
IUSE=""
-RDEPEND="virtual/httpd-cgi
- dev-lang/php"
+need_httpd_cgi
+need_php_httpd
src_unpack() {
unpack ${A}
cd "${S}"
- find . -type d -name '.svn' | xargs rm -rf {} \;
+ esvn_clean
}
pkg_setup() {
@@ -31,18 +27,17 @@ pkg_setup() {
}
src_install() {
- # call the eclass, to initialise the image directory for us
webapp_src_preinst
- elog "Installing main files"
- cp -r . "${D}/${MY_HTDOCSDIR}"
+ insinto "${MY_HTDOCSDIR}"
+ doins -r .
- webapp_configfile "${MY_HTDOCSDIR}/config.php"
+ webapp_configfile "${MY_HTDOCSDIR}"/config.php
- webapp_serverowned "${MY_HTDOCSDIR}/config.php"
- webapp_serverowned "${MY_HTDOCSDIR}/install.php"
+ webapp_serverowned "${MY_HTDOCSDIR}"/config.php
+ webapp_serverowned "${MY_HTDOCSDIR}"/install.php
- webapp_postinst_txt en "${FILESDIR}/postinstall-en-${PV}.txt"
+ webapp_postinst_txt en "${FILESDIR}"/postinstall-en-${PV}.txt
webapp_src_install
}
diff --git a/www-apps/gnopaste/metadata.xml b/www-apps/gnopaste/metadata.xml
index 9cf09a6be010..342d975b2902 100644
--- a/www-apps/gnopaste/metadata.xml
+++ b/www-apps/gnopaste/metadata.xml
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<herd>no-herd</herd>
-<maintainer>
- <email>jurek@gentoo.org</email>
- <name>Jurek Bartuszek</name>
-</maintainer>
+ <herd>web-apps</herd>
+ <maintainer>
+ <email>jurek@gentoo.org</email>
+ <name>Jurek Bartuszek</name>
+ </maintainer>
</pkgmetadata>