svn commit: r311639 - head/devel/pear-PHPTAL
Tom Judge
tj at FreeBSD.org
Mon Feb 4 17:37:18 UTC 2013
Author: tj
Date: Mon Feb 4 17:37:17 2013
New Revision: 311639
URL: http://svnweb.freebsd.org/changeset/ports/311639
Log:
Convert to OptionsNG.
Modified:
head/devel/pear-PHPTAL/Makefile
Modified: head/devel/pear-PHPTAL/Makefile
==============================================================================
--- head/devel/pear-PHPTAL/Makefile Mon Feb 4 17:00:36 2013 (r311638)
+++ head/devel/pear-PHPTAL/Makefile Mon Feb 4 17:37:17 2013 (r311639)
@@ -15,21 +15,24 @@ COMMENT= PEAR PHPTAL is a XML/XHTML temp
BUILD_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear
RUN_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear
-OPTIONS= GETTEXT "Enable GetText Support" off \
- SIMPLEXML "Enable SimpleXML Support" off \
- JSON "Enable JSON Support" off
+OPTIONS_DEFINE= GETTEXT SIMPLEXML JSON
+GETTEXT_DESC= "Enable GetText Support"
+SIMPLEXML_DESC= "Enable SimpleXML Support"
+JSON_DESC= "Enable JSON Support"
+
+.include <bsd.port.options.mk>
USE_PHP= ctype hash
-.if defined(WITH_GETTEXT)
+.if ${PORT_OPTIONS:MGETTEXT}
USE_PHP+= gettext
.endif
-.if defined(WITH_SIMPLEXML)
+.if ${PORT_OPTIONS:MSIMPLEXML}
USE_PHP+= simplexml
.endif
-.if defined(WITH_JSON)
+.if ${PORT_OPTIONS:MJSON}
USE_PHP+= json
.endif
More information about the svn-ports-head
mailing list