forked from Lainports/freebsd-ports
textproc/pear-Text_Template: Install all files
- Fix WWW - Bump PORTREVISION for package change
This commit is contained in:
parent
962efa4ae7
commit
3b1576800d
2 changed files with 8 additions and 5 deletions
|
|
@ -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>
|
||||
|
|
|
|||
4
textproc/pear-Text_Template/pkg-plist
Normal file
4
textproc/pear-Text_Template/pkg-plist
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
%%DATADIR%%/Template.php
|
||||
%%DATADIR%%/exceptions/Exception.php
|
||||
%%DATADIR%%/exceptions/InvalidArgumentException.php
|
||||
%%DATADIR%%/exceptions/RuntimeException.php
|
||||
Loading…
Add table
Reference in a new issue