svn commit: r339874 - head/deskutils/tine20

Baptiste Daroussin bapt at FreeBSD.org
Wed Jan 15 23:55:57 UTC 2014


Author: bapt
Date: Wed Jan 15 23:55:57 2014
New Revision: 339874
URL: http://svnweb.freebsd.org/changeset/ports/339874
QAT: https://qat.redports.org/buildarchive/r339874/

Log:
  Reduce over inclusion of bsd.port.mk
  Use options helpers

Modified:
  head/deskutils/tine20/Makefile

Modified: head/deskutils/tine20/Makefile
==============================================================================
--- head/deskutils/tine20/Makefile	Wed Jan 15 23:52:25 2014	(r339873)
+++ head/deskutils/tine20/Makefile	Wed Jan 15 23:55:57 2014	(r339874)
@@ -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>


More information about the svn-ports-all mailing list