diff options
author | mat <mat@FreeBSD.org> | 2018-03-09 03:48:41 +0800 |
---|---|---|
committer | mat <mat@FreeBSD.org> | 2018-03-09 03:48:41 +0800 |
commit | 3de11f75e95b0f2dda0d4e2d1bed3fca9fd4925e (patch) | |
tree | a942b9de6ec3ced252f123bf8a905b18d685aa72 /chinese | |
parent | bd4297a179c7edf0fe5800bb82c677771f17923c (diff) | |
download | freebsd-ports-gnome-3de11f75e95b0f2dda0d4e2d1bed3fca9fd4925e.tar.gz freebsd-ports-gnome-3de11f75e95b0f2dda0d4e2d1bed3fca9fd4925e.tar.zst freebsd-ports-gnome-3de11f75e95b0f2dda0d4e2d1bed3fca9fd4925e.zip |
Introduce PHP flavors.
Ports using USES=php:phpize, php:ext, php:zend, and php:pecl are now
flavored. They will automatically get flavors (php56, php70, php71, php72)
depending of the versions they support (set with IGNORE_WITH_PHP). As a
consequence, ports using USES=pear and USES=horde are also flavored.
PR: 226242
Submitted by: mat
Exp-run by: antoine
Approved by: portmgr
Sponsored by: Absolight
Differential Revision: https://reviews.freebsd.org/D14208
Diffstat (limited to 'chinese')
-rw-r--r-- | chinese/php-opencc/Makefile | 2 | ||||
-rw-r--r-- | chinese/phpbb-tw/Makefile | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/chinese/php-opencc/Makefile b/chinese/php-opencc/Makefile index b854eae820c9..170c71320dc5 100644 --- a/chinese/php-opencc/Makefile +++ b/chinese/php-opencc/Makefile @@ -4,7 +4,7 @@ PORTNAME= opencc PORTVERSION= 0.0.0.20161110 CATEGORIES= chinese -PKGNAMEPREFIX= php- +PKGNAMEPREFIX= ${PHP_PKGNAMEPREFIX} MAINTAINER= gasol.wu@gmail.com COMMENT= OpenCC shared extension for php diff --git a/chinese/phpbb-tw/Makefile b/chinese/phpbb-tw/Makefile index b9dfdf99a35e..e5052f8d7b7f 100644 --- a/chinese/phpbb-tw/Makefile +++ b/chinese/phpbb-tw/Makefile @@ -12,10 +12,10 @@ DISTNAME= phpBB-tw-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= The Traditional Chinese version of phpBB -RUN_DEPENDS= ${LOCALBASE}/share/pear/System.php:devel/pear +RUN_DEPENDS= ${LOCALBASE}/share/pear/System.php:devel/pear@${PHP_FLAVOR} CONFLICTS= phpbb-[0-9]* -USES= dos2unix +USES= dos2unix php # Get HOSTNAME .if exists(/sbin/sysctl) |