diff options
author | Mike Frysinger <vapier@gentoo.org> | 2002-11-15 00:49:32 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2002-11-15 00:49:32 +0000 |
commit | fd8811b2f9fb73daa342ec48e9ef4c10fea32626 (patch) | |
tree | 3185922eb82b0b016854a995502488fbf595e8ca /dev-db | |
parent | fix for #10309 (diff) | |
download | historical-fd8811b2f9fb73daa342ec48e9ef4c10fea32626.tar.gz historical-fd8811b2f9fb73daa342ec48e9ef4c10fea32626.tar.bz2 historical-fd8811b2f9fb73daa342ec48e9ef4c10fea32626.zip |
replaced hardcoding of apache path
Diffstat (limited to 'dev-db')
-rw-r--r-- | dev-db/phppgadmin/ChangeLog | 9 | ||||
-rw-r--r-- | dev-db/phppgadmin/phppgadmin-2.4.1-r1.ebuild | 19 |
2 files changed, 17 insertions, 11 deletions
diff --git a/dev-db/phppgadmin/ChangeLog b/dev-db/phppgadmin/ChangeLog index 543e638bd3ba..4ed15ce07aed 100644 --- a/dev-db/phppgadmin/ChangeLog +++ b/dev-db/phppgadmin/ChangeLog @@ -1,18 +1,19 @@ # ChangeLog for dev-db/phppgadmin # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/dev-db/phppgadmin/ChangeLog,v 1.3 2002/09/03 04:50:51 owen Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/phppgadmin/ChangeLog,v 1.4 2002/11/15 00:49:32 vapier Exp $ *phppgadmin-2.4.1-r1 (3 May 2002) + + 14 Nov 2002; Mike Frysinger <vapier@gentoo.org> : + Replaced hardcoding of /home/httpd/htdocs with a grep of /etc/apache/conf/apache.conf + 2 Sep 2002; Owen Stampflee <owen@gentoo.org> : Added PPC to KEYWORDS 3 May 2002; Donny Davies <woodchip@gentoo.org> : - Added LICENSE, SLOT. *phppgadmin-2.4.1 (27 Apr 2002) 27 Apr 2002; Donny Davies <woodchip@gentoo.org> : - New package. Contributed by Xavier Garcia <xavier@dospins.com>. - diff --git a/dev-db/phppgadmin/phppgadmin-2.4.1-r1.ebuild b/dev-db/phppgadmin/phppgadmin-2.4.1-r1.ebuild index 9db73be65856..f4c97f6df445 100644 --- a/dev-db/phppgadmin/phppgadmin-2.4.1-r1.ebuild +++ b/dev-db/phppgadmin/phppgadmin-2.4.1-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/phppgadmin/phppgadmin-2.4.1-r1.ebuild,v 1.7 2002/10/04 05:09:34 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/phppgadmin/phppgadmin-2.4.1-r1.ebuild,v 1.8 2002/11/15 00:49:32 vapier Exp $ MY_PN=phpPgAdmin MY_PV="`echo ${PV} | sed -e 's:\.:-:g'`" @@ -9,20 +9,25 @@ S=${WORKDIR}/${MY_PN} DESCRIPTION="Web-based administration for Postgres database in php" SRC_URI="mirror://sourceforge/${PN}/${MY_PN}_${MY_PV}.tar.bz2" HOMEPAGE="http://phppgadmin.sourceforge.net/" + LICENSE="GPL-2" KEYWORDS="x86 ppc" SLOT="0" + DEPEND=">=net-www/apache-1.3.24-r1 - >=dev-db/postgresql-7.0.3-r3 - >=dev-php/mod_php-4.1.2-r5" + >=dev-db/postgresql-7.0.3-r3 + >=dev-php/mod_php-4.1.2-r5" + +APACHE_ROOT="`grep '^DocumentRoot' /etc/apache/conf/apache.conf | cut -d\ -f2`" +[ -z "${APACHE_ROOT}" ] && APACHE_ROOT="/home/httpd/htdocs" src_compile() { :; } -src_install () { - insinto /home/httpd/htdocs/phppgadmin +src_install() { + insinto ${APACHE_ROOT}/phppgadmin doins *.{php,html,js,sh,php-dist} - insinto /home/httpd/htdocs/phppgadmin/images + insinto ${APACHE_ROOT}/phppgadmin/images doins images/*.gif dodoc BUGS ChangeLog DEVELOPERS Documentation.html INSTALL \ @@ -31,6 +36,6 @@ src_install () { pkg_postinst() { einfo - einfo "Make sure you edit /home/httpd/htdocs/phppgadmin/config.inc.php" + einfo "Make sure you edit ${APACHE_ROOT}/phppgadmin/config.inc.php" einfo } |