git: 3b1576800d2f - main - textproc/pear-Text_Template: Install all files
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 01 Dec 2023 22:18:30 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=3b1576800d2fbfc5ee96a43a3e59863a9ead3f52 commit 3b1576800d2fbfc5ee96a43a3e59863a9ead3f52 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2023-12-01 22:01:30 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2023-12-01 22:11:40 +0000 textproc/pear-Text_Template: Install all files - Fix WWW - Bump PORTREVISION for package change --- textproc/pear-Text_Template/Makefile | 9 ++++----- textproc/pear-Text_Template/pkg-plist | 4 ++++ 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/textproc/pear-Text_Template/Makefile b/textproc/pear-Text_Template/Makefile index acfee9e505ea..f5461e9d0015 100644 --- a/textproc/pear-Text_Template/Makefile +++ b/textproc/pear-Text_Template/Makefile @@ -1,11 +1,12 @@ PORTNAME= Text_Template PORTVERSION= 3.0.1 +PORTREVISION= 1 CATEGORIES= textproc www pear PKGNAMEPREFIX= ${PEAR_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Simple template engine -WWW= https://pear.phpunit.de/ +WWW= https://github.com/sebastianbergmann/php-text-template LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE @@ -15,14 +16,12 @@ USES= pear:env NO_ARCH= yes NO_BUILD= yes -PLIST_FILES= share/PHP/Text_Template/Template.php - USE_GITHUB= yes GH_ACCOUNT= sebastianbergmann GH_PROJECT= php-text-template do-install: - ${MKDIR} ${STAGEDIR}${PREFIX}/share/PHP/Text_Template - ${INSTALL_SCRIPT} ${WRKSRC}/src/Template.php ${STAGEDIR}${PREFIX}/share/PHP/Text_Template + ${MKDIR} ${STAGEDIR}${DATADIR} + cd ${WRKSRC}/src/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR} .include <bsd.port.mk> diff --git a/textproc/pear-Text_Template/pkg-plist b/textproc/pear-Text_Template/pkg-plist new file mode 100644 index 000000000000..9f7b1224ffd4 --- /dev/null +++ b/textproc/pear-Text_Template/pkg-plist @@ -0,0 +1,4 @@ +%%DATADIR%%/Template.php +%%DATADIR%%/exceptions/Exception.php +%%DATADIR%%/exceptions/InvalidArgumentException.php +%%DATADIR%%/exceptions/RuntimeException.php