From 2f9986a9afd6eef1de9067c7648461c28a1b6527 Mon Sep 17 00:00:00 2001 From: Sunpoet Po-Chuan Hsieh Date: Fri, 13 Nov 2015 19:13:50 +0000 Subject: - Update to 6.1.61 - Convert to new options helper --- www/groupoffice/Makefile | 29 ++++++++--------------------- 1 file changed, 8 insertions(+), 21 deletions(-) (limited to 'www/groupoffice/Makefile') 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 - -.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} -- cgit v1.2.3