summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-office/phprojekt/ChangeLog8
-rw-r--r--app-office/phprojekt/Manifest7
-rw-r--r--app-office/phprojekt/files/digest-phprojekt-4.11
-rw-r--r--app-office/phprojekt/metadata.xml9
-rw-r--r--app-office/phprojekt/phprojekt-4.0-r1.ebuild36
-rw-r--r--app-office/phprojekt/phprojekt-4.1.ebuild35
6 files changed, 74 insertions, 22 deletions
diff --git a/app-office/phprojekt/ChangeLog b/app-office/phprojekt/ChangeLog
index 18a021f371a1..eb869b39fa70 100644
--- a/app-office/phprojekt/ChangeLog
+++ b/app-office/phprojekt/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-office/phprojekt
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/phprojekt/ChangeLog,v 1.7 2003/10/24 09:28:48 aliz Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/phprojekt/ChangeLog,v 1.8 2003/12/30 14:14:35 mholzer Exp $
+
+*phprojekt-4.1 (30 Dec 2003)
+
+ 30 Dec 2003; Martin Holzer <mholzer@gentoo.org> phprojekt-4.0-r1.ebuild,
+ phprojekt-4.1.ebuild:
+ adding webapps-apache
*phprojekt-4.0-r1 (08 May 2003)
diff --git a/app-office/phprojekt/Manifest b/app-office/phprojekt/Manifest
index 95c988e2ea3e..198b3a7432f4 100644
--- a/app-office/phprojekt/Manifest
+++ b/app-office/phprojekt/Manifest
@@ -1,8 +1,9 @@
-MD5 b5be79fa12f49a7f2cf142517b23af2c ChangeLog 868
+MD5 7841a3cb70d756eb8d26db359e439342 ChangeLog 1025
MD5 b762d61f8297ce34866a3cdbbe80acc0 phprojekt-3.2a.ebuild 862
-MD5 e47c0524372e066387ead0f59348788e phprojekt-4.0-r1.ebuild 901
+MD5 914d63091f79d6dbf518434fc0955412 phprojekt-4.0-r1.ebuild 858
MD5 ae02160f2af3d254c856059166830627 phprojekt-4.0.ebuild 1060
-MD5 e47c0524372e066387ead0f59348788e phprojekt-4.1.ebuild 901
+MD5 857758cd4f29274bc118709270595085 phprojekt-4.1.ebuild 855
+MD5 c339473e0ff43da76eb2f2607c441921 metadata.xml 280
MD5 a5312d2a7dbb70b1d0416e37c9fd82d8 files/digest-phprojekt-3.2a 61
MD5 a4fc4523f14a2ad77b9d00dd7e386b88 files/digest-phprojekt-4.0 65
MD5 a4fc4523f14a2ad77b9d00dd7e386b88 files/digest-phprojekt-4.0-r1 65
diff --git a/app-office/phprojekt/files/digest-phprojekt-4.1 b/app-office/phprojekt/files/digest-phprojekt-4.1
new file mode 100644
index 000000000000..9c66a36edc7c
--- /dev/null
+++ b/app-office/phprojekt/files/digest-phprojekt-4.1
@@ -0,0 +1 @@
+MD5 62a998a690e05adb708012ab7aba8918 phprojekt-4.1.tar.gz 951482
diff --git a/app-office/phprojekt/metadata.xml b/app-office/phprojekt/metadata.xml
new file mode 100644
index 000000000000..13bc126c7d91
--- /dev/null
+++ b/app-office/phprojekt/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>web-apps</herd>
+<maintainer>
+<email>web-apps@gentoo.org</email>
+<name>Gentoo Web Application Packages Maintainers</name>
+</maintainer>
+</pkgmetadata>
diff --git a/app-office/phprojekt/phprojekt-4.0-r1.ebuild b/app-office/phprojekt/phprojekt-4.0-r1.ebuild
index 7a3388c599a6..ab3327d9625c 100644
--- a/app-office/phprojekt/phprojekt-4.0-r1.ebuild
+++ b/app-office/phprojekt/phprojekt-4.0-r1.ebuild
@@ -1,21 +1,8 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/phprojekt/phprojekt-4.0-r1.ebuild,v 1.3 2003/09/06 22:21:02 msterret Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/phprojekt/phprojekt-4.0-r1.ebuild,v 1.4 2003/12/30 14:14:35 mholzer Exp $
-# lid of download link
-MY_DOWNLOAD_ID=14
-
-use apache2 && HTTPD_ROOT="`grep '^DocumentRoot' /etc/apache2/conf/apache2.conf | cut -d\ -f2`"
-use apache2 && HTTPD_USER="`grep '^User' /etc/apache2/conf/commonapache2.conf | cut -d \ -f2`"
-use apache2 && HTTPD_GROUP="`grep '^Group' /etc/apache2/conf/commonapache2.conf | cut -d \ -f2`"
-
-use apache2 || HTTPD_ROOT="`grep '^DocumentRoot' /etc/apache/conf/apache.conf | cut -d\ -f2`"
-use apache2 || HTTPD_USER="`grep '^User' /etc/apache/conf/commonapache.conf | cut -d \ -f2`"
-use apache2 || HTTPD_GROUP="`grep '^Group' /etc/apache/conf/commonapache.conf | cut -d \ -f2`"
-
-[ -z "${HTTPD_ROOT}" ] && HTTPD_ROOT="/home/httpd/htdocs"
-[ -z "${HTTPD_USER}" ] && HTTPD_USER="apache"
-[ -z "${HTTPD_GROUP}" ] && HTTPD_GROUP="apache"
+inherit webapp-apache
DESCRIPTION="Project management and coordination system"
HOMEPAGE="http://www.phprojekt.com/"
@@ -27,10 +14,23 @@ KEYWORDS="x86 ~ppc"
RDEPEND="virtual/php"
+webapp-detect || NO_WEBSERVER=1
+
+pkg_setup() {
+ 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 ${HTTPD_ROOT}/phprojekt
- cp -r . ${D}/${HTTPD_ROOT}/phprojekt
+ dodir ${destdir}
+ cp -r . ${D}${destdir}
cd ${D}/${HTTPD_ROOT}
- chown -R ${HTTPD_USER}:${HTTPD_GROUP} phprojekt
+ chown -R ${HTTPD_USER}:${HTTPD_GROUP} ${PN}
+
}
diff --git a/app-office/phprojekt/phprojekt-4.1.ebuild b/app-office/phprojekt/phprojekt-4.1.ebuild
new file mode 100644
index 000000000000..6547b9a9a85b
--- /dev/null
+++ b/app-office/phprojekt/phprojekt-4.1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-office/phprojekt/phprojekt-4.1.ebuild,v 1.1 2003/12/30 14:14:35 mholzer Exp $
+
+inherit webapp-apache
+
+DESCRIPTION="Project management and coordination system"
+HOMEPAGE="http://www.phprojekt.com/"
+IUSE="apache2"
+SRC_URI="mirror://gentoo/${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc"
+
+RDEPEND="virtual/php"
+
+webapp-detect || NO_WEBSERVER=1
+
+pkg_setup() {
+ 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}
+}