2013-07-22 18:55:37 +00:00
|
|
|
# Created by: Steve Polyack <spolyack@collaborativefusion.com>
|
2011-11-06 14:41:49 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= phpmustache
|
2013-07-22 18:55:37 +00:00
|
|
|
PORTVERSION= 2.4.0
|
2011-11-06 14:41:49 +00:00
|
|
|
CATEGORIES= www
|
2013-07-22 18:55:37 +00:00
|
|
|
MASTER_SITES= GH
|
2011-11-06 14:41:49 +00:00
|
|
|
|
|
|
|
MAINTAINER= spolyack@collaborativefusion.com
|
|
|
|
COMMENT= PHP5 code for Mustache
|
|
|
|
|
2013-07-22 18:55:37 +00:00
|
|
|
LICENSE= MIT
|
2011-11-06 14:41:49 +00:00
|
|
|
|
2013-07-22 18:55:37 +00:00
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= bobthecow
|
|
|
|
GH_PROJECT= mustache.php
|
|
|
|
GH_TAGNAME= v2.4.0
|
|
|
|
GH_COMMIT= 8433da6
|
|
|
|
|
|
|
|
USE_PHP= yes
|
|
|
|
USE_PHP_BUILD= yes
|
2011-11-06 14:41:49 +00:00
|
|
|
|
|
|
|
SUB_FILES= pkg-message
|
|
|
|
|
2013-09-20 23:36:50 +00:00
|
|
|
NO_STAGE= yes
|
2013-07-22 18:55:37 +00:00
|
|
|
do-build:
|
|
|
|
@${WRKSRC}/bin/build_bootstrap.php
|
|
|
|
|
2011-11-06 14:41:49 +00:00
|
|
|
do-install:
|
|
|
|
@${MKDIR} ${DATADIR}
|
2013-07-22 18:55:37 +00:00
|
|
|
@${INSTALL_DATA} ${WRKSRC}/mustache.php ${DATADIR}
|
2011-11-06 14:41:49 +00:00
|
|
|
.if !defined(NOPORTEXAMPLES)
|
|
|
|
@${MKDIR} ${EXAMPLESDIR}
|
2013-07-22 18:55:37 +00:00
|
|
|
@${CP} -R ${WRKSRC}/test/fixtures/examples/* ${EXAMPLESDIR}
|
2011-11-06 14:41:49 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|