aboutsummaryrefslogtreecommitdiff
path: root/www/groupoffice/Makefile
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2015-11-13 19:13:50 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2015-11-13 19:13:50 +0000
commit2f9986a9afd6eef1de9067c7648461c28a1b6527 (patch)
tree3cbd33ff733ff13ed6cb3ea00ccee34b4dcd76f0 /www/groupoffice/Makefile
parent298f3a796139abe9cb66ebf507bc15dcdb67a2e0 (diff)
downloadports-2f9986a9afd6eef1de9067c7648461c28a1b6527.tar.gz
ports-2f9986a9afd6eef1de9067c7648461c28a1b6527.zip
Notes
Diffstat (limited to 'www/groupoffice/Makefile')
-rw-r--r--www/groupoffice/Makefile29
1 files changed, 8 insertions, 21 deletions
diff --git a/www/groupoffice/Makefile b/www/groupoffice/Makefile
index 94d4dc28b9d7..4ea8c0c61469 100644
--- a/www/groupoffice/Makefile
+++ b/www/groupoffice/Makefile
@@ -3,7 +3,7 @@
PORTNAME= groupoffice
DISTVERSIONPREFIX= com-
-DISTVERSION= 6.1.57
+DISTVERSION= 6.1.61
CATEGORIES= www
MASTER_SITES= SF/group-office/${DISTVERSION:R}
@@ -12,6 +12,7 @@ COMMENT= Modular web application framework vor office
RESTRICTED= Free for personal use only
+NO_ARCH= yes
NO_BUILD= yes
USE_PHP= mysqli session mbstring pcre xml
WANT_PHP_WEB= yes
@@ -24,19 +25,23 @@ SHEBANG_FILES= go/vendor/tcpdf/tools/tcpdf_addfont.php \
modules/postfixadmin/scripts/vacation.pl \
modules/sync/z-push/install.sh \
vendor/fkooman/php-oauth-client/bin/php-oauth-client-create-tables
-NO_ARCH= yes
WWWDIR?= ${PREFIX}/www/${PORTNAME}${DISTVERSION:R:R}
SUB_FILES= pkg-message
OPTIONS_DEFINE= IMAP GD CALENDAR WBXML
-OPTIONS_DEFAULT= IMAP GD CALENDAR
+OPTIONS_DEFAULT=IMAP GD CALENDAR
CALENDAR_DESC= Calendar holiday support
IMAP_DESC= IMAP support
GD_DESC= Gallery support (GD)
WBXML_DESC= Synchronization Support
+CALENDAR_USE= PHP=calendar
+GD_USE= PHP=gd
+IMAP_USE= PHP=iconv imap
+WBXML_LIB_DEPENDS= libwbxml2.so:${PORTSDIR}/textproc/wbxml2
+
post-patch:
${REINPLACE_CMD} 's|%%LOCALBASE%%|${LOCALBASE}|g' \
${WRKSRC}/go/base/Config.php
@@ -47,24 +52,6 @@ post-patch:
${WRKSRC}/modules/serverclient/ServerclientModule.php \
${WRKSRC}/modules/site/index.php
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MIMAP}
-USE_PHP+= imap iconv
-.endif
-
-.if ${PORT_OPTIONS:MGD}
-USE_PHP+= gd
-.endif
-
-.if ${PORT_OPTIONS:MCALENDAR}
-USE_PHP+= calendar
-.endif
-
-.if ${PORT_OPTIONS:MWBXML}
-LIB_DEPENDS= libwbxml2.so:${PORTSDIR}/textproc/wbxml2
-.endif
-
do-install:
@${MKDIR} ${STAGEDIR}${WWWDIR}
${CP} -R ${WRKSRC}/ ${STAGEDIR}${WWWDIR}