summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/arcanist/Makefile6
-rw-r--r--devel/libphutil/Makefile4
-rw-r--r--devel/phabricator/Makefile8
3 files changed, 9 insertions, 9 deletions
diff --git a/devel/arcanist/Makefile b/devel/arcanist/Makefile
index 943867425ded..11a55dd584e4 100644
--- a/devel/arcanist/Makefile
+++ b/devel/arcanist/Makefile
@@ -4,7 +4,7 @@ PORTNAME= arcanist
PORTVERSION= 20170630
PORTREVISION= 1
CATEGORIES= devel
-PKGNAMEPREFIX= php-
+PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX}
MAINTAINER= grembo@FreeBSD.org
COMMENT= Command line interface for Phabricator
@@ -12,12 +12,12 @@ COMMENT= Command line interface for Phabricator
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
-RUN_DEPENDS= php-libphutil>0:devel/libphutil
+RUN_DEPENDS= ${PHP_PKGNAMEPREFIX}libphutil>0:devel/libphutil@${PHP_FLAVOR}
CONFLICTS= arc-*
PHP_DESTDIR= lib/php/arcanist
-USES= php python:2.7,env shebangfix
+USES= php:flavors python:2.7,env shebangfix
SHEBANG_FILES= scripts/breakout.py
USE_PHP= curl dom hash json simplexml
USE_GITHUB= yes
diff --git a/devel/libphutil/Makefile b/devel/libphutil/Makefile
index f5b8285c0113..233fde8f8c5c 100644
--- a/devel/libphutil/Makefile
+++ b/devel/libphutil/Makefile
@@ -3,7 +3,7 @@
PORTNAME= libphutil
PORTVERSION= 20170630
CATEGORIES= devel
-PKGNAMEPREFIX= php-
+PKGNAMEPREFIX= ${PHP_PKGNAMEPREFIX}
MAINTAINER= grembo@FreeBSD.org
COMMENT= Collection of PHP utility classes
@@ -12,7 +12,7 @@ LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
PHP_DESTDIR= lib/php/libphutil
-USES= php
+USES= php:flavors
USE_PHP= xml
USE_GITHUB= yes
NO_BUILD= yes
diff --git a/devel/phabricator/Makefile b/devel/phabricator/Makefile
index 91cd6eadd210..6585795b308e 100644
--- a/devel/phabricator/Makefile
+++ b/devel/phabricator/Makefile
@@ -4,7 +4,7 @@ PORTNAME= phabricator
PORTVERSION= 20170630
PORTREVISION= 1
CATEGORIES= devel
-PKGNAMEPREFIX= php-
+PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX}
MAINTAINER= grembo@FreeBSD.org
COMMENT= Open source, software engineering platform
@@ -12,15 +12,15 @@ COMMENT= Open source, software engineering platform
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
-RUN_DEPENDS= php-libphutil>0:devel/libphutil \
- php-arcanist>0:devel/arcanist \
+RUN_DEPENDS= ${PHP_PKGNAMEPREFIX}libphutil>0:devel/libphutil@${PHP_FLAVOR} \
+ arcanist${PHP_PKGNAMESUFFIX}>0:devel/arcanist@${PHP_FLAVOR} \
git:devel/git
OPTIONS_DEFINE= GD OPCACHE
OPTIONS_DEFAULT=OPCACHE
OPCACHE_DESC?= Use OPcache to improve performance
-USES= php shebangfix
+USES= php:flavors shebangfix
SHEBANG_FILES= externals/httpful/build \
externals/restful/build-phar \
scripts/almanac/*.php \