git: 2fd9ca5bfbeb - main - devel/pear-SebastianBergmann_PHPLOC: Update to 7.0.2

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

URL: https://cgit.FreeBSD.org/ports/commit/?id=2fd9ca5bfbebce28a2c483f1e74353bb0f8820d5

commit 2fd9ca5bfbebce28a2c483f1e74353bb0f8820d5
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-12-01 22:01:25 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-12-01 22:11:40 +0000

    devel/pear-SebastianBergmann_PHPLOC: Update to 7.0.2
    
    - Sort RUN_DEPENDS
    - Remove USES=php
    
    Changes:        https://github.com/sebastianbergmann/phploc/blob/main/ChangeLog.md
---
 devel/pear-SebastianBergmann_PHPLOC/Makefile  | 22 ++++++++++------------
 devel/pear-SebastianBergmann_PHPLOC/distinfo  |  6 +++---
 devel/pear-SebastianBergmann_PHPLOC/pkg-plist | 13 +++++++++++++
 3 files changed, 26 insertions(+), 15 deletions(-)

diff --git a/devel/pear-SebastianBergmann_PHPLOC/Makefile b/devel/pear-SebastianBergmann_PHPLOC/Makefile
index 000cc0bae9be..01fd67b396af 100644
--- a/devel/pear-SebastianBergmann_PHPLOC/Makefile
+++ b/devel/pear-SebastianBergmann_PHPLOC/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	PHPLOC
-DISTVERSION=	4.0.1
+PORTVERSION=	7.0.2
 CATEGORIES=	devel pear
 PKGNAMEPREFIX=	${PEAR_PKGNAMEPREFIX}SebastianBergmann_
 
@@ -10,24 +10,22 @@ WWW=		https://github.com/sebastianbergmann/phploc
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-RUN_DEPENDS=	${PEAR_PKGNAMEPREFIX}Symfony_Component_Console>=2.4.4:devel/pear-Symfony_Component_Console@${PHP_FLAVOR} \
-		${PEAR_PKGNAMEPREFIX}SebastianBergmann_FinderFacade>=1.2.2:devel/pear-SebastianBergmann_FinderFacade@${PHP_FLAVOR} \
-		${PEAR_PKGNAMEPREFIX}SebastianBergmann_Git>=1.2.0:devel/pear-SebastianBergmann_Git@${PHP_FLAVOR} \
-		${PEAR_PKGNAMEPREFIX}SebastianBergmann_Version>=2.0.1:devel/pear-SebastianBergmann_Version@${PHP_FLAVOR} \
+RUN_DEPENDS=	${PEAR_PKGNAMEPREFIX}SebastianBergmann_FinderFacade>=0:devel/pear-SebastianBergmann_FinderFacade@${PHP_FLAVOR} \
+		${PEAR_PKGNAMEPREFIX}SebastianBergmann_Git>=0:devel/pear-SebastianBergmann_Git@${PHP_FLAVOR} \
+		${PEAR_PKGNAMEPREFIX}SebastianBergmann_Version>=0:devel/pear-SebastianBergmann_Version@${PHP_FLAVOR} \
+		${PEAR_PKGNAMEPREFIX}Symfony_Component_Console>=0:devel/pear-Symfony_Component_Console@${PHP_FLAVOR}
 
-USES=	php pear:env
-USE_GITHUB=	yes
-GH_ACCOUNT=	sebastianbergmann
-GH_PROJECT=	${PORTNAME:tl}
+USES=		pear:env
 
 NO_ARCH=	yes
-
 NO_BUILD=	yes
 
-PLIST_FILES=	${DATADIR}/Publisher.php
+USE_GITHUB=	yes
+GH_ACCOUNT=	sebastianbergmann
+GH_PROJECT=	phploc
 
 do-install:
 	${MKDIR} ${STAGEDIR}${DATADIR}
-	${INSTALL_DATA} ${WRKSRC}/src/Publisher.php ${STAGEDIR}${DATADIR}
+	cd ${WRKSRC}/src/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}
 
 .include <bsd.port.mk>
diff --git a/devel/pear-SebastianBergmann_PHPLOC/distinfo b/devel/pear-SebastianBergmann_PHPLOC/distinfo
index 97060ee6c8b0..590b70e2e90a 100644
--- a/devel/pear-SebastianBergmann_PHPLOC/distinfo
+++ b/devel/pear-SebastianBergmann_PHPLOC/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1514590935
-SHA256 (sebastianbergmann-phploc-4.0.1_GH0.tar.gz) = 2ec4ae45fa0c703537a97e2ccfb6822552b6ef4658588d1e4a289803dba1da3a
-SIZE (sebastianbergmann-phploc-4.0.1_GH0.tar.gz) = 18798
+TIMESTAMP = 1701363686
+SHA256 (sebastianbergmann-phploc-7.0.2_GH0.tar.gz) = 2c372f6d0f44436e973bbc7f47e8dfb690159cd76a5729cf241dc988f5dd5af0
+SIZE (sebastianbergmann-phploc-7.0.2_GH0.tar.gz) = 14152
diff --git a/devel/pear-SebastianBergmann_PHPLOC/pkg-plist b/devel/pear-SebastianBergmann_PHPLOC/pkg-plist
new file mode 100644
index 000000000000..260e5bd9bb7c
--- /dev/null
+++ b/devel/pear-SebastianBergmann_PHPLOC/pkg-plist
@@ -0,0 +1,13 @@
+%%DATADIR%%/Analyser.php
+%%DATADIR%%/CLI/Application.php
+%%DATADIR%%/CLI/Arguments.php
+%%DATADIR%%/CLI/ArgumentsBuilder.php
+%%DATADIR%%/Collector.php
+%%DATADIR%%/Exception/ArgumentsBuilderException.php
+%%DATADIR%%/Exception/Exception.php
+%%DATADIR%%/Exception/RuntimeException.php
+%%DATADIR%%/Log/Csv.php
+%%DATADIR%%/Log/Json.php
+%%DATADIR%%/Log/Text.php
+%%DATADIR%%/Log/Xml.php
+%%DATADIR%%/Publisher.php