diff options
author | eadler <eadler@FreeBSD.org> | 2012-09-15 21:21:49 +0800 |
---|---|---|
committer | eadler <eadler@FreeBSD.org> | 2012-09-15 21:21:49 +0800 |
commit | 9a7238ea3edbdb8d7651c7420fa71194f4a83bc3 (patch) | |
tree | 308eb4a2ced8d662dd10fce7afdb1ae3f136059f /devel | |
parent | 142ae53653d7e7ee8d626ca01cb0d3bf99bbef88 (diff) | |
download | freebsd-ports-gnome-9a7238ea3edbdb8d7651c7420fa71194f4a83bc3.tar.gz freebsd-ports-gnome-9a7238ea3edbdb8d7651c7420fa71194f4a83bc3.tar.zst freebsd-ports-gnome-9a7238ea3edbdb8d7651c7420fa71194f4a83bc3.zip |
Covert to OptionsNG
Diffstat (limited to 'devel')
-rw-r--r-- | devel/pear-PHPUnit3/Makefile | 36 |
1 files changed, 19 insertions, 17 deletions
diff --git a/devel/pear-PHPUnit3/Makefile b/devel/pear-PHPUnit3/Makefile index 84a487afb57f..ff16d6847779 100644 --- a/devel/pear-PHPUnit3/Makefile +++ b/devel/pear-PHPUnit3/Makefile @@ -25,14 +25,15 @@ PEAR_AUTOINSTALL= yes LATEST_LINK= pear-PHPUnit3 -OPTIONS= PEAR_IMAGE_GRAPHVIZ "PEAR::Image::GraphViz support" off \ - PEAR_LOG "PEAR::Log support" off \ - JSON "Enable JSON support" off \ - PDO "Enable PDO support" off \ - PDO_SQLITE "Enable PDO_SQLite support" off \ - TOKENIZER "Enable Tokenizer support" off \ - PDO_MYSQL "Enable PDO_MySQL support" off \ - XDEBUG "Enable Xdebug support" off +OPTIONS_DEFINE= PEAR_IMAGE_GRAPHVIZ PEAR_LOG JSON PDO PDO_SQLITE TOKENIZER PDO_MYSQL XDEBUG +PEAR_IMAGE_GRAPHVIZ_DESC= PEAR::Image::GraphViz support +PEAR_LOG_DESC= PEAR::Log support +JSON_DESC= Enable JSON support +PDO_DESC= Enable PDO support +PDO_SQLITE_DESC= Enable PDO_SQLite support +TOKENIZER_DESC= Enable Tokenizer support +PDO_MYSQL_DESC= Enable PDO_MySQL support +XDEBUG_DESC= Enable Xdebug support DEFAULT_PHP_VER=5 IGNORE_WITH_PHP=4 @@ -41,35 +42,36 @@ USE_PHP= dom spl pcre .include <bsd.port.pre.mk> -.if defined(WITH_PEAR_LOG) +.if ${PORT_OPTIONS:MPEAR_LOG} RUN_DEPENDS+= ${PEARDIR}/Log/null.php:${PORTSDIR}/sysutils/pear-Log .endif - -.if defined(WITH_PEAR_IMAGE_GRAPHVIZ) + +.if ${PORT_OPTIONS:MIMAGE_GRAPHVIZ} +RUN_DEPENDS+= ${PEARDIR}/Log/null.php:${PORTSDIR}/sysutils/pear-Log RUN_DEPENDS+= ${PEARDIR}/Image/GraphViz.php:${PORTSDIR}/graphics/pear-Image_GraphViz .endif -.if defined(WITH_JSON) +.if ${PORT_OPTIONS:MJSON} USE_PHP+= json .endif -.if defined(WITH_PDO) +.if ${PORT_OPTIONS:MPDO} USE_PHP+= pdo .endif -.if defined(WITH_PDO_MYSQL) +.if ${PORT_OPTIONS:MPDO_MYSQL} USE_PHP+= pdo_mysql .endif -.if defined(WITH_PDO_SQLITE) +.if ${PORT_OPTIONS:MPDO_SQLITE} USE_PHP+= pdo_sqlite .endif -.if defined(WITH_TOKENIZER) +.if ${PORT_OPTIONS:MTOKENIZER} USE_PHP+= tokenizer .endif -.if defined(WITH_XDEBUG) +.if ${PORT_OPTIONS:MXDEBUG} RUN_DEPENDS+= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/xdebug.so:${PORTSDIR}/devel/php-xdebug .endif |