git: dacd5765a921 - main - devel/pear-SebastianBergmann_Git: Update to 2.1.4

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

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

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

    devel/pear-SebastianBergmann_Git: Update to 2.1.4
    
    - Add NO_ARCH
    
    Changes:        https://github.com/sebastianbergmann/git/commits/master
---
 devel/pear-SebastianBergmann_Git/Makefile | 24 ++++++++++++------------
 devel/pear-SebastianBergmann_Git/distinfo |  6 +++---
 2 files changed, 15 insertions(+), 15 deletions(-)

diff --git a/devel/pear-SebastianBergmann_Git/Makefile b/devel/pear-SebastianBergmann_Git/Makefile
index 55858da6ae0a..4872f2c0cc38 100644
--- a/devel/pear-SebastianBergmann_Git/Makefile
+++ b/devel/pear-SebastianBergmann_Git/Makefile
@@ -1,30 +1,30 @@
 PORTNAME=	Git
-PORTVERSION=	1.2.0
-PORTREVISION=	1
+PORTVERSION=	2.1.4
 CATEGORIES=	devel pear
 PKGNAMEPREFIX=	${PEAR_PKGNAMEPREFIX}SebastianBergmann_
 
 MAINTAINER=	sunpoet@FreeBSD.org
-COMMENT=	Simple wrapper for Git
+COMMENT=	Simple PHP wrapper for Git
 WWW=		https://github.com/sebastianbergmann/git
 
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-USES=	pear:env
-USE_GITHUB=	yes
-GH_ACCOUNT=	sebastianbergmann
-GH_PROJECT=	git
+USES=		pear:env
 
+NO_ARCH=	yes
 NO_BUILD=	yes
 
-PHP_DIR=	share/PHP
+PORTDATA=	Exception/Exception.php \
+		Exception/RuntimeException.php \
+		Git.php
 
-PLIST_FILES=	${PHP_DIR}/${PORTNAME}/Git.php
+USE_GITHUB=	yes
+GH_ACCOUNT=	sebastianbergmann
+GH_PROJECT=	git
 
 do-install:
-	${MKDIR} ${STAGEDIR}${PREFIX}/${PHP_DIR}/${PORTNAME}
-	${INSTALL_SCRIPT} ${WRKSRC}/src/Git.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_Git/distinfo b/devel/pear-SebastianBergmann_Git/distinfo
index ed23bc2bd4ca..453a0cad03f3 100644
--- a/devel/pear-SebastianBergmann_Git/distinfo
+++ b/devel/pear-SebastianBergmann_Git/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1503836008
-SHA256 (sebastianbergmann-git-1.2.0_GH0.tar.gz) = f0413815174c5797dc619dd038dbce3200ce6a64c11c6d820a1303b7bd7d7d12
-SIZE (sebastianbergmann-git-1.2.0_GH0.tar.gz) = 4479
+TIMESTAMP = 1701363682
+SHA256 (sebastianbergmann-git-2.1.4_GH0.tar.gz) = 711546338c56d5c82f0d9fe5ecae5df0a02f7b76914fdaacfade42cc3eabca2d
+SIZE (sebastianbergmann-git-2.1.4_GH0.tar.gz) = 3251