# Copyright 1999-2001 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Author Chris Johnson S=${WORKDIR}/${P} DESCRIPTION="Web-based administration for MySQL database in php" SRC_URI="http://prdownloads.sourceforge.net/phppgadmin/phpPgAdmin_2-4-1.tar.bz2" #phpPgAdmin_2-4-1.tar.bz2 HOMEPAGE="http://phppgadmin.sourceforge.net/" DEPEND=">=net-www/apache-1.3.0 >=dev-db/postgresql-6.5.0 >=dev-lang/php-3.0.0" #RDEPEND="" src_compile() { # try ./configure --infodir=/usr/share/info --mandir=/usr/share/man --prefix=/usr --host=${CHOST} # emake || die einfo "Nothing to compile, it's a bundle of PHP scripts :-)" #make || die } src_install () { dodir /usr/local/httpd/htdocs/phppgadmin/images insinto /usr/local/httpd/htdocs/phppgadmin doins *.{php,js,html,sh,php-dist} insinto /usr/local/httpd/htdocs/phppgadmin/images doins images/*.gif dodoc BUGS ChangeLog TODO Documentation.html \ DEVELOPERS INSTALL LICENSE README } pkg_postinst() { einfo "Make sure you edit /usr/local/httpd/htdocs/phppgadmin/config.inc.php-dist" einfo "and /etc/httpd/httpd.conf before you try using ${P}" einfo "You'll need to add index.php to your DirectoryIndex directive" }