diff options
author | rafan <rafan@FreeBSD.org> | 2006-07-12 04:06:00 +0800 |
---|---|---|
committer | rafan <rafan@FreeBSD.org> | 2006-07-12 04:06:00 +0800 |
commit | 2e89fa5f48bd88c0bc8f2c090b93e4cd36b75a47 (patch) | |
tree | 1d24ccc80112eb5f7019c2f922a216ce5306e14f /www | |
parent | dad5ec1f9192f5c73a34ff4b82b91378ebef545b (diff) | |
download | freebsd-ports-gnome-2e89fa5f48bd88c0bc8f2c090b93e4cd36b75a47.tar.gz freebsd-ports-gnome-2e89fa5f48bd88c0bc8f2c090b93e4cd36b75a47.tar.zst freebsd-ports-gnome-2e89fa5f48bd88c0bc8f2c090b93e4cd36b75a47.zip |
Add p5-Template-Plugin-JavaScript 0.01, encodes text to be safe in
JavaScript.
PR: ports/100062
Submitted by: Gea-Suan Lin <gslin at gslin.org>
Diffstat (limited to 'www')
-rw-r--r-- | www/Makefile | 1 | ||||
-rw-r--r-- | www/p5-Template-Plugin-JavaScript/Makefile | 31 | ||||
-rw-r--r-- | www/p5-Template-Plugin-JavaScript/distinfo | 3 | ||||
-rw-r--r-- | www/p5-Template-Plugin-JavaScript/pkg-descr | 5 | ||||
-rw-r--r-- | www/p5-Template-Plugin-JavaScript/pkg-plist | 8 |
5 files changed, 48 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile index 88f5a21ddca5..083cbc79bd51 100644 --- a/www/Makefile +++ b/www/Makefile @@ -738,6 +738,7 @@ SUBDIR += p5-Template-Plugin-Clickable SUBDIR += p5-Template-Plugin-Clickable-Email SUBDIR += p5-Template-Plugin-Comma + SUBDIR += p5-Template-Plugin-JavaScript SUBDIR += p5-Template-Plugin-MP3 SUBDIR += p5-Template-Plugin-Markdown SUBDIR += p5-Template-Plugin-Monta diff --git a/www/p5-Template-Plugin-JavaScript/Makefile b/www/p5-Template-Plugin-JavaScript/Makefile new file mode 100644 index 000000000000..3225d19c7d61 --- /dev/null +++ b/www/p5-Template-Plugin-JavaScript/Makefile @@ -0,0 +1,31 @@ +# New ports collection makefile for: p5-Template-Plugin-JavaScript +# Date created: 2006-07-11 +# Whom: Gea-Suan Lin <gslin@gslin.org> +# +# $FreeBSD$ +# + +PORTNAME= Template-Plugin-JavaScript +PORTVERSION= 0.01 +CATEGORIES= www perl5 +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= Template +PKGNAMEPREFIX= p5- + +MAINTAINER= gslin@gslin.org +COMMENT= Encodes text to be safe in JavaScript + +BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Template.pm:${PORTSDIR}/www/p5-Template-Toolkit +RUN_DEPENDS= ${BUILD_DEPENDS} + +PERL_CONFIGURE= yes + +MAN3= Template::Plugin::JavaScript.3 + +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500600 # inherited from www/p5-Template-Toolkit +IGNORE= requires perl 5.6.0 or later. Install lang/perl5.8 and try again +.endif + +.include <bsd.port.post.mk> diff --git a/www/p5-Template-Plugin-JavaScript/distinfo b/www/p5-Template-Plugin-JavaScript/distinfo new file mode 100644 index 000000000000..06e531d485ba --- /dev/null +++ b/www/p5-Template-Plugin-JavaScript/distinfo @@ -0,0 +1,3 @@ +MD5 (Template-Plugin-JavaScript-0.01.tar.gz) = c8e648779bfda5b0bdd68eef9729d06c +SHA256 (Template-Plugin-JavaScript-0.01.tar.gz) = e3c3624156a8651c468eea06e210d4875efbf4509f8eaeb64731fd28e379dcc9 +SIZE (Template-Plugin-JavaScript-0.01.tar.gz) = 1671 diff --git a/www/p5-Template-Plugin-JavaScript/pkg-descr b/www/p5-Template-Plugin-JavaScript/pkg-descr new file mode 100644 index 000000000000..210f5612e385 --- /dev/null +++ b/www/p5-Template-Plugin-JavaScript/pkg-descr @@ -0,0 +1,5 @@ +Template::Plugin::JavaScript is a TT filter that filters text so it can +be safely used in JavaScript quotes. + +Author: Tatsuhiko Miyagawa <miyagawa@bulknews.net> +WWW: http://search.cpan.org/dist/Template-Plugin-JavaScript/ diff --git a/www/p5-Template-Plugin-JavaScript/pkg-plist b/www/p5-Template-Plugin-JavaScript/pkg-plist new file mode 100644 index 000000000000..7399e621ca63 --- /dev/null +++ b/www/p5-Template-Plugin-JavaScript/pkg-plist @@ -0,0 +1,8 @@ +@comment $FreeBSD$ +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Template/Plugin/JavaScript/.packlist +%%SITE_PERL%%/Template/Plugin/JavaScript.pm +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Template/Plugin/JavaScript +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Template/Plugin +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Template +@dirrmtry %%SITE_PERL%%/Template/Plugin +@dirrmtry %%SITE_PERL%%/Template |