aboutsummaryrefslogtreecommitdiff
path: root/www/p5-HTML-Scrubber
diff options
context:
space:
mode:
authorFoxfair Hu <foxfair@FreeBSD.org>2003-10-31 09:44:34 +0000
committerFoxfair Hu <foxfair@FreeBSD.org>2003-10-31 09:44:34 +0000
commitecc26d108eca8cff9d46bb810cbacc099554e63e (patch)
treee6182b45466066748eca3b295d32c36899b60aa4 /www/p5-HTML-Scrubber
parentd005d75ba319cf3d815d7040690b8698b061f9df (diff)
downloadports-ecc26d108eca8cff9d46bb810cbacc099554e63e.tar.gz
ports-ecc26d108eca8cff9d46bb810cbacc099554e63e.zip
Notes
Diffstat (limited to 'www/p5-HTML-Scrubber')
-rw-r--r--www/p5-HTML-Scrubber/Makefile24
-rw-r--r--www/p5-HTML-Scrubber/distinfo1
-rw-r--r--www/p5-HTML-Scrubber/pkg-descr10
-rw-r--r--www/p5-HTML-Scrubber/pkg-plist5
4 files changed, 40 insertions, 0 deletions
diff --git a/www/p5-HTML-Scrubber/Makefile b/www/p5-HTML-Scrubber/Makefile
new file mode 100644
index 000000000000..2f6e58bd31bd
--- /dev/null
+++ b/www/p5-HTML-Scrubber/Makefile
@@ -0,0 +1,24 @@
+# New ports collection makefile for: p5-HTML-Scrubber
+# Date created: 31 Oct 2003
+# Whom: Foxfair Hu <foxfair@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= HTML-Scrubber
+PORTVERSION= 0.04
+CATEGORIES= www perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= HTML
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= Perl extension for scrubbing/sanitizing html
+
+BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/XML/Parser.pm:${PORTSDIR}/textproc/p5-XML-Parser
+
+PERL_CONFIGURE= yes
+
+MAN3= HTML::Scrubber.3
+
+.include <bsd.port.mk>
diff --git a/www/p5-HTML-Scrubber/distinfo b/www/p5-HTML-Scrubber/distinfo
new file mode 100644
index 000000000000..9e372a9dd916
--- /dev/null
+++ b/www/p5-HTML-Scrubber/distinfo
@@ -0,0 +1 @@
+MD5 (HTML-Scrubber-0.04.tar.gz) = 98000d728a5707907fd94ab9de224abb
diff --git a/www/p5-HTML-Scrubber/pkg-descr b/www/p5-HTML-Scrubber/pkg-descr
new file mode 100644
index 000000000000..e163c68d2d5b
--- /dev/null
+++ b/www/p5-HTML-Scrubber/pkg-descr
@@ -0,0 +1,10 @@
+HTML::Scrubber - Perl extension for scrubbing/sanitizing html. If you wanna
+"scrub" or "sanitize" html input in a reliable an flexible fashion, then
+this module is for you.
+
+When a tag is encountered, HTML::Scrubber allows/denies the tag using the
+explicit rule if one exists. If no explicit rule exists, Scrubber applies
+the default rule. If an explicit rule exists, but it's a simple rule(1),
+the default attribute rule is applied.
+
+WWW: http://search.cpan.org/perldoc?HTML::Scrubber
diff --git a/www/p5-HTML-Scrubber/pkg-plist b/www/p5-HTML-Scrubber/pkg-plist
new file mode 100644
index 000000000000..cc79ec0ca3a4
--- /dev/null
+++ b/www/p5-HTML-Scrubber/pkg-plist
@@ -0,0 +1,5 @@
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/HTML/Scrubber/.packlist
+%%SITE_PERL%%/HTML/Scrubber.pm
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/HTML/Scrubber
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/HTML 2>/dev/null || true
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/HTML 2>/dev/null || true