Date: Mon, 4 Feb 2013 17:37:18 +0000 (UTC) From: Tom Judge <tj@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r311639 - head/devel/pear-PHPTAL Message-ID: <201302041737.r14HbIME023762@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201302041737.r14HbIME023762>