mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-01 05:45:45 +00:00
39 lines
742 B
Makefile
39 lines
742 B
Makefile
# Created by: Steve Polyack <spolyack@collaborativefusion.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= phpmustache
|
|
PORTVERSION= 2.12.0
|
|
DISTVERSIONPREFIX= v
|
|
CATEGORIES= www
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= PHP5 code for Mustache
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= bobthecow
|
|
GH_PROJECT= mustache.php
|
|
|
|
USES= php:build
|
|
NO_ARCH= yes
|
|
|
|
SUB_FILES= pkg-message
|
|
|
|
OPTIONS_DEFINE= EXAMPLES
|
|
|
|
do-build:
|
|
@${WRKSRC}/bin/build_bootstrap.php
|
|
|
|
do-install:
|
|
@${MKDIR} ${STAGEDIR}${DATADIR}
|
|
${INSTALL_DATA} ${WRKSRC}/mustache.php ${STAGEDIR}${DATADIR}
|
|
|
|
do-install-EXAMPLES-on:
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
(cd ${WRKSRC}/test/fixtures/examples && ${COPYTREE_SHARE} . \
|
|
${STAGEDIR}${EXAMPLESDIR})
|
|
|
|
.include <bsd.port.mk>
|