svn commit: r340616 - in head: devel devel/pear-channel-twig devel/pear-channel-twig/files www www/pear-twig www/pecl-twig

Li-Wen Hsu lwhsu at FreeBSD.org
Tue Jan 21 15:54:36 UTC 2014


Author: lwhsu
Date: Tue Jan 21 15:54:33 2014
New Revision: 340616
URL: http://svnweb.freebsd.org/changeset/ports/340616
QAT: https://qat.redports.org/buildarchive/r340616/

Log:
  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 at gmail.com>

Added:
  head/devel/pear-channel-twig/
  head/devel/pear-channel-twig/Makefile   (contents, props changed)
  head/devel/pear-channel-twig/files/
  head/devel/pear-channel-twig/files/pear.twig-project.org.reg   (contents, props changed)
  head/devel/pear-channel-twig/pkg-descr   (contents, props changed)
  head/www/pear-twig/
  head/www/pear-twig/Makefile   (contents, props changed)
  head/www/pear-twig/distinfo   (contents, props changed)
  head/www/pear-twig/pkg-descr   (contents, props changed)
  head/www/pecl-twig/
  head/www/pecl-twig/Makefile   (contents, props changed)
  head/www/pecl-twig/distinfo   (contents, props changed)
  head/www/pecl-twig/pkg-descr   (contents, props changed)
Modified:
  head/devel/Makefile
  head/www/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Tue Jan 21 15:43:06 2014	(r340615)
+++ head/devel/Makefile	Tue Jan 21 15:54:33 2014	(r340616)
@@ -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

Added: head/devel/pear-channel-twig/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/pear-channel-twig/Makefile	Tue Jan 21 15:54:33 2014	(r340616)
@@ -0,0 +1,16 @@
+# Created by: Joe Horn <joehorn at gmail.com>
+# $FreeBSD$
+
+PORTNAME=	twig
+PORTVERSION=	20140108
+CATEGORIES=	devel www pear
+MASTER_SITES=	#
+
+MAINTAINER=	joehorn at 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>

Added: head/devel/pear-channel-twig/files/pear.twig-project.org.reg
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/pear-channel-twig/files/pear.twig-project.org.reg	Tue Jan 21 15:54:33 2014	(r340616)
@@ -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";}}

Added: head/devel/pear-channel-twig/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/pear-channel-twig/pkg-descr	Tue Jan 21 15:54:33 2014	(r340616)
@@ -0,0 +1,3 @@
+PEAR channel for the Twig project
+
+WWW: http://pear.twig-project.org/

Modified: head/www/Makefile
==============================================================================
--- head/www/Makefile	Tue Jan 21 15:43:06 2014	(r340615)
+++ head/www/Makefile	Tue Jan 21 15:54:33 2014	(r340616)
@@ -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

Added: head/www/pear-twig/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/pear-twig/Makefile	Tue Jan 21 15:54:33 2014	(r340616)
@@ -0,0 +1,26 @@
+# Created by: Joe Horn <joehorn at 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 at 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>

Added: head/www/pear-twig/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/pear-twig/distinfo	Tue Jan 21 15:54:33 2014	(r340616)
@@ -0,0 +1,2 @@
+SHA256 (PEAR/Twig-1.15.0.tgz) = b5a1ae1be5fd3541f9dcf9f3f516e29262f3db18042b67a1af07bfaa26eb61ed
+SIZE (PEAR/Twig-1.15.0.tgz) = 85352

Added: head/www/pear-twig/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/pear-twig/pkg-descr	Tue Jan 21 15:54:33 2014	(r340616)
@@ -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/

Added: head/www/pecl-twig/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/pecl-twig/Makefile	Tue Jan 21 15:54:33 2014	(r340616)
@@ -0,0 +1,21 @@
+# Created by: Joe Horn <joehorn at 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 at 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>

Added: head/www/pecl-twig/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/pecl-twig/distinfo	Tue Jan 21 15:54:33 2014	(r340616)
@@ -0,0 +1,2 @@
+SHA256 (CTwig-1.15.0.tgz) = dda8f01c24c2d2ed51916668f7bc66782a7aac211a3752a80b35159bda85dfd4
+SIZE (CTwig-1.15.0.tgz) = 8835

Added: head/www/pecl-twig/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/pecl-twig/pkg-descr	Tue Jan 21 15:54:33 2014	(r340616)
@@ -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/


More information about the svn-ports-all mailing list