aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2005-01-30 01:45:44 +0800
committerlioux <lioux@FreeBSD.org>2005-01-30 01:45:44 +0800
commitf4e131cfe9d0a0615a4ba5262ae00f84f3b432ff (patch)
treef4f67e31cf4639a9dd2ee60d6aac62770f11cd03 /deskutils
parentd8d7579fa08847626d8f9421208b4aa3778d308b (diff)
downloadfreebsd-ports-gnome-f4e131cfe9d0a0615a4ba5262ae00f84f3b432ff.tar.gz
freebsd-ports-gnome-f4e131cfe9d0a0615a4ba5262ae00f84f3b432ff.tar.zst
freebsd-ports-gnome-f4e131cfe9d0a0615a4ba5262ae00f84f3b432ff.zip
1) Add USE_PHP with required php extensions
2) The port WANT_PHP_MOD 3) Add WITH_POSTGRESQL knob to allow installing postgresql instead of mysql 4) Bump PORTREVISION due to [1] Submitted by: Mike Holcomb <mike.holcomb@gmail.com> Approved by: maintainer (2 weeks timeout)
Diffstat (limited to 'deskutils')
-rw-r--r--deskutils/moregroupware/Makefile17
1 files changed, 14 insertions, 3 deletions
diff --git a/deskutils/moregroupware/Makefile b/deskutils/moregroupware/Makefile
index d4b6f7c12011..106596bc6492 100644
--- a/deskutils/moregroupware/Makefile
+++ b/deskutils/moregroupware/Makefile
@@ -7,6 +7,7 @@
PORTNAME= moregroupware
PORTVERSION= 0.7.1
+PORTREVISION= 1
CATEGORIES= deskutils www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= moregroupware
@@ -19,10 +20,20 @@ DISTFILES= ${PORTNAME}-core-${PORTVERSION}${EXTRACT_SUFX} \
MAINTAINER= rob@debank.tv
COMMENT= A web based GroupWare system
-.if defined(WITH_APACHE2)
-RUN_DEPENDS= ${LOCALBASE}/libexec/apache2/libphp4.so:${PORTSDIR}/www/mod_php4
+# php extensions
+USE_PHP= \
+ curl \
+ gd \
+ pcre \
+ session \
+ xml
+# uses apache , php4 port decides if it is apache 1 or 2
+WANT_PHP_MOD= yes
+
+.if defined(WITH_POSTGRESQL)
+RUN_DEPENDS+= ${LOCALBASE}/bin/psql:${PORTSDIR}/databases/postgresql74-server
.else
-RUN_DEPENDS= ${LOCALBASE}/libexec/apache/libphp4.so:${PORTSDIR}/www/mod_php4
+RUN_DEPENDS+= ${LOCALBASE}/bin/mysql:${PORTSDIR}/databases/mysql41-server
.endif
.if defined(WITH_MODULES)