aboutsummaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2016-06-28 14:00:45 +0000
committerMathieu Arnold <mat@FreeBSD.org>2016-06-28 14:00:45 +0000
commitdca255c3cec21c0c66003eb626763c7fdc2cb59a (patch)
treee6eac391e081f99a997be8b0d8e036d22d5fe2a9 /devel
parent4973e5b396de5fdc84495adcdcb1f40854c8ebcd (diff)
downloadports-dca255c3cec21c0c66003eb626763c7fdc2cb59a.tar.gz
ports-dca255c3cec21c0c66003eb626763c7fdc2cb59a.zip
Notes
Diffstat (limited to 'devel')
-rw-r--r--devel/ioncube/Makefile2
-rw-r--r--devel/pear-Horde_Nls/Makefile2
-rw-r--r--devel/pear-VersionControl_SVN/Makefile1
-rw-r--r--devel/pear/Makefile6
-rw-r--r--devel/pecl-APCu/Makefile7
-rw-r--r--devel/pecl-automap/Makefile7
-rw-r--r--devel/pecl-bbcode/Makefile5
-rw-r--r--devel/pecl-bcompiler/Makefile5
-rw-r--r--devel/pecl-dio/Makefile3
-rw-r--r--devel/pecl-eio/Makefile3
-rw-r--r--devel/pecl-ev/Makefile6
-rw-r--r--devel/pecl-event/Makefile6
-rw-r--r--devel/pecl-expect/Makefile4
-rw-r--r--devel/pecl-gearman/Makefile5
-rw-r--r--devel/pecl-hidef/Makefile4
-rw-r--r--devel/pecl-hrtime/Makefile4
-rw-r--r--devel/pecl-htscanner/Makefile4
-rw-r--r--devel/pecl-inotify/Makefile5
-rw-r--r--devel/pecl-intl/Makefile4
-rw-r--r--devel/pecl-jsmin/Makefile4
-rw-r--r--devel/pecl-json_post/Makefile6
-rw-r--r--devel/pecl-jsonc/Makefile4
-rw-r--r--devel/pecl-jsond/Makefile4
-rw-r--r--devel/pecl-jsonnet/Makefile6
-rw-r--r--devel/pecl-judy/Makefile3
-rw-r--r--devel/pecl-libevent/Makefile7
-rw-r--r--devel/pecl-mcve/Makefile4
-rw-r--r--devel/pecl-memoize/Makefile4
-rw-r--r--devel/pecl-msgpack/Makefile6
-rw-r--r--devel/pecl-ncurses/Makefile6
-rw-r--r--devel/pecl-newt/Makefile7
-rw-r--r--devel/pecl-operator/Makefile5
-rw-r--r--devel/pecl-params/Makefile5
-rw-r--r--devel/pecl-parsekit/Makefile4
-rw-r--r--devel/pecl-propro/Makefile4
-rw-r--r--devel/pecl-propro2/Makefile4
-rw-r--r--devel/pecl-pthreads/Makefile7
-rw-r--r--devel/pecl-qb/Makefile4
-rw-r--r--devel/pecl-raphf/Makefile4
-rw-r--r--devel/pecl-raphf2/Makefile4
-rw-r--r--devel/pecl-runkit/Makefile5
-rw-r--r--devel/pecl-scream/Makefile3
-rw-r--r--devel/pecl-shape/Makefile5
-rw-r--r--devel/pecl-spl_types/Makefile4
-rw-r--r--devel/pecl-spread/Makefile4
-rw-r--r--devel/pecl-statgrab/Makefile3
-rw-r--r--devel/pecl-strict/Makefile4
-rw-r--r--devel/pecl-svn/Makefile4
-rw-r--r--devel/pecl-swoole/Makefile4
-rw-r--r--devel/pecl-sync/Makefile3
-rw-r--r--devel/pecl-test_helpers/Makefile7
-rw-r--r--devel/pecl-trace/Makefile7
-rw-r--r--devel/pecl-uopz/Makefile4
-rw-r--r--devel/pecl-uploadprogress/Makefile4
-rw-r--r--devel/pecl-uri_template/Makefile3
-rw-r--r--devel/pecl-uuid/Makefile4
-rw-r--r--devel/pecl-vld/Makefile4
-rw-r--r--devel/pecl-weakref/Makefile5
-rw-r--r--devel/pecl-xhprof/Makefile4
-rw-r--r--devel/pecl-yac/Makefile4
-rw-r--r--devel/pecl-zookeeper/Makefile6
-rw-r--r--devel/php-jq/Makefile5
-rw-r--r--devel/php-maxminddb/Makefile6
-rw-r--r--devel/php-memoize/Makefile27
-rw-r--r--devel/php-scalar_objects/Makefile5
-rw-r--r--devel/php-uprofiler/Makefile7
-rw-r--r--devel/php-xdebug/Makefile5
-rw-r--r--devel/php5-blitz-devel/Makefile4
-rw-r--r--devel/php5-blitz/Makefile4
-rw-r--r--devel/php5-dav/Makefile5
-rw-r--r--devel/php5-geshi/Makefile2
-rw-r--r--devel/php5-ice/Makefile3
-rw-r--r--devel/php5-msgpack/Makefile7
-rw-r--r--devel/php5-pinba/Makefile4
-rw-r--r--devel/php5-thrift/Makefile5
75 files changed, 92 insertions, 273 deletions
diff --git a/devel/ioncube/Makefile b/devel/ioncube/Makefile
index 487dac91e574..175e4b2bf2ac 100644
--- a/devel/ioncube/Makefile
+++ b/devel/ioncube/Makefile
@@ -15,7 +15,7 @@ COMMENT= Loader for ionCube-encoded PHP files
ONLY_FOR_ARCHS= i386 amd64
NO_BUILD= yes
-USE_PHP= yes
+USES= php
SUB_FILES= pkg-message
WRKSRC= ${WRKDIR}/${PORTNAME}
diff --git a/devel/pear-Horde_Nls/Makefile b/devel/pear-Horde_Nls/Makefile
index 99ae26f86b83..e24d5bb54bbb 100644
--- a/devel/pear-Horde_Nls/Makefile
+++ b/devel/pear-Horde_Nls/Makefile
@@ -17,7 +17,7 @@ USE_HORDE_RUN= Horde_Translation \
OPTIONS_DEFINE= GEOIP
GEOIP_DESC= Depend on geoip PHP extension
-GEOIP_USE= PHP=yes
+GEOIP_USES= php
GEOIP_RUN_DEPENDS= ${PHPBASE}/lib/php/${PHP_EXT_DIR}/geoip.so:net/pecl-geoip
.include <bsd.port.mk>
diff --git a/devel/pear-VersionControl_SVN/Makefile b/devel/pear-VersionControl_SVN/Makefile
index 5b7fda88e348..41df934ac765 100644
--- a/devel/pear-VersionControl_SVN/Makefile
+++ b/devel/pear-VersionControl_SVN/Makefile
@@ -13,7 +13,6 @@ LICENSE= BSD2CLAUSE
BUILD_DEPENDS= pear-XML_Parser>=1.3.4:devel/pear-XML_Parser
RUN_DEPENDS= pear-XML_Parser>=1.3.4:devel/pear-XML_Parser
-USE_PHP= yes
USES= pear
.include <bsd.port.mk>
diff --git a/devel/pear/Makefile b/devel/pear/Makefile
index 62cd1c990697..9e3b8e17a0ed 100644
--- a/devel/pear/Makefile
+++ b/devel/pear/Makefile
@@ -13,14 +13,12 @@ LICENSE= PHP301
BROKEN_powerpc64= Does not build
-USES= cpe tar:bzip2
+USES= cpe php:cli tar:bzip2
CPE_VENDOR= php
NO_BUILD= yes
NO_ARCH= yes
-WANT_PHP_CLI= yes
-USE_PHP= pcre xml zlib
-USE_PHP_BUILD= yes
+USE_PHP= pcre:build xml:build zlib:build
PEARDIR= ${PREFIX}/share/pear
diff --git a/devel/pecl-APCu/Makefile b/devel/pecl-APCu/Makefile
index 515c2cb207c8..6e42c3d093b4 100644
--- a/devel/pecl-APCu/Makefile
+++ b/devel/pecl-APCu/Makefile
@@ -17,13 +17,8 @@ LICENSE= PHP301
CONFLICTS= pecl-APC-[0-9]*
CFLAGS+= -I${LOCALBASE}/include
-USE_PHP= yes
-USE_PHP_BUILD= yes
-USE_PHPIZE= yes
-USE_PHPEXT= yes
IGNORE_WITH_PHP= 70
-USES= tar:tgz
+USES= php:ext tar:tgz
PHP_MODNAME= ${PORTNAME:tl}
-WRKSRC= ${WRKDIR}/${PORTNAME:tl}-${PORTVERSION}
.include <bsd.port.mk>
diff --git a/devel/pecl-automap/Makefile b/devel/pecl-automap/Makefile
index a6f08142273c..7155142887d6 100644
--- a/devel/pecl-automap/Makefile
+++ b/devel/pecl-automap/Makefile
@@ -13,11 +13,8 @@ COMMENT= PECL extension offering a fast map-based autoloader
LICENSE= PHP301
-USES= tar:tgz
-USE_PHP= spl
-USE_PHP_BUILD= yes
-USE_PHPEXT= yes
-PHP_MODNAME= automap
+USES= php:ext tar:tgz
+USE_PHP= spl:build
IGNORE_WITH_PHP= 56 70
CONFIGURE_ARGS= --enable-automap
diff --git a/devel/pecl-bbcode/Makefile b/devel/pecl-bbcode/Makefile
index 67e8c936fb67..fd83f92df9f5 100644
--- a/devel/pecl-bbcode/Makefile
+++ b/devel/pecl-bbcode/Makefile
@@ -14,10 +14,7 @@ COMMENT= PECL extension which allows quick and efficient BBCode Parsing
LICENSE= PHP301 BSD3CLAUSE
LICENSE_COMB= multi
-USES= tar:tgz
-USE_PHP= yes
-USE_PHP_BUILD= yes
-USE_PHPEXT= yes
+USES= php:ext tar:tgz
IGNORE_WITH_PHP= 56 70
CONFIGURE_ARGS= --enable-bbcode
diff --git a/devel/pecl-bcompiler/Makefile b/devel/pecl-bcompiler/Makefile
index 2d3b29490c89..f8bfc771bb39 100644
--- a/devel/pecl-bcompiler/Makefile
+++ b/devel/pecl-bcompiler/Makefile
@@ -13,9 +13,8 @@ COMMENT= Bytecode compiler extension
LICENSE= PHP202
-USES= tar:tgz
-USE_PHP= bz2
-USE_PHPEXT= yes
+USES= php:ext tar:tgz
+USE_PHP= bz2:build
IGNORE_WITH_PHP=56 70
CONFIGURE_ARGS= --enable-bcompiler
diff --git a/devel/pecl-dio/Makefile b/devel/pecl-dio/Makefile
index eb53d25e9a75..55dad2ca644a 100644
--- a/devel/pecl-dio/Makefile
+++ b/devel/pecl-dio/Makefile
@@ -13,8 +13,7 @@ COMMENT= PECL extension that provides direct access to low level IO
LICENSE= PHP30
-USE_PHP= yes
-USE_PHPEXT= yes
+USES= php:ext
IGNORE_WITH_PHP= 70
.include <bsd.port.mk>
diff --git a/devel/pecl-eio/Makefile b/devel/pecl-eio/Makefile
index 9524ed531ae2..804633f5074d 100644
--- a/devel/pecl-eio/Makefile
+++ b/devel/pecl-eio/Makefile
@@ -15,8 +15,7 @@ COMMENT= Provides interface to the libeio library
LICENSE= PHP301
CONFIGURE_ARGS= --enable-eio
-USE_PHP= yes
-USE_PHPEXT= yes
+USES= php:ext
IGNORE_WITH_PHP= 70
.include <bsd.port.mk>
diff --git a/devel/pecl-ev/Makefile b/devel/pecl-ev/Makefile
index 8bf7b3e9f048..edee68255034 100644
--- a/devel/pecl-ev/Makefile
+++ b/devel/pecl-ev/Makefile
@@ -15,11 +15,7 @@ COMMENT= Libev extension for PHP
LICENSE= PHP301
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= tar:tgz
-USE_PHP= yes
-USE_PHP_BUILD= yes
-USE_PHPIZE= yes
-USE_PHPEXT= yes
+USES= php:ext tar:tgz
IGNORE_WITH_PHP= 70
.include <bsd.port.mk>
diff --git a/devel/pecl-event/Makefile b/devel/pecl-event/Makefile
index aa72192f183b..e97ae45bec3e 100644
--- a/devel/pecl-event/Makefile
+++ b/devel/pecl-event/Makefile
@@ -18,11 +18,9 @@ LIB_DEPENDS= libevent.so:devel/libevent2
BROKEN_powerpc64= does not build
-USES= tar:tgz
+USES= php:ext tar:tgz
USE_OPENSSL= yes
CONFIGURE_ARGS= --with-openssl-dir=${OPENSSLBASE}
-USE_PHP= sockets
-USE_PHP_BUILD= yes
-USE_PHPEXT= yes
+USE_PHP= sockets:build
.include <bsd.port.mk>
diff --git a/devel/pecl-expect/Makefile b/devel/pecl-expect/Makefile
index c6ac27f8e58c..53a53f5567f9 100644
--- a/devel/pecl-expect/Makefile
+++ b/devel/pecl-expect/Makefile
@@ -16,9 +16,7 @@ LICENSE= PHP301
LIB_DEPENDS= libexpect.so:lang/expect
-USES= tar:tgz tcl:86
-USE_PHP= yes
-USE_PHPEXT= yes
+USES= php:ext tar:tgz tcl:86
IGNORE_WITH_PHP= 70
CFLAGS+= -I${TCL_INCLUDEDIR}
diff --git a/devel/pecl-gearman/Makefile b/devel/pecl-gearman/Makefile
index ec6d8993c002..63312f89f6ad 100644
--- a/devel/pecl-gearman/Makefile
+++ b/devel/pecl-gearman/Makefile
@@ -15,11 +15,8 @@ LICENSE= PHP301
LIB_DEPENDS= libgearman.so:devel/gearmand
-USES= tar:tgz
+USES= php:ext tar:tgz
CONFIGURE_ARGS= --with-gearman
-PHP_MODNAME= ${PORTNAME}
-USE_PHP= yes
-USE_PHPEXT= yes
IGNORE_WITH_PHP= 70
.include <bsd.port.mk>
diff --git a/devel/pecl-hidef/Makefile b/devel/pecl-hidef/Makefile
index eeaf51d24a99..22fc32b57fde 100644
--- a/devel/pecl-hidef/Makefile
+++ b/devel/pecl-hidef/Makefile
@@ -13,9 +13,7 @@ COMMENT= Constants for real
LICENSE= PHP301
-USES= tar:tgz
-USE_PHP= yes
-USE_PHPEXT= yes
+USES= php:ext tar:tgz
IGNORE_WITH_PHP= 56 70
CONFIGURE_ARGS= --enable-hidef
diff --git a/devel/pecl-hrtime/Makefile b/devel/pecl-hrtime/Makefile
index fe7f913ea685..6bc030f0475e 100644
--- a/devel/pecl-hrtime/Makefile
+++ b/devel/pecl-hrtime/Makefile
@@ -13,8 +13,6 @@ COMMENT= High resolution timing for PHP
LICENSE= BSD2CLAUSE
-USES= tar:tgz
-USE_PHP= yes
-USE_PHPEXT= yes
+USES= php:ext tar:tgz
.include <bsd.port.mk>
diff --git a/devel/pecl-htscanner/Makefile b/devel/pecl-htscanner/Makefile
index 0074d0ab9520..435348309078 100644
--- a/devel/pecl-htscanner/Makefile
+++ b/devel/pecl-htscanner/Makefile
@@ -13,9 +13,7 @@ COMMENT= Support htaccess for PHP
LICENSE= PHP30
-USES= tar:tgz
-USE_PHP= yes
-USE_PHPEXT= yes
+USES= php:ext tar:tgz
IGNORE_WITH_PHP= 70
CONFIGURE_ARGS= --enable-htscanner
diff --git a/devel/pecl-inotify/Makefile b/devel/pecl-inotify/Makefile
index 7d064348f2f3..d254daae417c 100644
--- a/devel/pecl-inotify/Makefile
+++ b/devel/pecl-inotify/Makefile
@@ -17,10 +17,7 @@ LICENSE= PHP301
LIB_DEPENDS= libinotify.so:devel/libinotify
-USE_PHP= yes
-USE_PHP_BUILD= yes
-USE_PHPIZE= yes
-USE_PHPEXT= yes
+USES= php:ext
IGNORE_WITH_PHP= 70
.include <bsd.port.mk>
diff --git a/devel/pecl-intl/Makefile b/devel/pecl-intl/Makefile
index c31809b2c00d..927211e91d4c 100644
--- a/devel/pecl-intl/Makefile
+++ b/devel/pecl-intl/Makefile
@@ -16,9 +16,7 @@ LICENSE= PHP301
LIB_DEPENDS= libicui18n.so:devel/icu
-USE_PHP= yes
-USE_PHPEXT= yes
-USES= tar:tgz
+USES= php:ext tar:tgz
IGNORE_WITH_PHP= 70
.include <bsd.port.mk>
diff --git a/devel/pecl-jsmin/Makefile b/devel/pecl-jsmin/Makefile
index df4c0f697661..cee8df6f94d8 100644
--- a/devel/pecl-jsmin/Makefile
+++ b/devel/pecl-jsmin/Makefile
@@ -13,9 +13,7 @@ COMMENT= PHP extension for minifying JavaScript
LICENSE= PHP301
-USE_PHP= yes
-USE_PHPEXT= yes
-USES= tar:tgz
+USES= php:ext tar:tgz
IGNORE_WITH_PHP= 70
.include <bsd.port.mk>
diff --git a/devel/pecl-json_post/Makefile b/devel/pecl-json_post/Makefile
index 36cf0799c9b6..c2bfe63faabe 100644
--- a/devel/pecl-json_post/Makefile
+++ b/devel/pecl-json_post/Makefile
@@ -16,9 +16,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
BROKEN_powerpc64= Does not build
-USES= tar:tgz
-USE_PHP= json
-USE_PHP_BUILD= yes
-USE_PHPEXT= yes
+USES= php:ext tar:tgz
+USE_PHP= json:build
.include <bsd.port.mk>
diff --git a/devel/pecl-jsonc/Makefile b/devel/pecl-jsonc/Makefile
index 5255ad312177..b3c1cb45b24d 100644
--- a/devel/pecl-jsonc/Makefile
+++ b/devel/pecl-jsonc/Makefile
@@ -15,11 +15,9 @@ LICENSE= PHP301
LIB_DEPENDS= libjson-c.so:devel/json-c
-USES= pkgconfig tar:tgz
+USES= php:ext pkgconfig tar:tgz
CONFIGURE_ARGS= --with-jsonc --with-libjson
MAKE_ARGS= EXTRA_CFLAGS=-DCOMPILE_DL_JSON=1
-USE_PHP= yes
-USE_PHPEXT= yes
IGNORE_WITH_PHP=70
CONFLICTS_INSTALL= php54-json-5* php55-json-5* php5-json-5*
diff --git a/devel/pecl-jsond/Makefile b/devel/pecl-jsond/Makefile
index 9d6fb0b1821f..435b3a4263f2 100644
--- a/devel/pecl-jsond/Makefile
+++ b/devel/pecl-jsond/Makefile
@@ -13,9 +13,7 @@ COMMENT= JavaScript Object Notation in PHP
LICENSE= PHP301
-USES= tar:tgz
-USE_PHP= yes
-USE_PHPEXT= yes
+USES= php:ext tar:tgz
IGNORE_WITH_PHP= 70
.include <bsd.port.mk>
diff --git a/devel/pecl-jsonnet/Makefile b/devel/pecl-jsonnet/Makefile
index ab51552fccb5..fb7967f839d5 100644
--- a/devel/pecl-jsonnet/Makefile
+++ b/devel/pecl-jsonnet/Makefile
@@ -19,10 +19,8 @@ BROKEN_powerpc64= Does not build
LIB_DEPENDS= libjsonnet.so:devel/jsonnet
-USES= tar:tgz
-USE_PHP= json
-USE_PHPEXT= yes
-USE_PHP_BUILD= yes
+USES= php:ext tar:tgz
+USE_PHP= json:build
CONFIGURE_ARGS= --with-jsonnet=${LOCALBASE}
IGNORE_WITH_PHP= 70
diff --git a/devel/pecl-judy/Makefile b/devel/pecl-judy/Makefile
index 055a55a29195..3ee74502c9dd 100644
--- a/devel/pecl-judy/Makefile
+++ b/devel/pecl-judy/Makefile
@@ -19,8 +19,7 @@ RUN_DEPENDS= Judy>=0:devel/judy
BUILD_DEPENDS= Judy>=0:devel/judy
CONFIGURE_ARGS= --with-judy=${LOCALBASE}
-USE_PHP= yes
-USE_PHPEXT= yes
+USES= php:ext
IGNORE_WITH_PHP= 70
.include <bsd.port.mk>
diff --git a/devel/pecl-libevent/Makefile b/devel/pecl-libevent/Makefile
index aa6f989d75ae..adacde3ab84d 100644
--- a/devel/pecl-libevent/Makefile
+++ b/devel/pecl-libevent/Makefile
@@ -15,13 +15,8 @@ LICENSE= PHP301
LIB_DEPENDS= libevent.so:devel/libevent2
-USES= tar:tgz
+USES= php:ext tar:tgz
-USE_PHP= yes
-USE_PHP_BUILD= yes
-USE_PHPIZE= yes
-USE_PHPEXT= yes
-PHP_MODNAME= libevent
IGNORE_WITH_PHP= 70
.include <bsd.port.mk>
diff --git a/devel/pecl-mcve/Makefile b/devel/pecl-mcve/Makefile
index 4e2f472d7dde..d1ec18e52093 100644
--- a/devel/pecl-mcve/Makefile
+++ b/devel/pecl-mcve/Makefile
@@ -16,10 +16,8 @@ LICENSE= PHP30
LIB_DEPENDS= libmonetra.so:devel/libmonetra
-USES= tar:tgz
+USES= php:ext tar:tgz
USE_OPENSSL= yes
-USE_PHP= yes
-USE_PHPEXT= yes
IGNORE_WITH_PHP= 56 70
CONFIGURE_ARGS+= --with-mcve="${LOCALBASE}"
diff --git a/devel/pecl-memoize/Makefile b/devel/pecl-memoize/Makefile
index d8af275c5d81..a36a4b61a310 100644
--- a/devel/pecl-memoize/Makefile
+++ b/devel/pecl-memoize/Makefile
@@ -14,9 +14,7 @@ COMMENT= PHP extension which transparently caches PHP functions
LICENSE= PHP301
-USES= tar:tgz
-USE_PHP= yes
-USE_PHPEXT= yes
+USES= php:ext tar:tgz
CONFIGURE_ARGS= --enable-memoize
IGNORE_WITH_PHP= 70
diff --git a/devel/pecl-msgpack/Makefile b/devel/pecl-msgpack/Makefile
index e825db526658..d36c5cf9b332 100644
--- a/devel/pecl-msgpack/Makefile
+++ b/devel/pecl-msgpack/Makefile
@@ -15,10 +15,8 @@ LICENSE= BSD3CLAUSE
BROKEN_powerpc64= Does not build
-USES= tar:tgz
-USE_PHP= session
-USE_PHPEXT= yes
-USE_PHP_BUILD= yes
+USES= php:ext tar:tgz
+USE_PHP= session:build
IGNORE_WITH_PHP= 70
.include <bsd.port.mk>
diff --git a/devel/pecl-ncurses/Makefile b/devel/pecl-ncurses/Makefile
index 7b0a83b5e4ac..cfa0ce8f477c 100644
--- a/devel/pecl-ncurses/Makefile
+++ b/devel/pecl-ncurses/Makefile
@@ -14,11 +14,7 @@ COMMENT= PECL extension for ncurses
LICENSE= PHP301
-USES= ncurses
-USE_PHP= yes
-USE_PHP_BUILD= yes
-USE_PHPEXT= yes
-WANT_PHP_CLI= yes
+USES= php:ext,cli ncurses
IGNORE_WITH_PHP=70
.include <bsd.port.mk>
diff --git a/devel/pecl-newt/Makefile b/devel/pecl-newt/Makefile
index e378caa3d424..2e79704bd5fa 100644
--- a/devel/pecl-newt/Makefile
+++ b/devel/pecl-newt/Makefile
@@ -13,12 +13,7 @@ LICENSE= PHP301
LIB_DEPENDS= libnewt.so:devel/newt
-USES= tar:tgz
-USE_PHP= yes
-USE_PHPIZE= yes
-USE_PHP_BUILD= yes
-USE_PHPEXT= yes
-PHP_MODNAME= newt
+USES= php:ext tar:tgz
IGNORE_WITH_PHP= 70
post-patch:
diff --git a/devel/pecl-operator/Makefile b/devel/pecl-operator/Makefile
index 091d3e449dd6..b4518ff32aad 100644
--- a/devel/pecl-operator/Makefile
+++ b/devel/pecl-operator/Makefile
@@ -13,10 +13,7 @@ COMMENT= PHP extension that provides operator overloading for PHP objects
LICENSE= PHP30
-USES= tar:tgz
-USE_PHP= yes
-USE_PHPEXT= yes
-PHP_MODNAME= ${PORTNAME}
+USES= php:ext tar:tgz
IGNORE_WITH_PHP= 56 70
post-extract::
diff --git a/devel/pecl-params/Makefile b/devel/pecl-params/Makefile
index 349d38549bc0..b3ce71422b85 100644
--- a/devel/pecl-params/Makefile
+++ b/devel/pecl-params/Makefile
@@ -11,10 +11,7 @@ DIST_SUBDIR= PECL
MAINTAINER= miwi@FreeBSD.org
COMMENT= PECL extension for a userspace equivalent of zend_parse_parameters()
-USES= tar:tgz
-USE_PHP= yes
-USE_PHP_BUILD= yes
-USE_PHPEXT= yes
+USES= php:ext tar:tgz
IGNORE_WITH_PHP= 70
CONFIGURE_ARGS= --enable-params
diff --git a/devel/pecl-parsekit/Makefile b/devel/pecl-parsekit/Makefile
index a8da99f5cc59..bc1f9f5e744e 100644
--- a/devel/pecl-parsekit/Makefile
+++ b/devel/pecl-parsekit/Makefile
@@ -14,9 +14,7 @@ COMMENT= Extension for opcodes runtime analysis
LICENSE= PHP301
-USE_PHP= yes
-USE_PHP_BUILD= yes
-USE_PHPEXT= yes
+USES= php:ext
IGNORE_WITH_PHP= 56 70
CONFIGURE_ARGS= --enable-parsekit
diff --git a/devel/pecl-propro/Makefile b/devel/pecl-propro/Makefile
index 94f7f7c482d3..e2de5b1fff29 100644
--- a/devel/pecl-propro/Makefile
+++ b/devel/pecl-propro/Makefile
@@ -16,9 +16,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
PORTSCOUT= limit:^1.*
-USES= gmake tar:tgz
-USE_PHP= yes
-USE_PHPEXT= yes
+USES= gmake php:ext tar:tgz
IGNORE_WITH_PHP= 70
.include <bsd.port.mk>
diff --git a/devel/pecl-propro2/Makefile b/devel/pecl-propro2/Makefile
index 1519fd654822..0b361d07903a 100644
--- a/devel/pecl-propro2/Makefile
+++ b/devel/pecl-propro2/Makefile
@@ -16,9 +16,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
PORTSCOUT= limit:^2.*
-USES= gmake tar:tgz
-USE_PHP= yes
-USE_PHPEXT= yes
+USES= gmake php:ext tar:tgz
IGNORE_WITH_PHP= 55 56
CONFLICTS= pecl-propro-1*
diff --git a/devel/pecl-pthreads/Makefile b/devel/pecl-pthreads/Makefile
index ea306f462b14..4ad8dcb1e6c9 100644
--- a/devel/pecl-pthreads/Makefile
+++ b/devel/pecl-pthreads/Makefile
@@ -15,12 +15,7 @@ LICENSE= PHP301
CFLAGS+= -I${LOCALBASE}/include
-USE_PHP= yes
-USE_PHP_BUILD= yes
-USE_PHPIZE= yes
-USE_PHPEXT= yes
-PHP_MODNAME= pthreads
-USES= tar:tgz
+USES= php:ext tar:tgz
.include <bsd.port.options.mk>
diff --git a/devel/pecl-qb/Makefile b/devel/pecl-qb/Makefile
index a12032c53b8d..9b591c782a4b 100644
--- a/devel/pecl-qb/Makefile
+++ b/devel/pecl-qb/Makefile
@@ -14,9 +14,7 @@ COMMENT= PHP Accelerator designed mainly for graphic work
LICENSE= PHP301
-USE_PHP= yes
-USE_PHPEXT= yes
-USES= tar:tgz
+USES= php:ext tar:tgz
USE_GCC= any
IGNORE_WITH_PHP= 70
diff --git a/devel/pecl-raphf/Makefile b/devel/pecl-raphf/Makefile
index a8c53e2de3e1..8ef2b62c625a 100644
--- a/devel/pecl-raphf/Makefile
+++ b/devel/pecl-raphf/Makefile
@@ -16,9 +16,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
PORTSCOUT= limit:^1.*
-USES= gmake tar:tgz
-USE_PHP= yes
-USE_PHPEXT= yes
+USES= gmake php:ext tar:tgz
IGNORE_WITH_PHP= 70
.include <bsd.port.mk>
diff --git a/devel/pecl-raphf2/Makefile b/devel/pecl-raphf2/Makefile
index c684c37055bc..74c077982cf0 100644
--- a/devel/pecl-raphf2/Makefile
+++ b/devel/pecl-raphf2/Makefile
@@ -16,9 +16,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
PORTSCOUT= limit:^2.*
-USES= gmake tar:tgz
-USE_PHP= yes
-USE_PHPEXT= yes
+USES= gmake php:ext tar:tgz
IGNORE_WITH_PHP= 55 56
CONFLICTS= pecl-raphf-1*
diff --git a/devel/pecl-runkit/Makefile b/devel/pecl-runkit/Makefile
index ab2ce81a258e..2f1e2ad0a890 100644
--- a/devel/pecl-runkit/Makefile
+++ b/devel/pecl-runkit/Makefile
@@ -13,10 +13,7 @@ COMMENT= PECL extension to modify constants, user-defined functions, and classes
LICENSE= PHP30
-USES= tar:tgz
-USE_PHP= yes
-USE_PHPEXT= yes
-PHP_MODNAME= runkit
+USES= php:ext tar:tgz
IGNORE_WITH_PHP= 70
CONFIGURE_ARGS= --enable-runkit=classkit
diff --git a/devel/pecl-scream/Makefile b/devel/pecl-scream/Makefile
index 84bb9511ddc4..df839a81c3ee 100644
--- a/devel/pecl-scream/Makefile
+++ b/devel/pecl-scream/Makefile
@@ -14,8 +14,7 @@ COMMENT= Break the silence operator
LICENSE= PHP301
-USE_PHP= yes
-USE_PHPEXT= yes
+USES= php:ext
IGNORE_WITH_PHP= 70
test: build
diff --git a/devel/pecl-shape/Makefile b/devel/pecl-shape/Makefile
index 56978e7251f1..8e2b88a3e882 100644
--- a/devel/pecl-shape/Makefile
+++ b/devel/pecl-shape/Makefile
@@ -16,10 +16,7 @@ LICENSE= PHP30
LIB_DEPENDS= libshp.so:devel/shapelib
-USES= tar:tgz
-USE_PHP= yes
-USE_PHP_BUILD= yes
-USE_PHPEXT= yes
+USES= php:ext tar:tgz
PHP_MODNAME= shp
IGNORE_WITH_PHP= 56 70
diff --git a/devel/pecl-spl_types/Makefile b/devel/pecl-spl_types/Makefile
index 00e414e3b3fc..4cdae4123272 100644
--- a/devel/pecl-spl_types/Makefile
+++ b/devel/pecl-spl_types/Makefile
@@ -19,9 +19,7 @@ RE2C_DESC= Compile regular expression 2 C
RE2C_RUN_DEPENDS= re2c:devel/re2c
USE_PHP= spl
-#USE_PHP_BUILD= yes
-USE_PHPEXT= yes
-USES= tar:tgz
+USES= php:ext tar:tgz
IGNORE_WITH_PHP= 70
CONFIGURE_ARGS= --enable-spl-types
diff --git a/devel/pecl-spread/Makefile b/devel/pecl-spread/Makefile
index a087b3f48590..ddf31c82e3a0 100644
--- a/devel/pecl-spread/Makefile
+++ b/devel/pecl-spread/Makefile
@@ -17,9 +17,7 @@ LICENSE= PHP301
BUILD_DEPENDS= ${LOCALBASE}/include/sp.h:net/spread4
RUN_DEPENDS= ${LOCALBASE}/include/sp.h:net/spread4
-USES= tar:tgz
-USE_PHP= yes
-USE_PHPEXT= yes
+USES= php:ext tar:tgz
IGNORE_WITH_PHP= 56 70
CONFIGURE_ARGS+= --with-spread=${LOCALBASE}
diff --git a/devel/pecl-statgrab/Makefile b/devel/pecl-statgrab/Makefile
index 7da435eb686a..68439ff3ef86 100644
--- a/devel/pecl-statgrab/Makefile
+++ b/devel/pecl-statgrab/Makefile
@@ -16,8 +16,7 @@ COMMENT= PECL extension to retrieve information from libstatgrab
LIB_DEPENDS= libstatgrab0.so:devel/libstatgrab0
-USE_PHP= yes
-USE_PHPEXT= yes
+USES= php:ext
IGNORE_WITH_PHP= 70
CONFIGURE_ARGS= --with-statgrab=${LOCALBASE}
diff --git a/devel/pecl-strict/Makefile b/devel/pecl-strict/Makefile
index a0938230730a..ecd1e07c4762 100644
--- a/devel/pecl-strict/Makefile
+++ b/devel/pecl-strict/Makefile
@@ -13,9 +13,7 @@ COMMENT= Strict scalar parameter type hint support for 5.4+
LICENSE= PHP301
-USES= tar:tgz
-USE_PHP= yes
-USE_PHPEXT= yes
+USES= php:ext tar:tgz
IGNORE_WITH_PHP= 70
.include <bsd.port.mk>
diff --git a/devel/pecl-svn/Makefile b/devel/pecl-svn/Makefile
index 078228229837..76d331a4ed14 100644
--- a/devel/pecl-svn/Makefile
+++ b/devel/pecl-svn/Makefile
@@ -16,9 +16,7 @@ LICENSE= PHP301
LIB_DEPENDS= libsvn_client-1.so:devel/subversion18
-USES= tar:tgz
-USE_PHP= yes
-USE_PHPEXT= yes
+USES= php:ext tar:tgz
IGNORE_WITH_PHP= 70
.include <bsd.port.mk>
diff --git a/devel/pecl-swoole/Makefile b/devel/pecl-swoole/Makefile
index f873f499e817..d341d9658c52 100644
--- a/devel/pecl-swoole/Makefile
+++ b/devel/pecl-swoole/Makefile
@@ -14,10 +14,8 @@ COMMENT= Asynchronous & concurrent & distributed networking framework
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= tar:tgz
+USES= php:ext tar:tgz
CFLAGS+= -I${LOCALBASE}/include
-PHP_MODNAME= ${PORTNAME}
USE_PHP= pcre
-USE_PHPEXT= yes
.include <bsd.port.mk>
diff --git a/devel/pecl-sync/Makefile b/devel/pecl-sync/Makefile
index 59775a9b0c63..dcb846489810 100644
--- a/devel/pecl-sync/Makefile
+++ b/devel/pecl-sync/Makefile
@@ -14,8 +14,7 @@ COMMENT= Named and unnamed synchronization objects in PHP
LICENSE= MIT
-USE_PHP= yes
-USE_PHPEXT= yes
+USES= php:ext
IGNORE_WITH_PHP= 70
.include <bsd.port.mk>
diff --git a/devel/pecl-test_helpers/Makefile b/devel/pecl-test_helpers/Makefile
index 2a27e5bdb86f..d5c8b09c2898 100644
--- a/devel/pecl-test_helpers/Makefile
+++ b/devel/pecl-test_helpers/Makefile
@@ -14,13 +14,8 @@ COMMENT= Extension to ease testing of PHP code
LICENSE= BSD3CLAUSE
CONFIGURE_ARGS= --enable-test-helpers
-USE_PHP= yes
-USE_PHPEXT= yes
-USE_PHPIZE= yes
-USES= tar:tgz
+USES= php:ext tar:tgz
SUB_FILES= pkg-message
IGNORE_WITH_PHP= 70
-PKGMESSAGE= ${WRKDIR}/pkg-message
-
.include <bsd.port.mk>
diff --git a/devel/pecl-trace/Makefile b/devel/pecl-trace/Makefile
index 9a37f2c25d4a..bd1df839209f 100644
--- a/devel/pecl-trace/Makefile
+++ b/devel/pecl-trace/Makefile
@@ -13,14 +13,11 @@ COMMENT= Low-overhead tracing tool for PHP
LICENSE= APACHE20
-WRKSRC= ${WRKDIR}/${DISTNAME}/extension
+WRKSRC_SUBDIR= extension
CMDTOOLSRC= ${WRKSRC}/../cmdtool
GNU_CONFIGURE= yes
-USES= gmake shebangfix tar:tgz
-USE_PHP= yes
-USE_PHP_BUILD= yes
-USE_PHPEXT= yes
+USES= gmake php:ext shebangfix tar:tgz
IGNORE_WITH_PHP= 70
SHEBANG_FILES= ${CMDTOOLSRC}/phptrace
diff --git a/devel/pecl-uopz/Makefile b/devel/pecl-uopz/Makefile
index c65c3d32109a..6b6c2bb335fc 100644
--- a/devel/pecl-uopz/Makefile
+++ b/devel/pecl-uopz/Makefile
@@ -13,9 +13,7 @@ COMMENT= User Operations for PHP Zend engine
LICENSE= PHP301
-USE_PHP= yes
-USE_PHPEXT= yes
-USES= tar:tgz
+USES= php:ext tar:tgz
IGNORE_WITH_PHP= 70
.include <bsd.port.mk>
diff --git a/devel/pecl-uploadprogress/Makefile b/devel/pecl-uploadprogress/Makefile
index 2e925137b6c3..3b1e60abba50 100644
--- a/devel/pecl-uploadprogress/Makefile
+++ b/devel/pecl-uploadprogress/Makefile
@@ -13,9 +13,7 @@ COMMENT= Provides track progress of a file upload
LICENSE= PHP301
-USES= tar:tgz
-USE_PHP= yes
-USE_PHPEXT= yes
+USES= php:ext tar:tgz
IGNORE_WITH_PHP= 70
CONFIGURE_ARGS= --enable-uploadprogress
diff --git a/devel/pecl-uri_template/Makefile b/devel/pecl-uri_template/Makefile
index 7c52254887a5..404498285d53 100644
--- a/devel/pecl-uri_template/Makefile
+++ b/devel/pecl-uri_template/Makefile
@@ -14,8 +14,7 @@ COMMENT= URI Template(RFC6570) library for PHP
LICENSE= PHP301
-USE_PHP= yes
-USE_PHPEXT= yes
+USES= php:ext
IGNORE_WITH_PHP= 70
.include <bsd.port.mk>
diff --git a/devel/pecl-uuid/Makefile b/devel/pecl-uuid/Makefile
index 803680e49608..00858d5fd3e8 100644
--- a/devel/pecl-uuid/Makefile
+++ b/devel/pecl-uuid/Makefile
@@ -15,8 +15,6 @@ LICENSE= LGPL3
LIB_DEPENDS= libuuid.so:misc/e2fsprogs-libuuid
-USES= tar:tgz
-USE_PHP= yes
-USE_PHPEXT= yes
+USES= php:ext tar:tgz
.include <bsd.port.mk>
diff --git a/devel/pecl-vld/Makefile b/devel/pecl-vld/Makefile
index 7d941c729b76..ead350d29afc 100644
--- a/devel/pecl-vld/Makefile
+++ b/devel/pecl-vld/Makefile
@@ -13,9 +13,7 @@ COMMENT= Dump the internal representation of PHP scripts
LICENSE= BSD2CLAUSE
-USES= tar:tgz
-USE_PHP= yes
-USE_PHPEXT= yes
+USES= php:ext tar:tgz
IGNORE_WITH_PHP= 70
CONFIGURE_ARGS= --enable-vld
diff --git a/devel/pecl-weakref/Makefile b/devel/pecl-weakref/Makefile
index 1c3373cd7f64..ce229c1cc0fc 100644
--- a/devel/pecl-weakref/Makefile
+++ b/devel/pecl-weakref/Makefile
@@ -15,10 +15,7 @@ COMMENT= PECL Weakref extension
LICENSE= PHP301
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= tar:tgz
-USE_PHP= yes
-USE_PHP_BUILD= yes
-USE_PHPEXT= yes
+USES= php:ext tar:tgz
IGNORE_WITH_PHP= 70
CFLAGS+= -I${LOCALBASE}/include
diff --git a/devel/pecl-xhprof/Makefile b/devel/pecl-xhprof/Makefile
index 3d008ace5834..ff78060d8aa2 100644
--- a/devel/pecl-xhprof/Makefile
+++ b/devel/pecl-xhprof/Makefile
@@ -15,9 +15,7 @@ LICENSE= APACHE20
WRKSRC= ${WRKDIR}/${DISTNAME}/extension
-USE_PHP= yes
-USE_PHPIZE= yes
-USE_PHPEXT= yes
+USES= php:ext
ONLY_FOR_ARCHS= i386 amd64
IGNORE_WITH_PHP= 70
diff --git a/devel/pecl-yac/Makefile b/devel/pecl-yac/Makefile
index db0be3a330c3..21b7d57537c4 100644
--- a/devel/pecl-yac/Makefile
+++ b/devel/pecl-yac/Makefile
@@ -14,9 +14,7 @@ COMMENT= Yac is a shared memory user data cache for PHP
LICENSE= PHP301
-USE_PHP= yes
-USE_PHPEXT= yes
-USES= tar:tgz
+USES= php:ext tar:tgz
IGNORE_WITH_PHP= 70
OPTIONS_DEFINE= MSGPACK
diff --git a/devel/pecl-zookeeper/Makefile b/devel/pecl-zookeeper/Makefile
index c20d3deecc21..37a6a6306f1f 100644
--- a/devel/pecl-zookeeper/Makefile
+++ b/devel/pecl-zookeeper/Makefile
@@ -16,10 +16,8 @@ LICENSE= PHP301
LIB_DEPENDS= libzookeeper_mt.so:devel/libzookeeper
-USE_PHP= session
-USE_PHP_BUILD= session
-USE_PHPEXT= yes
-USES= tar:tgz
+USE_PHP= session:build
+USES= php:ext tar:tgz
IGNORE_WITH_PHP= 70
post-install:
diff --git a/devel/php-jq/Makefile b/devel/php-jq/Makefile
index f3085a92a42e..a5f8ff314678 100644
--- a/devel/php-jq/Makefile
+++ b/devel/php-jq/Makefile
@@ -17,11 +17,8 @@ USE_GITHUB= yes
GH_ACCOUNT= kjdev
GH_PROJECT= php-ext-jq
-USE_PHP= yes
-USE_PHPIZE= yes
-USE_PHPEXT= yes
IGNORE_WITH_PHP= 70
-USES= tar:tgz
+USES= php:ext tar:tgz
JQ_CMD= ${LOCALBASE}/bin/jq
diff --git a/devel/php-maxminddb/Makefile b/devel/php-maxminddb/Makefile
index 789e4b7db711..e4f703cdb694 100644
--- a/devel/php-maxminddb/Makefile
+++ b/devel/php-maxminddb/Makefile
@@ -23,10 +23,6 @@ GH_PROJECT= MaxMind-DB-Reader-php
WRKSRC_SUBDIR= ext
-USE_PHP= yes
-IGNORE_WITH_PHP=4
-USE_PHPIZE= yes
-USE_PHPEXT= yes
-USES= tar:tgz
+USES= php:ext tar:tgz
.include <bsd.port.mk>
diff --git a/devel/php-memoize/Makefile b/devel/php-memoize/Makefile
index 469ca758ad17..c5a0968cbb88 100644
--- a/devel/php-memoize/Makefile
+++ b/devel/php-memoize/Makefile
@@ -13,10 +13,7 @@ COMMENT= PHP extension which transparently caches PHP functions
USE_GITHUB= yes
GH_ACCOUNT= arraypad
-USE_PHP= yes
-USE_PHPEXT= yes
-USE_PHPIZE= yes
-USE_PHP_BUILD= yes
+USES= php:ext
PHP_MODNAME= memoize
IGNORE_WITH_PHP= 70
CONFIGURE_ARGS= --enable-memoize
@@ -27,21 +24,13 @@ APC_DESC= Enable memoize APC module
MEMCACHED_DESC= Enable memcached storage module
MEMORY_DESC= Enable the memoize memory storage module
-.include <bsd.port.pre.mk>
+APC_CONFIGURE_ENABLE= memoize-apc
+APC_BUILD_DEPENDS= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/apc.so:www/pecl-APC
-.if ${PORT_OPTIONS:MAPC}
-CONFIGURE_ARGS+= --enable-memoize-apc
-BUILD_DEPENDS+= ${LOCALBASE}/lib/php/${PHP_EXT_DIR}/apc.so:www/pecl-APC
-.endif
+MEMCACHED_CONFIGURE_WITH= memoize-memcached
+MEMCACHED_BUILD_DEPENDS= libmemcached>0:databases/libmemcached
+MEMCACHED_RUN_DEPENDS= libmemcached>0:databases/libmemcached
-.if ${PORT_OPTIONS:MMEMCACHED}
-CONFIGURE_ARGS+= --with-memoize-memcached
-BUILD_DEPENDS+= libmemcached>0:databases/libmemcached
-RUN_DEPENDS+= libmemcached>0:databases/libmemcached
-.endif
+MEMORY_CONFIGURE_OFF= --disable-memoize-memory
-.if empty(PORT_OPTIONS:MMEMORY)
-CONFIGURE_ARGS+= --disable-memoize-memory
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/devel/php-scalar_objects/Makefile b/devel/php-scalar_objects/Makefile
index 1707be597902..efd547433ad5 100644
--- a/devel/php-scalar_objects/Makefile
+++ b/devel/php-scalar_objects/Makefile
@@ -16,10 +16,7 @@ USE_GITHUB= yes
GH_ACCOUNT= nikic
GH_TAGNAME= baf4985
-USE_PHP= yes
-USE_PHPEXT= yes
-USE_PHPIZE= yes
-USE_PHP_BUILD= yes
+USES= php:ext
IGNORE_WITH_PHP= 70
.include <bsd.port.mk>
diff --git a/devel/php-uprofiler/Makefile b/devel/php-uprofiler/Makefile
index 0edb67f3925a..e3e3987cba41 100644
--- a/devel/php-uprofiler/Makefile
+++ b/devel/php-uprofiler/Makefile
@@ -17,11 +17,8 @@ USE_GITHUB= yes
GH_ACCOUNT= FriendsOfPHP
GH_TAGNAME= 483c1e5
-WRKSRC= ${WRKDIR}/${GH_PROJECT}-${GH_TAGNAME_EXTRACT}/extension
-USE_PHP= yes
-USE_PHPIZE= yes
-USE_PHPEXT= yes
-USES= tar:tgz
+WRKSRC_SUBDIR= extension
+USES= php:ext tar:tgz
IGNORE_WITH_PHP= 70
.include <bsd.port.mk>
diff --git a/devel/php-xdebug/Makefile b/devel/php-xdebug/Makefile
index 2319ea44338f..c6a29af0bae1 100644
--- a/devel/php-xdebug/Makefile
+++ b/devel/php-xdebug/Makefile
@@ -13,10 +13,7 @@ COMMENT= Xdebug extension for PHP
LICENSE= PHP30
CONFIGURE_ARGS= --enable-xdebug
-USE_PHP= yes
-USE_PHPIZE= yes
-USE_ZENDEXT= yes
-USES= tar:tgz
+USES= php:zend tar:tgz
SUB_FILES= pkg-message
diff --git a/devel/php5-blitz-devel/Makefile b/devel/php5-blitz-devel/Makefile
index 7af9713669c6..a6df4733b523 100644
--- a/devel/php5-blitz-devel/Makefile
+++ b/devel/php5-blitz-devel/Makefile
@@ -13,9 +13,7 @@ COMMENT= PHP templating engine
CONFLICTS= php5-blitz-0.6*
-USE_PHP= yes
-USE_PHP_BUILD= yes
-USE_PHPEXT= yes
+USES= php:ext
PHP_MODNAME= blitz
IGNORE_WITH_PHP= 70
diff --git a/devel/php5-blitz/Makefile b/devel/php5-blitz/Makefile
index 2c2c96796982..c9c5bc4ba02c 100644
--- a/devel/php5-blitz/Makefile
+++ b/devel/php5-blitz/Makefile
@@ -12,9 +12,7 @@ COMMENT= PHP templating engine
CONFLICTS= php5-blitz-devel-[0-9]*
-USE_PHP= yes
-USE_PHP_BUILD= yes
-USE_PHPEXT= yes
+USES= php:ext
IGNORE_WITH_PHP= 70
.include <bsd.port.mk>
diff --git a/devel/php5-dav/Makefile b/devel/php5-dav/Makefile
index 2ab64055185b..86a2b58f4076 100644
--- a/devel/php5-dav/Makefile
+++ b/devel/php5-dav/Makefile
@@ -16,10 +16,7 @@ LICENSE= ISCL
LIB_DEPENDS= libneon.so:www/neon
-USE_PHP= yes
-USE_PHPIZE= yes
-USE_PHPEXT= yes
-PHP_MODNAME= dav
+USES= php:ext
IGNORE_WITH_PHP= 70
diff --git a/devel/php5-geshi/Makefile b/devel/php5-geshi/Makefile
index 4ccc6c02fd5c..2b7dfd0383e7 100644
--- a/devel/php5-geshi/Makefile
+++ b/devel/php5-geshi/Makefile
@@ -12,12 +12,12 @@ COMMENT= Native PHP syntax highlighting engine
LICENSE= GPLv2
+USES= php
USE_GITHUB= yes
GH_ACCOUNT= GeSHi
GH_PROJECT= geshi-1.0
NO_BUILD= yes
-USE_PHP= yes
OPTIONS_DEFINE= DOCS
NO_ARCH= yes
diff --git a/devel/php5-ice/Makefile b/devel/php5-ice/Makefile
index 89cc6d978135..77640f0944fe 100644
--- a/devel/php5-ice/Makefile
+++ b/devel/php5-ice/Makefile
@@ -23,8 +23,7 @@ PLIST= ${.CURDIR}/pkg-plist
MAKE_ARGS+= PHP_EXT_DIR=${PHP_EXT_DIR} ICE_HOME=${LOCALBASE} \
PHP_HOME=${LOCALBASE} OPTIMIZE=yes
-USE_PHP= yes
-USE_PHP_BUILD= yes
+USES+= php:build
IGNORE_WITH_PHP=70
BUILD_WRKSRC= ${WRKSRC}/php
INSTALL_WRKSRC= ${WRKSRC}/php
diff --git a/devel/php5-msgpack/Makefile b/devel/php5-msgpack/Makefile
index 11eafcedda1c..2819ac5626c3 100644
--- a/devel/php5-msgpack/Makefile
+++ b/devel/php5-msgpack/Makefile
@@ -15,11 +15,8 @@ USE_GITHUB= yes
GH_TAGNAME= 980a652
WRKSRC_SUBDIR= php
-USE_PHP= session
-USE_PHP_BUILD= yes
-USE_PHPIZE= yes
-USE_PHPEXT= yes
-PHP_MODNAME= msgpack
+USES= php:ext
+USE_PHP= session:build
IGNORE_WITH_PHP= 70
diff --git a/devel/php5-pinba/Makefile b/devel/php5-pinba/Makefile
index cb2fd56cc803..4965dcfdeacb 100644
--- a/devel/php5-pinba/Makefile
+++ b/devel/php5-pinba/Makefile
@@ -17,9 +17,7 @@ GH_ACCOUNT= tony2001
GH_PROJECT= pinba_extension
GH_TAGNAME= f76b673
-USE_PHP= yes
-USE_PHPEXT= yes
-PHP_MODNAME= pinba
+USES= php:ext
IGNORE_WITH_PHP= 70
.include <bsd.port.mk>
diff --git a/devel/php5-thrift/Makefile b/devel/php5-thrift/Makefile
index d6ebfa9fcbdb..83e3e0910711 100644
--- a/devel/php5-thrift/Makefile
+++ b/devel/php5-thrift/Makefile
@@ -10,10 +10,7 @@ PKGNAMEPREFIX= php5-
MAINTAINER= webmaster@kibab.com
COMMENT= PHP interface to Thrift
-USE_PHP= yes
-
-USE_PHPIZE= yes
-USE_PHPEXT= yes
+USES= php:ext
PHP_MODNAME= thrift_protocol
IGNORE_WITH_PHP= 70