String::TT exports a "tt" function, which takes a TT (Template Toolkit)

template as its argument. It uses the current lexical scope to resolve
variable references.

PR:		ports/168165
Submitted by:	Muhammad Moinur Rahman <5u623l20@gmail.com>
This commit is contained in:
Martin Wilke 2012-05-22 12:36:36 +00:00
parent bc4e436677
commit 54901cf12e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=297187
5 changed files with 40 additions and 0 deletions

View file

@ -2454,6 +2454,7 @@
SUBDIR += p5-String-Random
SUBDIR += p5-String-RexxParse
SUBDIR += p5-String-Similarity
SUBDIR += p5-String-TT
SUBDIR += p5-Sub-Alias
SUBDIR += p5-Sub-Current
SUBDIR += p5-Sub-Delete

View file

@ -0,0 +1,28 @@
# New ports collection makefile for: String-TT
# Date created: Mat 20 2012
# Whom: Muhammad Moinur Rahman <5u623l20@gmail.com>
#
# $FreeBSD$
#
PORTNAME= String-TT
PORTVERSION= 0.03
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= 5u623l20@gmail.com
COMMENT= Perl interface to interpolate lexical variables
RUN_DEPENDS= p5-PadWalker>=1:${PORTSDIR}/devel/p5-PadWalker \
p5-Sub-Exporter>=0:${PORTSDIR}/devel/p5-Sub-Exporter \
p5-Template-Toolkit>=2:${PORTSDIR}/www/p5-Template-Toolkit \
p5-Test-Exception>=0:${PORTSDIR}/devel/p5-Test-Exception \
p5-Test-TableDriven>=0:${PORTSDIR}/devel/p5-Test-TableDriven
BUILD_DEPENDS:= ${RUN_DEPENDS}
PERL_CONFIGURE= yes
MAN3= String::TT.3
.include <bsd.port.mk>

View file

@ -0,0 +1,2 @@
SHA256 (String-TT-0.03.tar.gz) = f7605f0a04f9fa123d3adf4f34579a14c90b7da8b93b65d2e48932ccd3c952ab
SIZE (String-TT-0.03.tar.gz) = 21727

View file

@ -0,0 +1,3 @@
String::TT exports a "tt" function, which takes a TT (Template Toolkit)
template as its argument. It uses the current lexical scope to resolve
variable references.

View file

@ -0,0 +1,6 @@
%%SITE_PERL%%/String/TT.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/String/TT/.packlist
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/String/TT
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/String
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/String
@dirrmtry %%SITE_PERL%%/String