git: 614468bb503b - main - devel/pear-SebastianBergmann_FinderFacade: Update to 2.0.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Fri, 01 Dec 2023 22:18:23 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=614468bb503bc4336c752e3639d1a7fbff688946

commit 614468bb503bc4336c752e3639d1a7fbff688946
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-12-01 22:01:22 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-12-01 22:11:39 +0000

    devel/pear-SebastianBergmann_FinderFacade: Update to 2.0.0
    
    - Remove BUILD_DEPENDS
    - Sort RUN_DEPENDS
    
    Changes:        https://github.com/sebastianbergmann/finder-facade/blob/master/ChangeLog.md
---
 devel/pear-SebastianBergmann_FinderFacade/Makefile | 25 +++++++++-------------
 devel/pear-SebastianBergmann_FinderFacade/distinfo |  6 +++---
 2 files changed, 13 insertions(+), 18 deletions(-)

diff --git a/devel/pear-SebastianBergmann_FinderFacade/Makefile b/devel/pear-SebastianBergmann_FinderFacade/Makefile
index 2dcbd7184131..433e577e436c 100644
--- a/devel/pear-SebastianBergmann_FinderFacade/Makefile
+++ b/devel/pear-SebastianBergmann_FinderFacade/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	FinderFacade
-PORTVERSION=	1.2.3
+PORTVERSION=	2.0.0
 CATEGORIES=	devel pear
 PKGNAMEPREFIX=	${PEAR_PKGNAMEPREFIX}SebastianBergmann_
 
@@ -10,28 +10,23 @@ WWW=		https://github.com/sebastianbergmann/finder-facade
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS=	${PEAR_PKGNAMEPREFIX}TheSeer_fDOMDocument>=1.6.6:devel/pear-TheSeer_fDOMDocument@${PHP_FLAVOR} \
-		${PEAR_PKGNAMEPREFIX}Symfony_Component_Finder>=2.3.4:devel/pear-Symfony_Component_Finder@${PHP_FLAVOR} \
+RUN_DEPENDS=	${PEAR_PKGNAMEPREFIX}Symfony_Component_Finder>=0:devel/pear-Symfony_Component_Finder@${PHP_FLAVOR} \
+		${PEAR_PKGNAMEPREFIX}TheSeer_fDOMDocument>=0:devel/pear-TheSeer_fDOMDocument@${PHP_FLAVOR}
 
-RUN_DEPENDS=	${PEAR_PKGNAMEPREFIX}TheSeer_fDOMDocument>=1.6.6:devel/pear-TheSeer_fDOMDocument@${PHP_FLAVOR} \
-		${PEAR_PKGNAMEPREFIX}Symfony_Component_Finder>=2.3.4:devel/pear-Symfony_Component_Finder@${PHP_FLAVOR} \
+USES=		pear:env
 
 NO_ARCH=	yes
+NO_BUILD=	yes
+
+PORTDATA=	Configuration.php \
+		FinderFacade.php
 
-USES=		pear:env
 USE_GITHUB=	yes
 GH_ACCOUNT=	sebastianbergmann
 GH_PROJECT=	finder-facade
 
-NO_BUILD=	yes
-
-PHP_DIR=	share/PHP
-
-PLIST_FILES=	${PHP_DIR}/${PORTNAME}/FinderFacade.php
-
 do-install:
-	${MKDIR} ${STAGEDIR}${PREFIX}/${PHP_DIR}/${PORTNAME}
-	${INSTALL_SCRIPT} ${WRKSRC}/src/FinderFacade.php \
-		${STAGEDIR}${PREFIX}/${PHP_DIR}/${PORTNAME}
+	${MKDIR} ${STAGEDIR}${DATADIR}
+	cd ${WRKSRC}/src/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}
 
 .include <bsd.port.mk>
diff --git a/devel/pear-SebastianBergmann_FinderFacade/distinfo b/devel/pear-SebastianBergmann_FinderFacade/distinfo
index e6c48242e5a5..ae1808aedd04 100644
--- a/devel/pear-SebastianBergmann_FinderFacade/distinfo
+++ b/devel/pear-SebastianBergmann_FinderFacade/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1580819597
-SHA256 (sebastianbergmann-finder-facade-1.2.3_GH0.tar.gz) = 1251580369f78e43911c488f21022eb3550502b9a1b839e47460b17feb9018b9
-SIZE (sebastianbergmann-finder-facade-1.2.3_GH0.tar.gz) = 4256
+TIMESTAMP = 1701363680
+SHA256 (sebastianbergmann-finder-facade-2.0.0_GH0.tar.gz) = 4d201cb6a89b7eeacd15574bef7a154b6c6feebc983d0b539e06ee143662e847
+SIZE (sebastianbergmann-finder-facade-2.0.0_GH0.tar.gz) = 6359