diff --git a/textproc/Makefile b/textproc/Makefile index 7824758b1f8b..60c846785301 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -562,6 +562,7 @@ SUBDIR += p5-Template-Extract SUBDIR += p5-Template-Magic SUBDIR += p5-Template-Plugin-Lingua-EN-Inflect + SUBDIR += p5-Template-Plugin-XML-Escape SUBDIR += p5-Test-Perl-Critic SUBDIR += p5-Text-ASCIITable SUBDIR += p5-Text-Affixes 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 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