# 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.3.ebuild,v 1.1 2005/04/23 15:20:27 mholzer Exp $ inherit eutils webapp IUSE="" DESCRIPTION="Bug Tracking System - easy and less advanced bugzilla replacement" SRC_URI="http://flyspray.rocks.cc/files/${PN}-${PV}.tar.gz" HOMEPAGE="http://flyspray.rocks.cc/" LICENSE="LGPL" KEYWORDS="~x86" DEPEND=">=dev-php/adodb-4.0.0 >=dev-php/mod_php-4.1" RDEPEND="${DEPEND}" #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 for doc in docs/*.txt ; do docfile=`basename ${doc} .txt` mv ${doc} ${docfile} dodoc ${docfile} rm -f ${docfile} done rm -rf docs cp -r * ${D}${MY_HTDOCSDIR} # webapp_postinst_txt en ${FILESDIR}/postinstall-en.txt webapp_src_install }