aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2016-06-28 22:00:45 +0800
committermat <mat@FreeBSD.org>2016-06-28 22:00:45 +0800
commitd1e060d11b366c86ab049254be9f22b6bbdf48ba (patch)
treee6eac391e081f99a997be8b0d8e036d22d5fe2a9 /graphics
parent9674e8edf86ef8430734bd19e417e512e8fec1d7 (diff)
downloadfreebsd-ports-gnome-d1e060d11b366c86ab049254be9f22b6bbdf48ba.tar.gz
freebsd-ports-gnome-d1e060d11b366c86ab049254be9f22b6bbdf48ba.tar.zst
freebsd-ports-gnome-d1e060d11b366c86ab049254be9f22b6bbdf48ba.zip
Convert USE_PHP*=yes into USES=php*
PR: 210529 Submitted by: mat Exp-run by: antoine Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D6936
Diffstat (limited to 'graphics')
-rw-r--r--graphics/geos/Makefile2
-rw-r--r--graphics/graphviz/Makefile2
-rw-r--r--graphics/pear-Image_Graph/Makefile1
-rw-r--r--graphics/pecl-gmagick/Makefile4
-rw-r--r--graphics/pecl-imagick/Makefile4
-rw-r--r--graphics/pecl-imlib2/Makefile4
-rw-r--r--graphics/pecl-qrencode/Makefile4
-rw-r--r--graphics/php-facedetect/Makefile4
-rw-r--r--graphics/php-gdal/Makefile4
-rw-r--r--graphics/php-libpuzzle/Makefile6
-rw-r--r--graphics/php-magickwand/Makefile4
-rw-r--r--graphics/php5-ffmpeg/Makefile5
-rw-r--r--graphics/phplot/Makefile3
13 files changed, 12 insertions, 35 deletions
diff --git a/graphics/geos/Makefile b/graphics/geos/Makefile
index cdafe78b19c5..8a4c89f4fc89 100644
--- a/graphics/geos/Makefile
+++ b/graphics/geos/Makefile
@@ -26,7 +26,7 @@ PLIST_SUB= PORTVERSION=${PORTVERSION}
PHP_BUILD_DEPENDS= swig3.0:devel/swig30
PHP_CONFIGURE_ENABLE= php
-PHP_USE= PHP=yes PHP_BUILD=yes
+PHP_USES= php:build
PYTHON_BUILD_DEPENDS= swig3.0:devel/swig30
PYTHON_CONFIGURE_ENABLE=python
PYTHON_USES= python:2
diff --git a/graphics/graphviz/Makefile b/graphics/graphviz/Makefile
index 0cc5ee82c6f7..e7cea29fe4fd 100644
--- a/graphics/graphviz/Makefile
+++ b/graphics/graphviz/Makefile
@@ -92,7 +92,7 @@ GVEDIT_USE= qt4=qmake_build,moc_build,rcc_build,uic_build \
qt4=linguist_build,corelib,gui
GHOSTSCRIPT_USES=ghostscript
PERL_USES= perl5
-PHP_USE= PHP=yes PHP_BUILD=yes
+PHP_USES= php:build
PYTHON_USES= python:2.7,build
RUBY_USE= RUBY=yes
LUA_USES= lua
diff --git a/graphics/pear-Image_Graph/Makefile b/graphics/pear-Image_Graph/Makefile
index 44bf47a6ade2..08f354e44455 100644
--- a/graphics/pear-Image_Graph/Makefile
+++ b/graphics/pear-Image_Graph/Makefile
@@ -11,7 +11,6 @@ COMMENT= OO PEAR graph rendering package
RUN_DEPENDS= ${PEARDIR}/Log.php:sysutils/pear-Log \
${PEARDIR}/Image/Canvas.php:graphics/pear-Image_Canvas
-USE_PHP= yes
USES= dos2unix pear
DOS2UNIX_REGEX= .*php$$
diff --git a/graphics/pecl-gmagick/Makefile b/graphics/pecl-gmagick/Makefile
index d07c00dcd0cd..8f3e82b87d30 100644
--- a/graphics/pecl-gmagick/Makefile
+++ b/graphics/pecl-gmagick/Makefile
@@ -15,10 +15,8 @@ LICENSE= PHP301
LIB_DEPENDS= libGraphicsMagick.so:graphics/GraphicsMagick
-USES= tar:tgz
+USES= php:ext tar:tgz
-USE_PHP= yes
-USE_PHPEXT= yes
IGNORE_WITH_PHP= 70
CONFIGURE_ARGS= --with-gmagick=${LOCALBASE}
diff --git a/graphics/pecl-imagick/Makefile b/graphics/pecl-imagick/Makefile
index b0346cc29411..5d4f8b5a909a 100644
--- a/graphics/pecl-imagick/Makefile
+++ b/graphics/pecl-imagick/Makefile
@@ -18,9 +18,7 @@ OPTIONS_DEFINE= X11
X11_LIB_DEPENDS= libMagickWand-6.so:graphics/ImageMagick
X11_LIB_DEPENDS_OFF= libMagickWand-6.so:graphics/ImageMagick-nox11
-USES= pkgconfig tar:tgz localbase
-USE_PHP= yes
-USE_PHPEXT= yes
+USES= php:ext pkgconfig tar:tgz localbase
CONFIGURE_ARGS= --with-imagick=${LOCALBASE}
diff --git a/graphics/pecl-imlib2/Makefile b/graphics/pecl-imlib2/Makefile
index 84a4fc3a8295..d9e09ba61d51 100644
--- a/graphics/pecl-imlib2/Makefile
+++ b/graphics/pecl-imlib2/Makefile
@@ -16,9 +16,7 @@ LICENSE= PHP202
LIB_DEPENDS= libImlib2.so:graphics/imlib2
-USES= tar:tgz
-USE_PHP= yes
-USE_PHPEXT= yes
+USES= php:ext tar:tgz
IGNORE_WITH_PHP= 70
# libImlib2 may or may not depend on X, however,
diff --git a/graphics/pecl-qrencode/Makefile b/graphics/pecl-qrencode/Makefile
index e4e77e5592db..43ccb3f589a5 100644
--- a/graphics/pecl-qrencode/Makefile
+++ b/graphics/pecl-qrencode/Makefile
@@ -13,9 +13,7 @@ COMMENT= PECL extension for generate qrcode
LIB_DEPENDS= libqrencode.so:graphics/libqrencode
-USE_PHP= yes
-USE_PHPEXT= yes
-USES= tar:bzip2
+USES= php:ext tar:bzip2
IGNORE_WITH_PHP= 70
CONFIGURE_ARGS= --with-qrencode=${LOCALBASE}
diff --git a/graphics/php-facedetect/Makefile b/graphics/php-facedetect/Makefile
index df99c77abb1c..94e41925f140 100644
--- a/graphics/php-facedetect/Makefile
+++ b/graphics/php-facedetect/Makefile
@@ -22,9 +22,7 @@ GH_TAGNAME= 4b1dfe1
CPPFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib -lopencv_core
-USE_PHP= yes
-USE_PHPIZE= yes
-USE_PHPEXT= yes
+USES= php:ext
CONFIGURE_ARGS+= --with-facedetect
diff --git a/graphics/php-gdal/Makefile b/graphics/php-gdal/Makefile
index 9c560330e63e..59d24abc3c3b 100644
--- a/graphics/php-gdal/Makefile
+++ b/graphics/php-gdal/Makefile
@@ -23,9 +23,7 @@ CFLAGS+= -fPIC
IGNORE_WITH_PHP=70
MAKEFILE= GNUmakefile
PHP_MOD_NAME= php_${PORTNAME}
-USE_PHP= yes
-USE_PHP_BUILD= yes
-USES= gmake localbase tar:xz
+USES= php:build gmake localbase tar:xz
WRKSRC_SUBDIR= swig/php
diff --git a/graphics/php-libpuzzle/Makefile b/graphics/php-libpuzzle/Makefile
index 5b8d2800e5e3..f5c1c3c96a12 100644
--- a/graphics/php-libpuzzle/Makefile
+++ b/graphics/php-libpuzzle/Makefile
@@ -18,11 +18,7 @@ LICENSE_FILE= ${WRKSRC:H:H}/COPYING
LIB_DEPENDS= libpuzzle.so:graphics/libpuzzle \
libgd.so:graphics/gd
-USES= tar:bzip2
-USE_PHP= yes
-USE_PHPIZE= yes
-USE_PHPEXT= yes
-USE_PHP_BUILD= yes
+USES= php:ext tar:bzip2
IGNORE_WITH_PHP= 70
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/php/${PORTNAME}
diff --git a/graphics/php-magickwand/Makefile b/graphics/php-magickwand/Makefile
index e65e47587361..9ce390db7d7c 100644
--- a/graphics/php-magickwand/Makefile
+++ b/graphics/php-magickwand/Makefile
@@ -14,9 +14,7 @@ COMMENT= PHP extension to manipulate images
LIB_DEPENDS= libMagickWand-6.so:graphics/ImageMagick
-USES= pkgconfig
-USE_PHP= yes
-USE_PHPEXT= yes
+USES= php:ext pkgconfig
IGNORE_WITH_PHP= 70
CONFIGURE_ARGS= --with-magickwand=${LOCALBASE}
diff --git a/graphics/php5-ffmpeg/Makefile b/graphics/php5-ffmpeg/Makefile
index eb5630d86a07..a5513b738e26 100644
--- a/graphics/php5-ffmpeg/Makefile
+++ b/graphics/php5-ffmpeg/Makefile
@@ -18,9 +18,6 @@ LIB_DEPENDS= libgd.so:graphics/gd \
libavutil.so:multimedia/ffmpeg
IGNORE_WITH_PHP=70
-USE_PHP= yes
-USE_PHPEXT= yes
-USE_PHPIZE= yes
-USES= localbase tar:xz
+USES= localbase php:ext tar:xz
.include <bsd.port.mk>
diff --git a/graphics/phplot/Makefile b/graphics/phplot/Makefile
index b970961f3083..8f7f3fd496a0 100644
--- a/graphics/phplot/Makefile
+++ b/graphics/phplot/Makefile
@@ -19,8 +19,7 @@ LIB_DEPENDS= libgd.so:graphics/gd
NO_ARCH= yes
NO_BUILD= yes
-USES= zip
-USE_PHP= yes
+USES= php zip
PHPLOT_DIR= ${STAGEDIR}${PREFIX}/include/php/phplot