From 54901cf12eaa8c08a347475269f26623f984c46a Mon Sep 17 00:00:00 2001 From: Martin Wilke Date: Tue, 22 May 2012 12:36:36 +0000 Subject: [PATCH] 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> --- devel/Makefile | 1 + devel/p5-String-TT/Makefile | 28 ++++++++++++++++++++++++++++ devel/p5-String-TT/distinfo | 2 ++ devel/p5-String-TT/pkg-descr | 3 +++ devel/p5-String-TT/pkg-plist | 6 ++++++ 5 files changed, 40 insertions(+) create mode 100644 devel/p5-String-TT/Makefile create mode 100644 devel/p5-String-TT/distinfo create mode 100644 devel/p5-String-TT/pkg-descr create mode 100644 devel/p5-String-TT/pkg-plist diff --git a/devel/Makefile b/devel/Makefile index 830147215ae0..c6cacbe2a193 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -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 diff --git a/devel/p5-String-TT/Makefile b/devel/p5-String-TT/Makefile new file mode 100644 index 000000000000..3e3a3a035f65 --- /dev/null +++ b/devel/p5-String-TT/Makefile @@ -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 diff --git a/devel/p5-String-TT/distinfo b/devel/p5-String-TT/distinfo new file mode 100644 index 000000000000..03a845774ee0 --- /dev/null +++ b/devel/p5-String-TT/distinfo @@ -0,0 +1,2 @@ +SHA256 (String-TT-0.03.tar.gz) = f7605f0a04f9fa123d3adf4f34579a14c90b7da8b93b65d2e48932ccd3c952ab +SIZE (String-TT-0.03.tar.gz) = 21727 diff --git a/devel/p5-String-TT/pkg-descr b/devel/p5-String-TT/pkg-descr new file mode 100644 index 000000000000..bc88b32bf651 --- /dev/null +++ b/devel/p5-String-TT/pkg-descr @@ -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. diff --git a/devel/p5-String-TT/pkg-plist b/devel/p5-String-TT/pkg-plist new file mode 100644 index 000000000000..d71000431003 --- /dev/null +++ b/devel/p5-String-TT/pkg-plist @@ -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