git: e18837cc0d74 - main - devel/pear-SebastianBergmann_Version: Update to 4.0.1

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

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

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

    devel/pear-SebastianBergmann_Version: Update to 4.0.1
    
    Changes:        https://github.com/sebastianbergmann/version/blob/main/ChangeLog.md
---
 devel/pear-SebastianBergmann_Version/Makefile | 16 ++++++++--------
 devel/pear-SebastianBergmann_Version/distinfo |  6 +++---
 2 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/devel/pear-SebastianBergmann_Version/Makefile b/devel/pear-SebastianBergmann_Version/Makefile
index 1f34d244c858..e15633df26dc 100644
--- a/devel/pear-SebastianBergmann_Version/Makefile
+++ b/devel/pear-SebastianBergmann_Version/Makefile
@@ -1,28 +1,28 @@
 PORTNAME=	Version
-DISTVERSION=	2.0.1
+PORTVERSION=	4.0.1
 CATEGORIES=	devel pear
 PKGNAMEPREFIX=	${PEAR_PKGNAMEPREFIX}SebastianBergmann_
 
 MAINTAINER=	sunpoet@FreeBSD.org
-COMMENT=	Managing the version number of Git-hosted PHP projects
+COMMENT=	Manage the version number of Git-hosted PHP projects
 WWW=		https://github.com/sebastianbergmann/version
 
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-USES=	pear:env
-USE_GITHUB=	yes
-GH_ACCOUNT=	sebastianbergmann
-GH_PROJECT=	${PORTNAME:tl}
+USES=		pear:env
 
 NO_ARCH=	yes
-
 NO_BUILD=	yes
 
 PLIST_FILES=	${DATADIR}/Version.php
 
+USE_GITHUB=	yes
+GH_ACCOUNT=	sebastianbergmann
+GH_PROJECT=	version
+
 do-install:
 	${MKDIR} ${STAGEDIR}${DATADIR}
-	${INSTALL_DATA} ${WRKSRC}/src/Version.php ${STAGEDIR}${DATADIR}
+	cd ${WRKSRC}/src/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}
 
 .include <bsd.port.mk>
diff --git a/devel/pear-SebastianBergmann_Version/distinfo b/devel/pear-SebastianBergmann_Version/distinfo
index 7e7f667a0d62..eb53d7e095b2 100644
--- a/devel/pear-SebastianBergmann_Version/distinfo
+++ b/devel/pear-SebastianBergmann_Version/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1512673059
-SHA256 (sebastianbergmann-version-2.0.1_GH0.tar.gz) = 95528613681183eb8eca91b5e786da28cdd62effa35652792578b1ca6b730212
-SIZE (sebastianbergmann-version-2.0.1_GH0.tar.gz) = 3581
+TIMESTAMP = 1701363688
+SHA256 (sebastianbergmann-version-4.0.1_GH0.tar.gz) = 8a6f657ab30eed07b06029be50738212c06a2f89a7cce128646f21ffdd3a34af
+SIZE (sebastianbergmann-version-4.0.1_GH0.tar.gz) = 3677