From owner-svn-ports-all@freebsd.org Thu Mar 8 19:54:42 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E8084F2AF43; Thu, 8 Mar 2018 19:54:41 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9D0186DA63; Thu, 8 Mar 2018 19:54:41 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 97BE51567F; Thu, 8 Mar 2018 19:54:41 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w28JsflP051742; Thu, 8 Mar 2018 19:54:41 GMT (envelope-from mat@FreeBSD.org) Received: (from mat@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w28Jsflh051738; Thu, 8 Mar 2018 19:54:41 GMT (envelope-from mat@FreeBSD.org) Message-Id: <201803081954.w28Jsflh051738@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: mat set sender to mat@FreeBSD.org using -f From: Mathieu Arnold Date: Thu, 8 Mar 2018 19:54:41 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r463918 - in head: devel/phpunit6 devel/phpunit7 www/moodle34 www/typo3-8 X-SVN-Group: ports-head X-SVN-Commit-Author: mat X-SVN-Commit-Paths: in head: devel/phpunit6 devel/phpunit7 www/moodle34 www/typo3-8 X-SVN-Commit-Revision: 463918 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2018 19:54:42 -0000 Author: mat Date: Thu Mar 8 19:54:40 2018 New Revision: 463918 URL: https://svnweb.freebsd.org/changeset/ports/463918 Log: Enable PHP flavors for these php apps that do not support the default PHP version. This is done so that they actually build something, and to show very clearly how adding flavors to a PHP app is done: - Add the flavors keyword to USES=php - Add ${PHP_PKGNAMESUFFIX} to PKGNAMESUFFIX. Sponsored by: Absolight Modified: head/devel/phpunit6/Makefile (contents, props changed) head/devel/phpunit7/Makefile (contents, props changed) head/www/moodle34/Makefile (contents, props changed) head/www/typo3-8/Makefile (contents, props changed) Modified: head/devel/phpunit6/Makefile ============================================================================== --- head/devel/phpunit6/Makefile Thu Mar 8 19:48:41 2018 (r463917) +++ head/devel/phpunit6/Makefile Thu Mar 8 19:54:40 2018 (r463918) @@ -5,7 +5,7 @@ PORTNAME= phpunit DISTVERSION= 6.5.7 CATEGORIES= devel www MASTER_SITES= https://phar.phpunit.de/ -PKGNAMESUFFIX= 6 +PKGNAMESUFFIX= 6${PHP_PKGNAMESUFFIX} EXTRACT_SUFX= .phar MAINTAINER= joneum@FreeBSD.org @@ -17,7 +17,7 @@ IGNORE_WITH_PHP= 56 CONFLICTS_INSTALL= phpunit -USES= cpe php +USES= cpe php:flavors CPE_VENDOR= phpunit_project USE_PHP= dom json spl pcre phar Modified: head/devel/phpunit7/Makefile ============================================================================== --- head/devel/phpunit7/Makefile Thu Mar 8 19:48:41 2018 (r463917) +++ head/devel/phpunit7/Makefile Thu Mar 8 19:54:40 2018 (r463918) @@ -4,7 +4,7 @@ PORTNAME= phpunit DISTVERSION= 7.0.2 CATEGORIES= devel www MASTER_SITES= https://phar.phpunit.de/ -PKGNAMESUFFIX= 7 +PKGNAMESUFFIX= 7${PHP_PKGNAMESUFFIX} EXTRACT_SUFX= .phar MAINTAINER= joneum@FreeBSD.org @@ -16,7 +16,7 @@ IGNORE_WITH_PHP= 56 CONFLICTS_INSTALL= phpunit -USES= cpe php +USES= cpe php:flavors CPE_VENDOR= phpunit_project USE_PHP= dom json spl pcre phar Modified: head/www/moodle34/Makefile ============================================================================== --- head/www/moodle34/Makefile Thu Mar 8 19:48:41 2018 (r463917) +++ head/www/moodle34/Makefile Thu Mar 8 19:54:40 2018 (r463918) @@ -5,7 +5,7 @@ PORTNAME= moodle PORTVERSION= 3.4.1 CATEGORIES= www MASTER_SITES= SF/moodle/Moodle/stable34/ -PKGNAMESUFFIX= ${PKGORIGIN:T:S/moodle//} +PKGNAMESUFFIX= ${PKGORIGIN:T:S/moodle//}${PHP_PKGNAMESUFFIX} MAINTAINER= wen@FreeBSD.org COMMENT= Course management system based on social constructionism @@ -16,7 +16,7 @@ CONFLICTS= moodle31-3.1.[0-9]* moodle32-3.2.[0-9]* moo IGNORE_WITH_PHP= 56 -USES= cpe php tar:tgz +USES= cpe php:flavors tar:tgz USE_PHP= ctype curl dom fileinfo gd hash iconv intl json mbstring \ opcache openssl pcre session simplexml soap spl tokenizer \ xml xmlreader xmlrpc zip zlib Modified: head/www/typo3-8/Makefile ============================================================================== --- head/www/typo3-8/Makefile Thu Mar 8 19:48:41 2018 (r463917) +++ head/www/typo3-8/Makefile Thu Mar 8 19:54:40 2018 (r463918) @@ -5,7 +5,7 @@ PORTNAME= typo3 PORTVERSION= ${PORT_V_MAJOR}.${PORT_V_MINOR}.${PORT_V_PATCH} CATEGORIES= www MASTER_SITES= https://typo3.azureedge.net/typo3/${PORTVERSION}/ -PKGNAMESUFFIX= -${PORT_V_MAJOR} +PKGNAMESUFFIX= -${PORT_V_MAJOR}${PHP_PKGNAMESUFFIX} MAINTAINER= freebsd-ports@charlieroot.de COMMENT= Typo3 content management system @@ -17,7 +17,7 @@ IGNORE_WITH_PHP= 56 PORTSCOUT= limit:^${PORT_V_MAJOR}\.${PORT_V_MINOR}\. -USES= cpe php:web shebangfix +USES= cpe php:web,flavors shebangfix SHEBANG_GLOB= *.sh *.php NO_BUILD= yes NO_ARCH= yes