aboutsummaryrefslogtreecommitdiff
path: root/deskutils/phprojekt/Makefile
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-01-24 17:13:36 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-01-24 17:13:36 +0000
commit84e2f3753feaf5d07004e5d3ca59406c43172f73 (patch)
tree326d43245836024e7bb1359e2764f2dabf9713fd /deskutils/phprojekt/Makefile
parent843be2aaa48abca8e4979893a9366271c0e5e28c (diff)
downloadports-84e2f3753feaf5d07004e5d3ca59406c43172f73.tar.gz
ports-84e2f3753feaf5d07004e5d3ca59406c43172f73.zip
Notes
Diffstat (limited to 'deskutils/phprojekt/Makefile')
-rw-r--r--deskutils/phprojekt/Makefile36
1 files changed, 36 insertions, 0 deletions
diff --git a/deskutils/phprojekt/Makefile b/deskutils/phprojekt/Makefile
new file mode 100644
index 000000000000..1e6522e5aaf6
--- /dev/null
+++ b/deskutils/phprojekt/Makefile
@@ -0,0 +1,36 @@
+# New ports collection makefile for: deskutils/phprojekt
+# Date created: January 33th 2005
+# Whom: Gerrit Beine <tux@pinguru.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= phprojekt
+PORTVERSION= 4.2.3
+CATEGORIES= deskutils www
+MASTER_SITES= http://www.phprojekt.com/download/
+DISTNAME= ${PORTNAME}
+
+MAINTAINER= tux@pinguru.net
+COMMENT= An open source groupware suite
+
+.if defined(WITH_APACHE2)
+RUN_DEPENDS= ${LOCALBASE}/libexec/apache2/libphp4.so:${PORTSDIR}/www/mod_php4
+.else
+RUN_DEPENDS= ${LOCALBASE}/libexec/apache/libphp4.so:${PORTSDIR}/www/mod_php4
+.endif
+
+NO_BUILD= yes
+WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION:S/.//g}
+
+do-install:
+ @${CP} -r ${WRKSRC} ${PREFIX}/www/${PORTNAME}
+ @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/www/${PORTNAME}
+
+post-install:
+ @${FIND} ${WRKSRC}/${file} -not -type d \
+ | ${SED} -ne 's,^${WRKSRC},www/${PORTNAME},p' >> ${TMPPLIST}
+ @${FIND} -d ${WRKSRC}/${file} -type d \
+ | ${SED} -ne 's,^${WRKSRC},@dirrm www/${PORTNAME},p' >> ${TMPPLIST}
+
+.include <bsd.port.mk>