diff options
author | bapt <bapt@FreeBSD.org> | 2014-01-16 07:55:57 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2014-01-16 07:55:57 +0800 |
commit | 218ac686397aedca76aebc90bb6002115f8cbc65 (patch) | |
tree | 63ce76dfa427da6c78b534ed9dfda5085495d71a /deskutils | |
parent | 237a57963a2ceba0dfce47e3b0902af0ad04236e (diff) | |
download | freebsd-ports-gnome-218ac686397aedca76aebc90bb6002115f8cbc65.tar.gz freebsd-ports-gnome-218ac686397aedca76aebc90bb6002115f8cbc65.tar.zst freebsd-ports-gnome-218ac686397aedca76aebc90bb6002115f8cbc65.zip |
Reduce over inclusion of bsd.port.mk
Use options helpers
Diffstat (limited to 'deskutils')
-rw-r--r-- | deskutils/tine20/Makefile | 19 |
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> |