diff options
author | lwhsu <lwhsu@FreeBSD.org> | 2010-04-24 23:07:23 +0800 |
---|---|---|
committer | lwhsu <lwhsu@FreeBSD.org> | 2010-04-24 23:07:23 +0800 |
commit | dffd76431b2b9bfae5503c662748934e605adab8 (patch) | |
tree | 6bedc32050cb3c2e313e877b621724a70f02eb1c | |
parent | 6f8d78b600e7f8e3b51edbc11c0ebd7a23b42e92 (diff) | |
download | freebsd-ports-gnome-dffd76431b2b9bfae5503c662748934e605adab8.tar.gz freebsd-ports-gnome-dffd76431b2b9bfae5503c662748934e605adab8.tar.zst freebsd-ports-gnome-dffd76431b2b9bfae5503c662748934e605adab8.zip |
Add p5-Template-Toolkit-Simple 0.03, a Simple Interface to Template
Toolkit.
-rw-r--r-- | www/Makefile | 1 | ||||
-rw-r--r-- | www/p5-Template-Toolkit-Simple/Makefile | 24 | ||||
-rw-r--r-- | www/p5-Template-Toolkit-Simple/distinfo | 3 | ||||
-rw-r--r-- | www/p5-Template-Toolkit-Simple/pkg-descr | 15 | ||||
-rw-r--r-- | www/p5-Template-Toolkit-Simple/pkg-plist | 8 |
5 files changed, 51 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile index bd7eb2f2b283..b6eb6502683f 100644 --- a/www/Makefile +++ b/www/Makefile @@ -1167,6 +1167,7 @@ SUBDIR += p5-Template-Provider-FromDATA SUBDIR += p5-Template-Timer SUBDIR += p5-Template-Toolkit + SUBDIR += p5-Template-Toolkit-Simple SUBDIR += p5-Tenjin SUBDIR += p5-Test-HTTP SUBDIR += p5-Test-HTTP-Server-Simple diff --git a/www/p5-Template-Toolkit-Simple/Makefile b/www/p5-Template-Toolkit-Simple/Makefile new file mode 100644 index 000000000000..0d80e684d25d --- /dev/null +++ b/www/p5-Template-Toolkit-Simple/Makefile @@ -0,0 +1,24 @@ +# New ports collection makefile for: p5-Template-Toolkit-Simple +# Date created: 2010-04-24 +# Whom: Li-Wen Hsu <lwhsu@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= Template-Toolkit-Simple +PORTVERSION= 0.03 +CATEGORIES= www textproc perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= lwhsu@FreeBSD.org +COMMENT= A Simple Interface to Template Toolkit + +BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Template.pm:${PORTSDIR}/www/p5-Template-Toolkit +RUN_DEPENDS= ${BUILD_DEPENDS} + +PERL_CONFIGURE= yes + +MAN3= Template::Toolkit::Simple.3 + +.include <bsd.port.mk> diff --git a/www/p5-Template-Toolkit-Simple/distinfo b/www/p5-Template-Toolkit-Simple/distinfo new file mode 100644 index 000000000000..5cbca97fbba9 --- /dev/null +++ b/www/p5-Template-Toolkit-Simple/distinfo @@ -0,0 +1,3 @@ +MD5 (Template-Toolkit-Simple-0.03.tar.gz) = c897a574b33c8935cf5dbfa96a974acf +SHA256 (Template-Toolkit-Simple-0.03.tar.gz) = 706939312f60dc8c13a6ba8c58818ecbf40176dd9760b1ca8f02e565485c9fa4 +SIZE (Template-Toolkit-Simple-0.03.tar.gz) = 17260 diff --git a/www/p5-Template-Toolkit-Simple/pkg-descr b/www/p5-Template-Toolkit-Simple/pkg-descr new file mode 100644 index 000000000000..cd4e217735f8 --- /dev/null +++ b/www/p5-Template-Toolkit-Simple/pkg-descr @@ -0,0 +1,15 @@ +Template Toolkit is the best Perl template framework. The only problem +with it is that using it for simple stuff is a little bit cumbersome. +Also there is no good utility for using it from the command line. + +This module is a simple wrapper around Template Toolkit. It exports a +function called tt which returns a new Template::Toolkit::Simple object. +The object supports method calls for setting all the Template Toolkit +options. + +This module also installs a program called tt-render which you can use +from the command line to render templates with all the power of the Perl +object. All of the object methods become command line arguments in the +command line version. + +WWW: http://search.cpan.org/dist/Template-Toolkit-Simple/ diff --git a/www/p5-Template-Toolkit-Simple/pkg-plist b/www/p5-Template-Toolkit-Simple/pkg-plist new file mode 100644 index 000000000000..472852241ded --- /dev/null +++ b/www/p5-Template-Toolkit-Simple/pkg-plist @@ -0,0 +1,8 @@ +bin/tt-render +%%SITE_PERL%%/Template/Toolkit/Simple.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Template/Toolkit/Simple/.packlist +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Template/Toolkit/Simple +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Template/Toolkit +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Template +@dirrmtry %%SITE_PERL%%/Template/Toolkit +@dirrmtry %%SITE_PERL%%/Template |