ports/75818: New port: devel/pear-HTML_Template_Flexy An extremely powerful Tokenizer driven Template engine

Antonio Carlos Venancio Junior antonio at php.net
Tue Jan 4 20:30:27 UTC 2005


>Number:         75818
>Category:       ports
>Synopsis:       New port: devel/pear-HTML_Template_Flexy An extremely powerful Tokenizer driven Template engine
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 04 20:30:26 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Antônio Carlos Venâncio Júnior
>Release:        FreeBSD 4.11-STABLE i386
>Organization:
>Environment:
System: FreeBSD antonio.cb.sc.gov.br 4.11-STABLE FreeBSD 4.11-STABLE #7: Tue Jan  4 16:04:29 BRST 2005     root at antonio.cb.sc.gov.br:/usr/src/sys/compile/ANTONIO  i386
>Description:
New port: devel/pear-HTML_Template_Flexy An extremely powerful Tokenizer driven Template engine

HTML_Template_Flexy started it's life as a simplification of HTML_Template_Xipe,
however in Version 0.2, It became one of the first template engine to use a real
Lexer, rather than regex'es, making it possible to do things like ASP.net or
Cold Fusion tags.
>How-To-Repeat:
>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	pear-HTML_Template_Flexy
#	pear-HTML_Template_Flexy/Makefile
#	pear-HTML_Template_Flexy/distinfo
#	pear-HTML_Template_Flexy/pkg-descr
#
echo c - pear-HTML_Template_Flexy
mkdir -p pear-HTML_Template_Flexy > /dev/null 2>&1
echo x - pear-HTML_Template_Flexy/Makefile
sed 's/^X//' >pear-HTML_Template_Flexy/Makefile << 'END-of-pear-HTML_Template_Flexy/Makefile'
X# Ports collection makefile for:  pear-HTML_Template_Flexy
X# Date created:			  04 January 2005
X# Whom:				  Antonio Carlos Venancio Junior (<antonio at inf.ufsc.br>)
X#
X# $FreeBSD$
X#
X
XPORTNAME=	HTML_Template_Flexy
XPORTVERSION=	1.1.2
XCATEGORIES=	devel www pear
X
XMAINTAINER=	antonio at php.net
XCOMMENT=	An extremely powerful Tokenizer driven Template engine
X
XBUILD_DEPENDS=	${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear-PEAR
XRUN_DEPENDS=	${BUILD_DEPENDS}
X
XLATEST_LINK=	pear-HTML_Template_Flexy
XOPTIONS=	PEAR_HTML_JAVASCRIPT "PEAR::HTML_Javascript support" off \
X		PEAR_FILE_GETTEXT "PEAR::File_Gettext support" off \
X		PEAR_TRANSLATION2 "PEAR::Translation2 support" off
X
XUSE_PHP=	yes
X
XCATEGORY=	HTML/Template
XFILES=		Flexy.php Flexy/example.ini Flexy/Element.php \
X		Flexy/Element/Xul.php Flexy/Factory.php Flexy/Assign.php \
X		Flexy/Plugin.php Flexy/Plugin/Savant.php Flexy/SmartyAPI.php \
X		Flexy/Translator.php Flexy/templates/translator.html \
X		Flexy/compileAll.php Flexy/Tree.php Flexy/Tokenizer.php \
X		Flexy/Token.php Flexy/Token/Tag.php Flexy/Token/EndTag.php \
X		Flexy/Token/If.php Flexy/Token/Else.php Flexy/Token/End.php \
X		Flexy/Token/Foreach.php Flexy/Token/Var.php Flexy/Token/Method.php \
X		Flexy/Token/Processing.php Flexy/Token/Text.php Flexy/Test.php \
X		Flexy/Compiler.php Flexy/Compiler/Flexy.php \
X		Flexy/Compiler/Flexy/Tag.php Flexy/Compiler/Flexy/Flexy.php \
X		Flexy/Compiler/Standard.php Flexy/Compiler/Standard/Tag.php \
X		Flexy/Compiler/Standard/Flexy.php Flexy/Compiler/Regex.php \
X		Flexy/Compiler/Regex/BodyOnly.php Flexy/Compiler/Regex/Php.php \
X		Flexy/Compiler/Regex/RtfSimpleTags.php \
X		Flexy/Compiler/Regex/SimpleTags.php Flexy/Compiler/Regex/Mail.php \
X		Flexy/Compiler/Regex/Xml.php Flexy/Compiler/Regex/Math.php \
X		Flexy/Compiler/SmartyConvertor.php
XTESTS=		test.php treeTest.php templates/blocks.html templates/conditions.html \
X		templates/error_foreach.html templates/flexy_tojavascript.html \
X		templates/forms.html templates/function.html templates/globals.html \
X		templates/image_view.html templates/includes.html \
X		templates/javascript.html templates/looping.html templates/methods.html \
X		templates/namespaces.html templates/raw_php.html \
X		templates/raw_text.html templates/variables.html smarty/smartytest.php
X
X.include <bsd.port.pre.mk>
X
XPHP_VERS=	${PHP_VERSION:S/.//g}
X
X.if defined(PHP_VERS) && ${PHP_VERS} < 430
XIGNORE=		"You need PHP 4.3.0 or later to install PEAR::HTML_Template_Flexy"
X.endif
X
X.if !defined(WITH_PEAR_HTML_JAVASCRIPT)
XBUILD_DEPENDS+=	${PEARDIR}/HTML/Javascript.php:${PORTSDIR}/devel/pear-HTML_Javascript
X.endif
X
X.if defined(WITH_PEAR_FILE_GETTEXT)
XBUILD_DEPENDS+= ${PEARDIR}/File/Gettext.php:${PORTSDIR}/sysutils/pear-File_Gettext
X.endif
X
X.if defined(WITH_PEAR_TRANSLATION2)
XBUILD_DEPENDS+=	${PEARDIR}/Translation2.php:${PORTSDIR}/sysutils/pear-Translation2
X.endif
X
X.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common"
X.include <bsd.port.post.mk>
END-of-pear-HTML_Template_Flexy/Makefile
echo x - pear-HTML_Template_Flexy/distinfo
sed 's/^X//' >pear-HTML_Template_Flexy/distinfo << 'END-of-pear-HTML_Template_Flexy/distinfo'
XMD5 (PEAR/HTML_Template_Flexy-1.1.2.tgz) = 581ad6c8edb898b11f5da172728377f4
XSIZE (PEAR/HTML_Template_Flexy-1.1.2.tgz) = 104884
END-of-pear-HTML_Template_Flexy/distinfo
echo x - pear-HTML_Template_Flexy/pkg-descr
sed 's/^X//' >pear-HTML_Template_Flexy/pkg-descr << 'END-of-pear-HTML_Template_Flexy/pkg-descr'
XHTML_Template_Flexy started it's life as a simplification of HTML_Template_Xipe,
Xhowever in Version 0.2, It became one of the first template engine to use a real
XLexer, rather than regex'es, making it possible to do things like ASP.net or
XCold Fusion tags.
X
XWWW: http://pear.php.net/package/HTML_Template_Flexy/
END-of-pear-HTML_Template_Flexy/pkg-descr
exit
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list