git: 86b1bef7112d - main - devel/pear-PHP_CompatInfo: Change the way *_DEPENDS are set

Po-Chuan Hsieh sunpoet at FreeBSD.org
Sun Sep 19 06:07:36 UTC 2021


The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=86b1bef7112d5f8e5544ee66ea1ff665bbee1092

commit 86b1bef7112d5f8e5544ee66ea1ff665bbee1092
Author:     Po-Chuan Hsieh <sunpoet at FreeBSD.org>
AuthorDate: 2021-09-19 05:29:02 +0000
Commit:     Po-Chuan Hsieh <sunpoet at FreeBSD.org>
CommitDate: 2021-09-19 06:00:03 +0000

    devel/pear-PHP_CompatInfo: Change the way *_DEPENDS are set
---
 devel/pear-PHP_CompatInfo/Makefile | 31 +++++++++++++++----------------
 1 file changed, 15 insertions(+), 16 deletions(-)

diff --git a/devel/pear-PHP_CompatInfo/Makefile b/devel/pear-PHP_CompatInfo/Makefile
index 16e986164624..17c46808b127 100644
--- a/devel/pear-PHP_CompatInfo/Makefile
+++ b/devel/pear-PHP_CompatInfo/Makefile
@@ -8,30 +8,29 @@ CATEGORIES=	devel pear
 MAINTAINER=	sunpoet at FreeBSD.org
 COMMENT=	PEAR class to find out the minimum version and extensions required
 
-RUN_DEPENDS=	${PEARDIR}/Console/Table.php:devel/pear-Console_Table@${PHP_FLAVOR} \
-		${PEARDIR}/Console/Getargs.php:devel/pear-Console_Getargs@${PHP_FLAVOR} \
-		${PEARDIR}/File/Find.php:sysutils/pear-File_Find@${PHP_FLAVOR} \
-		${PEARDIR}/Event/Dispatcher.php:devel/pear-Event_Dispatcher@${PHP_FLAVOR}
+RUN_DEPENDS=	${PEAR_PKGNAMEPREFIX}Console_Getargs>=1.3.3:devel/pear-Console_Getargs@${PHP_FLAVOR} \
+		${PEAR_PKGNAMEPREFIX}Console_Table>=1.1.1:devel/pear-Console_Table@${PHP_FLAVOR} \
+		${PEAR_PKGNAMEPREFIX}Event_Dispatcher>=1.0.0:devel/pear-Event_Dispatcher@${PHP_FLAVOR} \
+		${PEAR_PKGNAMEPREFIX}File_Find>=1.3.0:sysutils/pear-File_Find@${PHP_FLAVOR}
 
-USES=		dos2unix pear php
-USE_PHP=	tokenizer
+USES=		dos2unix pear
+USE_PHP=	pcre tokenizer
 
 NO_ARCH=	yes
 
 PORTSCOUT=	skipv:1.9.0a1,1.9.0b1,1.9.0b2
 
-OPTIONS_DEFINE=	PEAR_XML_BEAUTIFIER PEAR_VAR_DUMP PHPUNIT PEAR_XML_UTIL PEAR_HTML_TABLE
-OPTIONS_DEFAULT=	PHPUNIT PEAR_XML_UTIL
-PEAR_XML_BEAUTIFIER_DESC=	PEAR::XML_Beautifier support
+OPTIONS_DEFINE=	PEAR_HTML_TABLE PEAR_VAR_DUMP PEAR_XML_BEAUTIFIER PEAR_XML_UTIL PHPUNIT
+OPTIONS_DEFAULT=PEAR_XML_UTIL PHPUNIT
+PEAR_HTML_TABLE_DESC=	PEAR::HTML_Table
 PEAR_VAR_DUMP_DESC=	PEAR::Var_Dump support
-PHPUNIT_DESC=	PHPUnit support
+PEAR_XML_BEAUTIFIER_DESC=	PEAR::XML_Beautifier support
 PEAR_XML_UTIL_DESC=	PEAR::XML_Util support
-PEAR_HTML_TABLE_DESC=	PEAR::HTML_Table
+PHPUNIT_DESC=		PHPUnit support
 
-PEAR_XML_BEAUTIFIER_RUN_DEPENDS=	${PEARDIR}/XML/Beautifier.php:textproc/pear-XML_Beautifier@${PHP_FLAVOR}
-PEAR_VAR_DUMP_RUN_DEPENDS=	${PEARDIR}/Var/Dump.php:devel/pear-Var_Dump@${PHP_FLAVOR}
-PHPUNIT_RUN_DEPENDS=	phpunit:devel/phpunit6@${PHP_FLAVOR}
-PEAR_XML_UTIL_RUN_DEPENDS=	${PEARDIR}/XML/Util.php:devel/pear-XML_Util@${PHP_FLAVOR}
-PEAR_HTML_TABLE_RUN_DEPENDS=	${PEARDIR}/HTML/Table.php:devel/pear-HTML_Table@${PHP_FLAVOR}
+PEAR_VAR_DUMP_RUN_DEPENDS=	${PEAR_PKGNAMEPREFIX}Var_Dump>=1.0.3:devel/pear-Var_Dump@${PHP_FLAVOR}
+PEAR_XML_BEAUTIFIER_RUN_DEPENDS=${PEAR_PKGNAMEPREFIX}XML_Beautifier>=1.1:textproc/pear-XML_Beautifier@${PHP_FLAVOR}
+PEAR_XML_UTIL_RUN_DEPENDS=	${PEAR_PKGNAMEPREFIX}XML_Util>=1.1.4:devel/pear-XML_Util@${PHP_FLAVOR}
+PHPUNIT_RUN_DEPENDS=	phpunit6${PHP_PKGNAMESUFFIX}>=3.2.0:devel/phpunit6@${PHP_FLAVOR}
 
 .include <bsd.port.mk>


More information about the dev-commits-ports-all mailing list