diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2009-01-14 09:17:17 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2009-01-14 09:17:17 +0000 |
commit | 81916b6f5e8c7e7188a58c231f70cee1e6870bbe (patch) | |
tree | 529a9c245d240b035c0515bb11f6d4d802b158f9 /textproc/p5-Template-Plugin-XML-Escape | |
parent | d4fc1cb3706837514d28e88a34adc87a778b971e (diff) | |
download | ports-81916b6f5e8c7e7188a58c231f70cee1e6870bbe.tar.gz ports-81916b6f5e8c7e7188a58c231f70cee1e6870bbe.zip |
Escapes XML entities from text, so that you don't fall prey to people putting
quotes, less-than/greater-than, and ampersands, into variables that end up in
TT templates.
WWW: http://search.cpan.org/dist/Template-Plugin-XML-Escape
PR: ports/130422
Submitted by: kevit
Notes
Notes:
svn path=/head/; revision=226075
Diffstat (limited to 'textproc/p5-Template-Plugin-XML-Escape')
-rw-r--r-- | textproc/p5-Template-Plugin-XML-Escape/Makefile | 23 | ||||
-rw-r--r-- | textproc/p5-Template-Plugin-XML-Escape/distinfo | 3 | ||||
-rw-r--r-- | textproc/p5-Template-Plugin-XML-Escape/pkg-descr | 5 | ||||
-rw-r--r-- | textproc/p5-Template-Plugin-XML-Escape/pkg-plist | 9 |
4 files changed, 40 insertions, 0 deletions
diff --git a/textproc/p5-Template-Plugin-XML-Escape/Makefile b/textproc/p5-Template-Plugin-XML-Escape/Makefile new file mode 100644 index 000000000000..b8a43f433500 --- /dev/null +++ b/textproc/p5-Template-Plugin-XML-Escape/Makefile @@ -0,0 +1,23 @@ +# New ports collection makefile for: Template-Plugin-XML-Escape +# Date created: 12 January 2009 +# Whom: kevit +# +# $FreeBSD$ +# + +PORTNAME= Template-Plugin-XML-Escape +PORTVERSION= 0.02 +CATEGORIES= textproc perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= simarg@gmail.com +COMMENT= Escape variables to suit being placed into XML + +BUILD_DEPENDS= p5-Template-Toolkit>=2.20:${PORTSDIR}/www/p5-Template-Toolkit +RUN_DEPENDS= ${BUILD_DEPENDS} + +PERL_CONFIGURE= yes +MAN3= Template::Plugin::XML::Escape.3 + +.include <bsd.port.mk> diff --git a/textproc/p5-Template-Plugin-XML-Escape/distinfo b/textproc/p5-Template-Plugin-XML-Escape/distinfo new file mode 100644 index 000000000000..596f808b73a1 --- /dev/null +++ b/textproc/p5-Template-Plugin-XML-Escape/distinfo @@ -0,0 +1,3 @@ +MD5 (Template-Plugin-XML-Escape-0.02.tar.gz) = 8a1189de2fc767915b7878bdfebd2dc2 +SHA256 (Template-Plugin-XML-Escape-0.02.tar.gz) = fb3c62236d0fd4b51a92067396ce0a3ae226295015c87183918b138923d1fac4 +SIZE (Template-Plugin-XML-Escape-0.02.tar.gz) = 2216 diff --git a/textproc/p5-Template-Plugin-XML-Escape/pkg-descr b/textproc/p5-Template-Plugin-XML-Escape/pkg-descr new file mode 100644 index 000000000000..77d9c24f98f0 --- /dev/null +++ b/textproc/p5-Template-Plugin-XML-Escape/pkg-descr @@ -0,0 +1,5 @@ +Escapes XML entities from text, so that you don't fall prey to people putting +quotes, less-than/greater-than, and ampersands, into variables that end up in +TT templates. + +WWW: http://search.cpan.org/dist/Template-Plugin-XML-Escape diff --git a/textproc/p5-Template-Plugin-XML-Escape/pkg-plist b/textproc/p5-Template-Plugin-XML-Escape/pkg-plist new file mode 100644 index 000000000000..b531a83b9ec8 --- /dev/null +++ b/textproc/p5-Template-Plugin-XML-Escape/pkg-plist @@ -0,0 +1,9 @@ +%%SITE_PERL%%/Template/Plugin/XML/Escape.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Template/Plugin/XML/Escape/.packlist +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Template/Plugin/XML/Escape +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Template/Plugin/XML +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Template/Plugin +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Template +@dirrmtry %%SITE_PERL%%/Template/Plugin/XML +@dirrmtry %%SITE_PERL%%/Template/Plugin +@dirrmtry %%SITE_PERL%%/Template |