From 7b274ab01426be3091f35080c598c0a22fea1dff Mon Sep 17 00:00:00 2001 From: tobez Date: Tue, 14 Feb 2006 08:28:35 +0000 Subject: Add textproc/p5-HTML-EscapeEvil, a Perl module that will escape HTML tags considered evil. --- textproc/p5-HTML-EscapeEvil/Makefile | 33 +++++++++++++++++++++++++++++++++ textproc/p5-HTML-EscapeEvil/distinfo | 3 +++ textproc/p5-HTML-EscapeEvil/pkg-descr | 5 +++++ textproc/p5-HTML-EscapeEvil/pkg-plist | 5 +++++ 4 files changed, 46 insertions(+) create mode 100644 textproc/p5-HTML-EscapeEvil/Makefile create mode 100644 textproc/p5-HTML-EscapeEvil/distinfo create mode 100644 textproc/p5-HTML-EscapeEvil/pkg-descr create mode 100644 textproc/p5-HTML-EscapeEvil/pkg-plist (limited to 'textproc/p5-HTML-EscapeEvil') diff --git a/textproc/p5-HTML-EscapeEvil/Makefile b/textproc/p5-HTML-EscapeEvil/Makefile new file mode 100644 index 000000000000..d920a6b9f7c6 --- /dev/null +++ b/textproc/p5-HTML-EscapeEvil/Makefile @@ -0,0 +1,33 @@ +# New ports collection makefile for: textproc/p5-HTML-EscapeEvil +# Date created: 13 February 2006 +# Whom: Anton Berezin +# +# $FreeBSD$ +# + +PORTNAME= HTML-EscapeEvil +PORTVERSION= 0.03 +CATEGORIES= textproc perl5 www +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= HTML +PKGNAMEPREFIX= p5- + +MAINTAINER= perl@FreeBSD.org +COMMENT= HTML::EscapeEvil - escape evil HTML tags + +BUILD_DEPENDS= ${SITE_PERL}/HTML/Element.pm:${PORTSDIR}/www/p5-HTML-Tree \ + ${SITE_PERL}/Class/Accessor.pm:${PORTSDIR}/devel/p5-Class-Accessor \ + ${SITE_PERL}/${PERL_ARCH}/HTML/Filter.pm:${PORTSDIR}/www/p5-HTML-Parser +RUN_DEPENDS= ${BUILD_DEPENDS} + +PERL_CONFIGURE= yes + +MAN3= HTML::EscapeEvil.3 + +.include + +.if ${PERL_LEVEL} < 500800 +IGNORE= requires perl 5.8.0 or later. Install lang/perl5.8 and try again +.endif + +.include diff --git a/textproc/p5-HTML-EscapeEvil/distinfo b/textproc/p5-HTML-EscapeEvil/distinfo new file mode 100644 index 000000000000..dbf169e1a57b --- /dev/null +++ b/textproc/p5-HTML-EscapeEvil/distinfo @@ -0,0 +1,3 @@ +MD5 (HTML-EscapeEvil-0.03.tar.gz) = e2b8932aaa4096745378920fda228937 +SHA256 (HTML-EscapeEvil-0.03.tar.gz) = dd777be088986a12d04455a74e636dfccb8f37207ca685b0a065e86625be612d +SIZE (HTML-EscapeEvil-0.03.tar.gz) = 6846 diff --git a/textproc/p5-HTML-EscapeEvil/pkg-descr b/textproc/p5-HTML-EscapeEvil/pkg-descr new file mode 100644 index 000000000000..c444d6c6bcc6 --- /dev/null +++ b/textproc/p5-HTML-EscapeEvil/pkg-descr @@ -0,0 +1,5 @@ +HTML::EscapeEvil is a Perl module that will escape HTML tags considered +evil (useful for user inut filtering). It is somewhat similar to +HTML::TagFilter, but escapes tags instead of removing them. + +WWW: http://search.cpan.org/dist/HTML-EscapeEvil/ diff --git a/textproc/p5-HTML-EscapeEvil/pkg-plist b/textproc/p5-HTML-EscapeEvil/pkg-plist new file mode 100644 index 000000000000..88276a6ffbb5 --- /dev/null +++ b/textproc/p5-HTML-EscapeEvil/pkg-plist @@ -0,0 +1,5 @@ +%%SITE_PERL%%/HTML/EscapeEvil.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/HTML/EscapeEvil/.packlist +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/HTML/EscapeEvil +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/HTML +@dirrmtry %%SITE_PERL%%/HTML -- cgit