diff options
author | tobez <tobez@FreeBSD.org> | 2006-02-14 16:28:35 +0800 |
---|---|---|
committer | tobez <tobez@FreeBSD.org> | 2006-02-14 16:28:35 +0800 |
commit | 7b274ab01426be3091f35080c598c0a22fea1dff (patch) | |
tree | cfbe0b951232c5658a1c8e8ed8cf999190162221 /textproc/p5-HTML-EscapeEvil | |
parent | 217c05e4bb88ff43314bf66f9a905be70841d9ef (diff) | |
download | freebsd-ports-gnome-7b274ab01426be3091f35080c598c0a22fea1dff.tar.gz freebsd-ports-gnome-7b274ab01426be3091f35080c598c0a22fea1dff.tar.zst freebsd-ports-gnome-7b274ab01426be3091f35080c598c0a22fea1dff.zip |
Add textproc/p5-HTML-EscapeEvil, a Perl module that will escape HTML
tags considered evil.
Diffstat (limited to 'textproc/p5-HTML-EscapeEvil')
-rw-r--r-- | textproc/p5-HTML-EscapeEvil/Makefile | 33 | ||||
-rw-r--r-- | textproc/p5-HTML-EscapeEvil/distinfo | 3 | ||||
-rw-r--r-- | textproc/p5-HTML-EscapeEvil/pkg-descr | 5 | ||||
-rw-r--r-- | textproc/p5-HTML-EscapeEvil/pkg-plist | 5 |
4 files changed, 46 insertions, 0 deletions
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 <tobez@FreeBSD.org> +# +# $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 <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500800 +IGNORE= requires perl 5.8.0 or later. Install lang/perl5.8 and try again +.endif + +.include <bsd.port.post.mk> 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 |