git: 851aa4beec43 - main - textproc/pear-Text_Template: Update to 3.0.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Tue, 21 Mar 2023 19:26:18 UTC
The branch main has been updated by sunpoet:

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

commit 851aa4beec43251c5b540569e3a4199f14316776
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-03-21 18:42:11 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-03-21 19:20:25 +0000

    textproc/pear-Text_Template: Update to 3.0.0
    
    Changes:        https://github.com/sebastianbergmann/php-text-template/blob/main/ChangeLog.md
---
 textproc/pear-Text_Template/Makefile | 18 +++++++++---------
 textproc/pear-Text_Template/distinfo |  6 +++---
 2 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/textproc/pear-Text_Template/Makefile b/textproc/pear-Text_Template/Makefile
index 11dad55e0e60..6ed146894168 100644
--- a/textproc/pear-Text_Template/Makefile
+++ b/textproc/pear-Text_Template/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	Text_Template
-PORTVERSION=	2.0.4
+PORTVERSION=	3.0.0
 CATEGORIES=	textproc www pear
 PKGNAMEPREFIX=	${PEAR_PKGNAMEPREFIX}
 
@@ -11,18 +11,18 @@ LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
 USES=		pear:env
-USE_GITHUB=	yes
-GH_ACCOUNT=	sebastianbergmann
-GH_PROJECT=	php-text-template
 
 NO_ARCH=	yes
 NO_BUILD=	yes
-PHP_DIR=	share/PHP
-PLIST_FILES=	${PHP_DIR}/${PORTNAME}/Template.php
+
+PLIST_FILES=	share/PHP/Text_Template/Template.php
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	sebastianbergmann
+GH_PROJECT=	php-text-template
 
 do-install:
-	${MKDIR} ${STAGEDIR}${PREFIX}/${PHP_DIR}/${PORTNAME}
-	${INSTALL_SCRIPT} ${WRKSRC}/src/Template.php \
-		${STAGEDIR}${PREFIX}/${PHP_DIR}/${PORTNAME}
+	${MKDIR} ${STAGEDIR}${PREFIX}/share/PHP/Text_Template
+	${INSTALL_SCRIPT} ${WRKSRC}/src/Template.php ${STAGEDIR}${PREFIX}/share/PHP/Text_Template
 
 .include <bsd.port.mk>
diff --git a/textproc/pear-Text_Template/distinfo b/textproc/pear-Text_Template/distinfo
index 871b2fb24c5e..94d07ee54784 100644
--- a/textproc/pear-Text_Template/distinfo
+++ b/textproc/pear-Text_Template/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1621495199
-SHA256 (sebastianbergmann-php-text-template-2.0.4_GH0.tar.gz) = 07c3376b6cb61547bf1dded46257c5cf6d1608e350ccb9d5004435938dccfbc5
-SIZE (sebastianbergmann-php-text-template-2.0.4_GH0.tar.gz) = 3391
+TIMESTAMP = 1677771163
+SHA256 (sebastianbergmann-php-text-template-3.0.0_GH0.tar.gz) = 4bbfeb9d6ea731812d4bb38106e0c212018224e9bc9e366cf1754a5c178a8fa9
+SIZE (sebastianbergmann-php-text-template-3.0.0_GH0.tar.gz) = 3618