1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

Add p5-Inline-TT 0.07, provides inline support for template toolkit 2.x.

PR:		ports/103661
Submitted by:	Gea-Suan Lin <gslin at gslin.org>
This commit is contained in:
Cheng-Lung Sung 2006-09-28 00:51:40 +00:00
parent 44155cd19d
commit 1dd6c8644e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=174008
5 changed files with 56 additions and 0 deletions

View File

@ -1152,6 +1152,7 @@
SUBDIR += p5-Inline-Files
SUBDIR += p5-Inline-Filters
SUBDIR += p5-Inline-Java
SUBDIR += p5-Inline-TT
SUBDIR += p5-Inline-Tcl
SUBDIR += p5-Ioctl
SUBDIR += p5-Iterator

View File

@ -0,0 +1,31 @@
# New ports collection makefile for: p5-Inline-TT
# Date created: 2006-09-26
# Whom: Gea-Suan Lin <gslin@gslin.org>
#
# $FreeBSD$
#
PORTNAME= Inline-TT
PORTVERSION= 0.07
CATEGORIES= devel perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= Inline
PKGNAMEPREFIX= p5-
MAINTAINER= gslin@gslin.org
COMMENT= Provides inline support for template toolkit 2.x
RUN_DEPENDS= p5-Inline>=0.42:${PORTSDIR}/devel/p5-Inline \
p5-Template-Toolkit>=2.0:${PORTSDIR}/www/p5-Template-Toolkit
PERL_CONFIGURE= yes
MAN3= Inline::TT.3
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500600
IGNORE= requires perl 5.6.0 or later. Install lang/perl5.8 and try again
.endif
.include <bsd.port.post.mk>

View File

@ -0,0 +1,3 @@
MD5 (Inline-TT-0.07.tar.gz) = 02905066df2cdb5178c13d00dea3c0c3
SHA256 (Inline-TT-0.07.tar.gz) = ac7eaea3a9b6846b40fe760921d587cb21509a10eb0837ff5b33d3b8967226c4
SIZE (Inline-TT-0.07.tar.gz) = 6599

View File

@ -0,0 +1,15 @@
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/

View File

@ -0,0 +1,6 @@
@comment $FreeBSD$
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Inline/TT/.packlist
%%SITE_PERL%%/Inline/TT.pm
@dirrmtry %%SITE_PERL%%/Inline
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Inline/TT
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Inline