ports/83866: [NEW PORT] devel/pear-HTML_Template_Sigma
Franz Klammer
klammer at webonaut.com
Thu Jul 21 14:20:31 UTC 2005
>Number: 83866
>Category: ports
>Synopsis: [NEW PORT] devel/pear-HTML_Template_Sigma
>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: Thu Jul 21 14:20:19 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Franz Klammer
>Release: FreeBSD 5.4-STABLE i386
>Organization:
>Environment:
System: FreeBSD 5.4-STABLE #6: Wed Jul 20 16:54:29 CEST 2005
root at acer.webonaut.com:/usr/obj/usr/src/sys/ACER292
>Description:
new port: devel/pear-HTML_Template_Sigma-1.1.2
>How-To-Repeat:
>Fix:
--- pear_sigma.shar begins here ---
# 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_Sigma
# pear-HTML_Template_Sigma/Makefile
# pear-HTML_Template_Sigma/pkg-descr
# pear-HTML_Template_Sigma/distinfo
#
echo c - pear-HTML_Template_Sigma
mkdir -p pear-HTML_Template_Sigma > /dev/null 2>&1
echo x - pear-HTML_Template_Sigma/Makefile
sed 's/^X//' >pear-HTML_Template_Sigma/Makefile << 'END-of-pear-HTML_Template_Sigma/Makefile'
X# Ports collection makefile for: pear-HTML_Template_Sigma
X# Date created: 21 July 2005
X# Whom: Franz Klammer <klammer at webonaut.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME= HTML_Template_Sigma
XPORTVERSION= 1.1.2
XCATEGORIES= devel www pear
X
XMAINTAINER= klammer at webonaut.com
XCOMMENT= PEAR template API
X
XBUILD_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear-PEAR
XRUN_DEPENDS= ${BUILD_DEPENDS}
X
XCATEGORY= HTML/Template
XFILES= Sigma.php
XEXAMPLES= templates/example_1.html templates/example_2.html templates/example_3.html \
X templates/example_4.html templates/example_3_add.html \
X templates/example_3_include.html templates/example_3_replace_1.html \
X templates/example_3_replace_2.html example_1.php example_2.php \
X example_3.php example_4.php
XTESTS= templates/addblock.html templates/blockiteration.html templates/blocks.html \
X templates/callback.html templates/globals.html templates/__include.html \
X templates/include.html templates/loadtemplatefile.html \
X templates/replaceblock.html Console_TestListener.php Sigma_api_testcase.php \
X Sigma_usage_testcase.php Sigma_cache_testcase.php test.php
X_EXAMPLESDIR= docs
X
Xdo-install-tests-msg: .USE
X @${ECHO_MSG} " (These tests require PHPUnit - see"
X @${ECHO_MSG} " <http://pear.php.net/package-info.php?package=PHPUnit>;;)."
X
X.include <bsd.port.pre.mk>
X.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common"
X.include <bsd.port.post.mk>
END-of-pear-HTML_Template_Sigma/Makefile
echo x - pear-HTML_Template_Sigma/pkg-descr
sed 's/^X//' >pear-HTML_Template_Sigma/pkg-descr << 'END-of-pear-HTML_Template_Sigma/pkg-descr'
XHTML_Template_Sigma implements Integrated Templates API designed by Ulf Wendel.
X
XFeatures:
X * Nested blocks. Nesting is controlled by the engine.
X * Ability to include files from within template: <!-- INCLUDE -->
X * Automatic removal of empty blocks and unknown variables
X (methods to manually tweak/override this are also available)
X * Methods for runtime addition and replacement of blocks in templates
X * Ability to insert simple function calls into templates:
X func_uppercase('Hello world!') and to define callback functions for these
X * 'Compiled' templates: the engine has to parse a template file using regular
X expressions to find all the blocks and variable placeholders.
X This is a very "expensive" operation and is an overkill to do on every page
X request: templates seldom change on production websites.
X Thus this feature: an internal representation of the template structure is
X saved into a file and this file gets loaded instead of the source one on
X subsequent requests (unless the source changes)
X * PHPUnit-based tests to define correct behaviour
X * Usage examples for most of the features are available, look in the docs/
X directory
X
XWWW: http://pear.php.net/package-info.php?package=HTML_Template_Sigma
END-of-pear-HTML_Template_Sigma/pkg-descr
echo x - pear-HTML_Template_Sigma/distinfo
sed 's/^X//' >pear-HTML_Template_Sigma/distinfo << 'END-of-pear-HTML_Template_Sigma/distinfo'
XMD5 (PEAR/HTML_Template_Sigma-1.1.2.tgz) = 6c229f84ccb883dac02b96527a415e87
XSIZE (PEAR/HTML_Template_Sigma-1.1.2.tgz) = 26442
END-of-pear-HTML_Template_Sigma/distinfo
exit
--- pear_sigma.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list