svn commit: r467831 - in head/devel: arcanist libphutil phabricator
Mathieu Arnold
mat at FreeBSD.org
Fri Apr 20 14:56:22 UTC 2018
Author: mat
Date: Fri Apr 20 14:56:21 2018
New Revision: 467831
URL: https://svnweb.freebsd.org/changeset/ports/467831
Log:
flavorize arcanist, libphutil and phabricator.
PR: 227321
Submitted by: mat
Reviewed by: maintainer timeout
Sponsored by: Absolight
Modified:
head/devel/arcanist/Makefile (contents, props changed)
head/devel/libphutil/Makefile (contents, props changed)
head/devel/phabricator/Makefile (contents, props changed)
Modified: head/devel/arcanist/Makefile
==============================================================================
--- head/devel/arcanist/Makefile Fri Apr 20 14:44:04 2018 (r467830)
+++ head/devel/arcanist/Makefile Fri Apr 20 14:56:21 2018 (r467831)
@@ -4,7 +4,7 @@ PORTNAME= arcanist
PORTVERSION= 20170630
PORTREVISION= 1
CATEGORIES= devel
-PKGNAMEPREFIX= php-
+PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX}
MAINTAINER= grembo at 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
Modified: head/devel/libphutil/Makefile
==============================================================================
--- head/devel/libphutil/Makefile Fri Apr 20 14:44:04 2018 (r467830)
+++ head/devel/libphutil/Makefile Fri Apr 20 14:56:21 2018 (r467831)
@@ -3,7 +3,7 @@
PORTNAME= libphutil
PORTVERSION= 20170630
CATEGORIES= devel
-PKGNAMEPREFIX= php-
+PKGNAMEPREFIX= ${PHP_PKGNAMEPREFIX}
MAINTAINER= grembo at 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
Modified: head/devel/phabricator/Makefile
==============================================================================
--- head/devel/phabricator/Makefile Fri Apr 20 14:44:04 2018 (r467830)
+++ head/devel/phabricator/Makefile Fri Apr 20 14:56:21 2018 (r467831)
@@ -4,7 +4,7 @@ PORTNAME= phabricator
PORTVERSION= 20170630
PORTREVISION= 1
CATEGORIES= devel
-PKGNAMEPREFIX= php-
+PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX}
MAINTAINER= grembo at 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 \
More information about the svn-ports-all
mailing list