mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-25 00:51:21 +00:00
3bb7e578ba
Fast: Twig compiles templates down to plain optimized PHP code. The overhead compared to regular PHP code was reduced to the very minimum. Secure: Twig has a sandbox mode to evaluate untrusted template code. This allows Twig to be used as a template language for applications where users may modify the template design. Flexible: Twig is powered by a flexible lexer and parser. This allows the developer to define its own custom tags and filters, and create its own DSL. WWW: http://twig.sensiolabs.org/ PR: ports/180256 Submitted by: ports@michael-fausten.de
22 lines
446 B
Makefile
22 lines
446 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= twig
|
|
PORTVERSION= 1.13.1
|
|
CATEGORIES= www
|
|
MASTER_SITES= http://pear.twig-project.org/get/
|
|
PKGNAMESUFFIX= -php
|
|
DISTNAME= Twig-${PORTVERSION}
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= ports@michael-fausten.de
|
|
COMMENT= Fast, secure, flexible and modern template engine for PHP
|
|
|
|
NO_BUILD= yes
|
|
USE_PHP= yes
|
|
|
|
do-install:
|
|
${MKDIR} ${STAGEDIR}${DATADIR}
|
|
(cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR})
|
|
|
|
.include <bsd.port.mk>
|