diff options
Diffstat (limited to 'www-apps/phprojekt/phprojekt-4.1.ebuild')
-rw-r--r-- | www-apps/phprojekt/phprojekt-4.1.ebuild | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/www-apps/phprojekt/phprojekt-4.1.ebuild b/www-apps/phprojekt/phprojekt-4.1.ebuild new file mode 100644 index 000000000000..e39091bfa4af --- /dev/null +++ b/www-apps/phprojekt/phprojekt-4.1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/phprojekt/phprojekt-4.1.ebuild,v 1.1 2004/08/19 19:04:51 rl03 Exp $ + +inherit webapp-apache + +DESCRIPTION="Project management and coordination system" +HOMEPAGE="http://www.phprojekt.com/" +IUSE="" +SRC_URI="mirror://gentoo/${P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86 ~ppc" + +RDEPEND="virtual/php" + +pkg_setup() { + webapp-detect || NO_WEBSERVER=1 + webapp-pkg_setup "${NO_WEBSERVER}" + einfo "Installing into ${ROOT}${HTTPD_ROOT}." +} + +src_install() { + webapp-mkdirs + + local DocumentRoot=${HTTPD_ROOT} + local destdir=${DocumentRoot}/${PN} + + dodoc ChangeLog install readme + dodir ${destdir} + cp -r . ${D}${destdir} + cd ${D}/${HTTPD_ROOT} + chown -R ${HTTPD_USER}:${HTTPD_GROUP} ${PN} +} |