aboutsummaryrefslogtreecommitdiff
path: root/deskutils/tine20/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'deskutils/tine20/Makefile')
-rw-r--r--deskutils/tine20/Makefile19
1 files changed, 4 insertions, 15 deletions
diff --git a/deskutils/tine20/Makefile b/deskutils/tine20/Makefile
index 4bbed9b35c7f..d88fba85ecd7 100644
--- a/deskutils/tine20/Makefile
+++ b/deskutils/tine20/Makefile
@@ -29,21 +29,10 @@ USE_MYSQL= yes
USE_PHP= ctype dom gd iconv json mcrypt mysql pdo_mysql simplexml spl xml zip
WANT_PHP_WEB= yes
-.include <bsd.port.options.mk>
+APC_USE= php=apc
+LDAP_USE= php=ldap
+MEMCACHE_USE= php=memcache
-.if ${PORT_OPTIONS:MAPC}
-USE_PHP+= apc
-.endif
-
-.if ${PORT_OPTIONS:MLDAP}
-USE_PHP+= ldap
-.endif
-
-.if ${PORT_OPTIONS:MMEMCACHE}
-USE_PHP+= memcache
-.endif
-
-.include <bsd.port.pre.mk>
do-extract:
@${RM} -rf ${WRKDIR}
@${MKDIR} ${WRKDIR}/${PORTNAME}
@@ -56,4 +45,4 @@ do-install:
post-install:
${CAT} ${PKGMESSAGE}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>