1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00

Add devel/pear-channel-twig, www/pecl-twig, www/pear-twig:

TWIG: The flexible, fast, and secure template engine for PHP

PR:		ports/181848
Submitted by:	Joe Horn <joehorn@gmail.com>
This commit is contained in:
Li-Wen Hsu 2014-01-21 15:54:33 +00:00
parent b263489852
commit 2567b37251
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=340616
11 changed files with 94 additions and 0 deletions

View File

@ -3266,6 +3266,7 @@
SUBDIR += pear-channel-symfony
SUBDIR += pear-channel-symfony2
SUBDIR += pear-channel-theseer
SUBDIR += pear-channel-twig
SUBDIR += pear-codegen
SUBDIR += pear-ezc_Base
SUBDIR += pear-ezc_ConsoleTools

View File

@ -0,0 +1,16 @@
# Created by: Joe Horn <joehorn@gmail.com>
# $FreeBSD$
PORTNAME= twig
PORTVERSION= 20140108
CATEGORIES= devel www pear
MASTER_SITES= #
MAINTAINER= joehorn@gmail.com
COMMENT= PEAR channel ${PEAR_CHANNEL_HOST}
PEAR_CHANNEL_HOST= pear.twig-project.org
.include <bsd.port.pre.mk>
.include "${PORTSDIR}/devel/pear/bsd.pear.channel.mk"
.include <bsd.port.post.mk>

View File

@ -0,0 +1 @@
a:6:{s:7:"attribs";a:4:{s:7:"version";s:3:"1.0";s:5:"xmlns";s:31:"http://pear.php.net/channel-1.0";s:9:"xmlns:xsi";s:41:"http://www.w3.org/2001/XMLSchema-instance";s:18:"xsi:schemaLocation";s:71:"http://pear.php.net/channel-1.0 http://pear.php.net/dtd/channel-1.0.xsd";}s:4:"name";s:21:"pear.twig-project.org";s:7:"summary";s:17:"Twig PEAR channel";s:14:"suggestedalias";s:4:"twig";s:7:"servers";a:1:{s:7:"primary";a:1:{s:4:"rest";a:1:{s:7:"baseurl";a:4:{i:0;a:2:{s:7:"attribs";a:1:{s:4:"type";s:7:"REST1.0";}s:8:"_content";s:34:"http://pear.twig-project.org/rest/";}i:1;a:2:{s:7:"attribs";a:1:{s:4:"type";s:7:"REST1.1";}s:8:"_content";s:34:"http://pear.twig-project.org/rest/";}i:2;a:2:{s:7:"attribs";a:1:{s:4:"type";s:7:"REST1.2";}s:8:"_content";s:34:"http://pear.twig-project.org/rest/";}i:3;a:2:{s:7:"attribs";a:1:{s:4:"type";s:7:"REST1.3";}s:8:"_content";s:34:"http://pear.twig-project.org/rest/";}}}}}s:13:"_lastmodified";a:2:{s:4:"ETag";s:34:""b6081822f47306f9e8f03c7681457669"";s:13:"Last-Modified";s:29:"Wed, 23 Jan 2013 14:45:17 GMT";}}

View File

@ -0,0 +1,3 @@
PEAR channel for the Twig project
WWW: http://pear.twig-project.org/

View File

@ -1401,6 +1401,7 @@
SUBDIR += pear-Text_Wiki
SUBDIR += pear-UDDI
SUBDIR += pear-XML_GRDDL
SUBDIR += pear-twig
SUBDIR += pebble
SUBDIR += pecl-APC
SUBDIR += pecl-amfext
@ -1408,6 +1409,7 @@
SUBDIR += pecl-solr
SUBDIR += pecl-sphinx
SUBDIR += pecl-swish
SUBDIR += pecl-twig
SUBDIR += pecl-yaf
SUBDIR += pecl-yar
SUBDIR += pecl-zendopcache

26
www/pear-twig/Makefile Normal file
View File

@ -0,0 +1,26 @@
# Created by: Joe Horn <joehorn@gmail.com>
# $FreeBSD$
PORTNAME= twig
PORTVERSION= 1.15.0
CATEGORIES= www pear
MASTER_SITES= http://pear.twig-project.org/get/
DISTNAME= Twig-${PORTVERSION}
MAINTAINER= joehorn@gmail.com
COMMENT= The flexible, fast, and secure template engine for PHP
LICENSE= BSD
BUILD_DEPENDS= ${PEARDIR}/.channels/pear.twig-project.org.reg:${PORTSDIR}/devel/pear-channel-twig
RUN_DEPENDS= ${PEARDIR}/.channels/pear.twig-project.org.reg:${PORTSDIR}/devel/pear-channel-twig
PEAR_CHANNEL= twig
PEAR_AUTOINSTALL= yes
USE_PHP= ctype hash
WANT_PHP_CLI= yes
.include <bsd.port.pre.mk>
.include "${PORTSDIR}/devel/pear/bsd.pear.mk"
.include <bsd.port.post.mk>

2
www/pear-twig/distinfo Normal file
View File

@ -0,0 +1,2 @@
SHA256 (PEAR/Twig-1.15.0.tgz) = b5a1ae1be5fd3541f9dcf9f3f516e29262f3db18042b67a1af07bfaa26eb61ed
SIZE (PEAR/Twig-1.15.0.tgz) = 85352

15
www/pear-twig/pkg-descr Normal file
View File

@ -0,0 +1,15 @@
Twig is a modern template engine for PHP.
* 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/

21
www/pecl-twig/Makefile Normal file
View File

@ -0,0 +1,21 @@
# Created by: Joe Horn <joehorn@gmail.com>
# $FreeBSD$
PORTNAME= twig
PORTVERSION= 1.15.0
CATEGORIES= www
MASTER_SITES= http://pear.twig-project.org/get/
PKGNAMEPREFIX= pecl-
DISTNAME= CTwig-${PORTVERSION}
EXTRACT_SUFX= .tgz
MAINTAINER= joehorn@gmail.com
COMMENT= Twig C extension to improve performance of the Twig template language
LICENSE= BSD
USE_PHP= yes
USE_PHPIZE= yes
USE_PHPEXT= yes
.include <bsd.port.mk>

2
www/pecl-twig/distinfo Normal file
View File

@ -0,0 +1,2 @@
SHA256 (CTwig-1.15.0.tgz) = dda8f01c24c2d2ed51916668f7bc66782a7aac211a3752a80b35159bda85dfd4
SIZE (CTwig-1.15.0.tgz) = 8835

5
www/pecl-twig/pkg-descr Normal file
View File

@ -0,0 +1,5 @@
Twig is a flexible, fast, and secure template engine for PHP.
This C extension to improve performance of the Twig template language.
WWW: http://twig.sensiolabs.org/