1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00

- Add LICENSE_FILE

- Add NO_ARCH
- Switch to options helpers
This commit is contained in:
Dmitry Marakasov 2016-01-10 15:56:26 +00:00
parent 4f0013a91e
commit 3412c5f252
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=405713

View File

@ -10,6 +10,7 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= PHP5 code for Mustache
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
USE_GITHUB= yes
GH_ACCOUNT= bobthecow
@ -17,6 +18,7 @@ GH_PROJECT= mustache.php
USE_PHP= yes
USE_PHP_BUILD= yes
NO_ARCH= yes
SUB_FILES= pkg-message
@ -28,6 +30,8 @@ do-build:
do-install:
@${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/mustache.php ${STAGEDIR}${DATADIR}
do-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${CP} -R ${WRKSRC}/test/fixtures/examples/* ${STAGEDIR}${EXAMPLESDIR}