ports/103661: [NEW PORT] devel/p5-Inline-TT: Provides inline support for template toolkit 2.x

Gea-Suan Lin gslin at gslin.org
Tue Sep 26 03:40:19 UTC 2006


>Number:         103661
>Category:       ports
>Synopsis:       [NEW PORT] devel/p5-Inline-TT: Provides inline support for template toolkit 2.x
>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 Sep 26 03:40:18 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Gea-Suan Lin
>Release:        FreeBSD 6.1-RELEASE i386
>Organization:
>Environment:
System: FreeBSD netnews.NCTU.edu.tw 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sat May 13 03:43:48 CST 2006
>Description:
Inline::TT provides Inline access to version 2.0 and higher of the
Template Toolkit. This allows you to house your templates inside the
source code file, while retaining the ability to cache compiled
templates on the disk (via Inline's caching mechanism).

The names of the blocks in the template are exported as functions.
Call these with a reference to a hash of values, which will be used
for interpolation in the templates. This hash reference is the same as
the second argument to the process method of any Template object. The
output from template toolkit will be returned to you as a single
string. Note that leading and trailing spaces are trimmed, further the
template toolkit options PRE_CHOMP and POST_CHOMP are set. Currently,
there is no way to change these behaviors.

WWW:	http://search.cpan.org/dist/Inline-TT/

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- p5-Inline-TT-0.07.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:
#
#	p5-Inline-TT
#	p5-Inline-TT/pkg-descr
#	p5-Inline-TT/Makefile
#	p5-Inline-TT/pkg-plist
#	p5-Inline-TT/distinfo
#
echo c - p5-Inline-TT
mkdir -p p5-Inline-TT > /dev/null 2>&1
echo x - p5-Inline-TT/pkg-descr
sed 's/^X//' >p5-Inline-TT/pkg-descr << 'END-of-p5-Inline-TT/pkg-descr'
XInline::TT provides Inline access to version 2.0 and higher of the
XTemplate Toolkit. This allows you to house your templates inside the
Xsource code file, while retaining the ability to cache compiled
Xtemplates on the disk (via Inline's caching mechanism).
X
XThe names of the blocks in the template are exported as functions.
XCall these with a reference to a hash of values, which will be used
Xfor interpolation in the templates. This hash reference is the same as
Xthe second argument to the process method of any Template object. The
Xoutput from template toolkit will be returned to you as a single
Xstring. Note that leading and trailing spaces are trimmed, further the
Xtemplate toolkit options PRE_CHOMP and POST_CHOMP are set. Currently,
Xthere is no way to change these behaviors.
X
XWWW:	http://search.cpan.org/dist/Inline-TT/
END-of-p5-Inline-TT/pkg-descr
echo x - p5-Inline-TT/Makefile
sed 's/^X//' >p5-Inline-TT/Makefile << 'END-of-p5-Inline-TT/Makefile'
X# New ports collection makefile for:	p5-Inline-TT
X# Date created:		2006-09-26
X# Whom:			Gea-Suan Lin <gslin at gslin.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	Inline-TT
XPORTVERSION=	0.07
XCATEGORIES=	devel perl5
XMASTER_SITES=	CPAN
XMASTER_SITE_SUBDIR=	Inline
XPKGNAMEPREFIX=	p5-
X
XMAINTAINER=	gslin at gslin.org
XCOMMENT=	Provides inline support for template toolkit 2.x
X
XRUN_DEPENDS=	p5-Inline>=0.42:${PORTSDIR}/devel/p5-Inline \
X		p5-Template-Toolkit>=2.0:${PORTSDIR}/www/p5-Template-Toolkit
X
XPERL_CONFIGURE=	yes
X
XMAN3=		Inline::TT.3
X
X.include <bsd.port.pre.mk>
X
X.if ${PERL_LEVEL} < 500600
XIGNORE=		requires perl 5.6.0 or later. Install lang/perl5.8 and try again
X.endif
X
X.include <bsd.port.post.mk>
END-of-p5-Inline-TT/Makefile
echo x - p5-Inline-TT/pkg-plist
sed 's/^X//' >p5-Inline-TT/pkg-plist << 'END-of-p5-Inline-TT/pkg-plist'
X at comment $FreeBSD$
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/Inline/TT/.packlist
X%%SITE_PERL%%/Inline/TT.pm
X at dirrmtry %%SITE_PERL%%/Inline
X at dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Inline/TT
X at dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Inline
END-of-p5-Inline-TT/pkg-plist
echo x - p5-Inline-TT/distinfo
sed 's/^X//' >p5-Inline-TT/distinfo << 'END-of-p5-Inline-TT/distinfo'
XMD5 (Inline-TT-0.07.tar.gz) = 02905066df2cdb5178c13d00dea3c0c3
XSHA256 (Inline-TT-0.07.tar.gz) = ac7eaea3a9b6846b40fe760921d587cb21509a10eb0837ff5b33d3b8967226c4
XSIZE (Inline-TT-0.07.tar.gz) = 6599
END-of-p5-Inline-TT/distinfo
exit
--- p5-Inline-TT-0.07.shar ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list