diff options
Diffstat (limited to 'dev-db/phppgadmin/phppgadmin-3.5.4.ebuild')
-rw-r--r-- | dev-db/phppgadmin/phppgadmin-3.5.4.ebuild | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/dev-db/phppgadmin/phppgadmin-3.5.4.ebuild b/dev-db/phppgadmin/phppgadmin-3.5.4.ebuild new file mode 100644 index 000000000000..7541a97b72a5 --- /dev/null +++ b/dev-db/phppgadmin/phppgadmin-3.5.4.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-db/phppgadmin/phppgadmin-3.5.4.ebuild,v 1.1 2005/07/15 14:21:47 mholzer Exp $ + +inherit eutils webapp + +IUSE="" + +# This package insists on uppercase letters +MY_PN=phpPgAdmin +MY_P=${MY_PN}-${PV} +S="${WORKDIR}/${MY_PN}" + +DESCRIPTION="Web-based administration for Postgres database in php" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2" +HOMEPAGE="http://phppgadmin.sourceforge.net/" + +LICENSE="GPL-2" +KEYWORDS="~x86 ~ppc ~sparc ~hppa ~amd64" + +DEPEND=">=dev-db/postgresql-7.0.0 + virtual/httpd-php" + +RDEPEND="${DEPEND} + !<=dev-db/phppgadmin-3.3.1" + +src_install() { + webapp_src_preinst + + local docs="DEVELOPERS FAQ HISTORY INSTALL TODO TRANSLATORS CREDITS BUGS" + dodoc ${docs} + mv conf/config.inc.php-dist conf/config.inc.php + + cp -r * ${D}${MY_HTDOCSDIR} + for doc in ${docs} INSTALL LICENSE; do + rm -f ${D}${MY_HTDOCSDIR}/${doc} + done + + webapp_configfile ${MY_HTDOCSDIR}/conf/config.inc.php + webapp_postinst_txt en ${FILESDIR}/postinstall-en.txt + webapp_src_install +} |