diff options
Diffstat (limited to 'dev-db/phppgadmin/phppgadmin-3.5.2.ebuild')
-rw-r--r-- | dev-db/phppgadmin/phppgadmin-3.5.2.ebuild | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/dev-db/phppgadmin/phppgadmin-3.5.2.ebuild b/dev-db/phppgadmin/phppgadmin-3.5.2.ebuild deleted file mode 100644 index 20c5e75ea62e..000000000000 --- a/dev-db/phppgadmin/phppgadmin-3.5.2.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# 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.2.ebuild,v 1.3 2005/05/07 07:51:31 beu 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_compile() { - mv libraries/lib.inc.php ${T}/lib.inc.php - mv login.php ${T}/login.php - sed -e "s|conf/config.inc.php|/etc/phppgadmin/config.inc.php|g" \ - ${T}/login.php > login.php - sed -e "s|include('./conf|include('conf|g" \ - -e "s|conf/config.inc.php|/etc/phppgadmin/config.inc.php|g" \ - ${T}/lib.inc.php > libraries/lib.inc.php -} - -src_install() { - webapp_src_preinst - - local docs="DEVELOPERS FAQ HISTORY INSTALL TODO TRANSLATORS CREDITS LICENSE BUGS" - - dodoc ${docs} - for docs in ${docs} INSTALL; do - rm -f $doc - done - - dodir /etc/phppgadmin - mv conf/* sql/* ${D}/etc/phppgadmin/ - rm -fr config/ sql/ - - cp -r * ${D}${MY_HTDOCSDIR} - - webapp_postinst_txt en ${FILESDIR}/postinstall-en.txt - - webapp_src_install -} |