diff options
author | Cheng-Lung Sung <clsung@FreeBSD.org> | 2006-09-28 00:51:40 +0000 |
---|---|---|
committer | Cheng-Lung Sung <clsung@FreeBSD.org> | 2006-09-28 00:51:40 +0000 |
commit | 1dd6c8644ef7393b4706c8cd3d8f0dd9305b45f4 (patch) | |
tree | f29a43915c97e03dcd8053b52949b853cc95778c /devel/p5-Inline-TT | |
parent | 44155cd19df0935cd49fa9613d7ee444dea9c418 (diff) | |
download | ports-1dd6c8644ef7393b4706c8cd3d8f0dd9305b45f4.tar.gz ports-1dd6c8644ef7393b4706c8cd3d8f0dd9305b45f4.zip |
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>
Notes
Notes:
svn path=/head/; revision=174008
Diffstat (limited to 'devel/p5-Inline-TT')
-rw-r--r-- | devel/p5-Inline-TT/Makefile | 31 | ||||
-rw-r--r-- | devel/p5-Inline-TT/distinfo | 3 | ||||
-rw-r--r-- | devel/p5-Inline-TT/pkg-descr | 15 | ||||
-rw-r--r-- | devel/p5-Inline-TT/pkg-plist | 6 |
4 files changed, 55 insertions, 0 deletions
diff --git a/devel/p5-Inline-TT/Makefile b/devel/p5-Inline-TT/Makefile new file mode 100644 index 000000000000..9836c410e218 --- /dev/null +++ b/devel/p5-Inline-TT/Makefile @@ -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> diff --git a/devel/p5-Inline-TT/distinfo b/devel/p5-Inline-TT/distinfo new file mode 100644 index 000000000000..88a146919bdb --- /dev/null +++ b/devel/p5-Inline-TT/distinfo @@ -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 diff --git a/devel/p5-Inline-TT/pkg-descr b/devel/p5-Inline-TT/pkg-descr new file mode 100644 index 000000000000..b37c8445eaef --- /dev/null +++ b/devel/p5-Inline-TT/pkg-descr @@ -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/ diff --git a/devel/p5-Inline-TT/pkg-plist b/devel/p5-Inline-TT/pkg-plist new file mode 100644 index 000000000000..e8ce6c1733ab --- /dev/null +++ b/devel/p5-Inline-TT/pkg-plist @@ -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 |