aboutsummaryrefslogtreecommitdiffstats
path: root/www/groupoffice
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2015-11-14 03:13:50 +0800
committersunpoet <sunpoet@FreeBSD.org>2015-11-14 03:13:50 +0800
commitfd88e07b9bcd4b226c4575188f33e0339903c951 (patch)
tree3cbd33ff733ff13ed6cb3ea00ccee34b4dcd76f0 /www/groupoffice
parent950114ac4674c9cd2cfc67061a85d6a5d43743dc (diff)
downloadfreebsd-ports-gnome-fd88e07b9bcd4b226c4575188f33e0339903c951.tar.gz
freebsd-ports-gnome-fd88e07b9bcd4b226c4575188f33e0339903c951.tar.zst
freebsd-ports-gnome-fd88e07b9bcd4b226c4575188f33e0339903c951.zip
- Update to 6.1.61
- Convert to new options helper
Diffstat (limited to 'www/groupoffice')
-rw-r--r--www/groupoffice/Makefile29
-rw-r--r--www/groupoffice/distinfo4
2 files changed, 10 insertions, 23 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}
diff --git a/www/groupoffice/distinfo b/www/groupoffice/distinfo
index 020467d6defa..001159d9e420 100644
--- a/www/groupoffice/distinfo
+++ b/www/groupoffice/distinfo
@@ -1,2 +1,2 @@
-SHA256 (groupoffice-com-6.1.57.tar.gz) = 2036736ec651cd8f0aaf3b1e01e09362a63b3f242a78da7bcbff26e7aeb6b5fd
-SIZE (groupoffice-com-6.1.57.tar.gz) = 32594703
+SHA256 (groupoffice-com-6.1.61.tar.gz) = fabde5394c44d1b71235b42d00327d080804d27ee9b5c75c1a739445f25bb4e7
+SIZE (groupoffice-com-6.1.61.tar.gz) = 32597106