git: 055de313485b - main - devel/pear-SebastianBergmann_PHPCPD: Update to 6.0.3

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

URL: https://cgit.FreeBSD.org/ports/commit/?id=055de313485bc8a7c725b2723756328c5f5937d7

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

    devel/pear-SebastianBergmann_PHPCPD: Update to 6.0.3
    
    - Remove BUILD_DEPENDS
    - Sort RUN_DEPENDS
    - Remove USES=php
    
    Changes:        https://github.com/sebastianbergmann/phpcpd/blob/main/ChangeLog.md
---
 devel/pear-SebastianBergmann_PHPCPD/Makefile  | 22 +++++++++-------------
 devel/pear-SebastianBergmann_PHPCPD/distinfo  |  6 +++---
 devel/pear-SebastianBergmann_PHPCPD/pkg-plist | 15 +++++++++++++++
 3 files changed, 27 insertions(+), 16 deletions(-)

diff --git a/devel/pear-SebastianBergmann_PHPCPD/Makefile b/devel/pear-SebastianBergmann_PHPCPD/Makefile
index 3e5840967011..3776ded4bd79 100644
--- a/devel/pear-SebastianBergmann_PHPCPD/Makefile
+++ b/devel/pear-SebastianBergmann_PHPCPD/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	PHPCPD
-DISTVERSION=	2.0.0
+PORTVERSION=	6.0.3
 CATEGORIES=	devel pear
 PKGNAMEPREFIX=	${PEAR_PKGNAMEPREFIX}SebastianBergmann_
 
@@ -10,26 +10,22 @@ WWW=		https://github.com/sebastianbergmann/phpcpd
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS=	${PEAR_PKGNAMEPREFIX}ezc_ConsoleTools>=1.6.1:devel/pear-ezc_ConsoleTools@${PHP_FLAVOR} \
-		${PEAR_PKGNAMEPREFIX}SebastianBergmann_FinderFacade>=1.2.2:devel/pear-SebastianBergmann_FinderFacade@${PHP_FLAVOR} \
-		${PEAR_PKGNAMEPREFIX}PHP_Timer>=1.0.9:devel/pear-PHP_Timer@${PHP_FLAVOR}
-RUN_DEPENDS=	${PEAR_PKGNAMEPREFIX}ezc_ConsoleTools>=1.6.1:devel/pear-ezc_ConsoleTools@${PHP_FLAVOR} \
-		${PEAR_PKGNAMEPREFIX}SebastianBergmann_FinderFacade>=1.2.2:devel/pear-SebastianBergmann_FinderFacade@${PHP_FLAVOR} \
-		${PEAR_PKGNAMEPREFIX}PHP_Timer>=1.0.9:devel/pear-PHP_Timer@${PHP_FLAVOR}
+RUN_DEPENDS=	${PEAR_PKGNAMEPREFIX}PHP_Timer>=0:devel/pear-PHP_Timer@${PHP_FLAVOR} \
+		${PEAR_PKGNAMEPREFIX}SebastianBergmann_FinderFacade>=0:devel/pear-SebastianBergmann_FinderFacade@${PHP_FLAVOR} \
+		${PEAR_PKGNAMEPREFIX}ezc_ConsoleTools>=0:devel/pear-ezc_ConsoleTools@${PHP_FLAVOR}
 
-USES=	php pear:env
-USE_GITHUB=	yes
-GH_ACCOUNT=	sebastianbergmann
-GH_PROJECT=	${PORTNAME:tl}
+USES=		pear:env
 USE_PHP=	tokenizer
 
 NO_ARCH=	yes
 NO_BUILD=	yes
 
-PLIST_FILES=	${DATADIR}/phpcpd.php
+USE_GITHUB=	yes
+GH_ACCOUNT=	sebastianbergmann
+GH_PROJECT=	phpcpd
 
 do-install:
 	${MKDIR} ${STAGEDIR}${DATADIR}
-	${INSTALL_DATA} ${WRKSRC}/phpcpd.php ${STAGEDIR}${DATADIR}
+	cd ${WRKSRC}/src/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}
 
 .include <bsd.port.mk>
diff --git a/devel/pear-SebastianBergmann_PHPCPD/distinfo b/devel/pear-SebastianBergmann_PHPCPD/distinfo
index a65f4e1467e2..6e174e22761e 100644
--- a/devel/pear-SebastianBergmann_PHPCPD/distinfo
+++ b/devel/pear-SebastianBergmann_PHPCPD/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1512468963
-SHA256 (sebastianbergmann-phpcpd-2.0.0_GH0.tar.gz) = 102f309ee517e1c021504d3f5823482a1869eee6b5d8b770e904bf4b179d2646
-SIZE (sebastianbergmann-phpcpd-2.0.0_GH0.tar.gz) = 14885
+TIMESTAMP = 1701363684
+SHA256 (sebastianbergmann-phpcpd-6.0.3_GH0.tar.gz) = 426100318fa97ed3ab6baa4ad3b9677e3f92967ab15037cae3f65cb3a4e9a0b1
+SIZE (sebastianbergmann-phpcpd-6.0.3_GH0.tar.gz) = 10490
diff --git a/devel/pear-SebastianBergmann_PHPCPD/pkg-plist b/devel/pear-SebastianBergmann_PHPCPD/pkg-plist
new file mode 100644
index 000000000000..00dda2a70d26
--- /dev/null
+++ b/devel/pear-SebastianBergmann_PHPCPD/pkg-plist
@@ -0,0 +1,15 @@
+%%DATADIR%%/CLI/Application.php
+%%DATADIR%%/CLI/Arguments.php
+%%DATADIR%%/CLI/ArgumentsBuilder.php
+%%DATADIR%%/CodeClone.php
+%%DATADIR%%/CodeCloneFile.php
+%%DATADIR%%/CodeCloneMap.php
+%%DATADIR%%/CodeCloneMapIterator.php
+%%DATADIR%%/Detector/Detector.php
+%%DATADIR%%/Detector/Strategy/AbstractStrategy.php
+%%DATADIR%%/Detector/Strategy/DefaultStrategy.php
+%%DATADIR%%/Exceptions/ArgumentsBuilderException.php
+%%DATADIR%%/Exceptions/Exception.php
+%%DATADIR%%/Log/AbstractXmlLogger.php
+%%DATADIR%%/Log/PMD.php
+%%DATADIR%%/Log/Text.php