summaryrefslogtreecommitdiff
path: root/www/p5-HTML-StripScripts-Parser
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2008-05-09 17:43:26 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2008-05-09 17:43:26 +0000
commit904eef9409e2c6b33a4ad8e01cb50e39bd53a0db (patch)
treeb56926cc8acef344e5a0fa687bf27dcf789de5e2 /www/p5-HTML-StripScripts-Parser
parent- add HTML-StripScripts 1.04 (diff)
- add HTML-StripScripts-Parser 1.02
This class provides an easy interface to HTML::StripScripts, using HTML::Parser to parse the HTML. See HTML::Parser for details of how to customise how the raw HTML is parsed into tags, and HTML::StripScripts for details of how to customise the way those tags are filtered. WWW: http://search.cpan.org/dist/HTML-StripScripts-Parser/ Submitted by: kftseng@iyard.org
Diffstat (limited to 'www/p5-HTML-StripScripts-Parser')
-rw-r--r--www/p5-HTML-StripScripts-Parser/Makefile24
-rw-r--r--www/p5-HTML-StripScripts-Parser/distinfo3
-rw-r--r--www/p5-HTML-StripScripts-Parser/pkg-descr8
-rw-r--r--www/p5-HTML-StripScripts-Parser/pkg-plist7
4 files changed, 42 insertions, 0 deletions
diff --git a/www/p5-HTML-StripScripts-Parser/Makefile b/www/p5-HTML-StripScripts-Parser/Makefile
new file mode 100644
index 000000000000..fcd846d6a1a6
--- /dev/null
+++ b/www/p5-HTML-StripScripts-Parser/Makefile
@@ -0,0 +1,24 @@
+# New ports collection makefile for: p5-HTML-StripScripts-Parser
+# Date Created: May 08, 2008
+# Whom: kftseng@iyard.org
+#
+# $FreeBSD$
+#
+
+PORTNAME= HTML-StripScripts-Parser
+PORTVERSION= 1.02
+CATEGORIES= www perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= kftseng@iyard.org
+COMMENT= XSS filter using HTML::Parser
+
+RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/HTML/Parser.pm:${PORTSDIR}/www/p5-HTML-Parser \
+ ${SITE_PERL}/HTML/StripScripts.pm:${PORTSDIR}/www/p5-HTML-StripScripts
+
+PERL_CONFIGURE= yes
+
+MAN3= HTML::StripScripts::Parser.3
+
+.include <bsd.port.mk>
diff --git a/www/p5-HTML-StripScripts-Parser/distinfo b/www/p5-HTML-StripScripts-Parser/distinfo
new file mode 100644
index 000000000000..6472f23f879c
--- /dev/null
+++ b/www/p5-HTML-StripScripts-Parser/distinfo
@@ -0,0 +1,3 @@
+MD5 (HTML-StripScripts-Parser-1.02.tar.gz) = 0fb38dc2c632844883f3e716b056a88a
+SHA256 (HTML-StripScripts-Parser-1.02.tar.gz) = 3b0db4fe6c133e7d7a36f60a907462ebf0bbdf79a008e8375bb3aaa32546f002
+SIZE (HTML-StripScripts-Parser-1.02.tar.gz) = 10164
diff --git a/www/p5-HTML-StripScripts-Parser/pkg-descr b/www/p5-HTML-StripScripts-Parser/pkg-descr
new file mode 100644
index 000000000000..605f6d2d7381
--- /dev/null
+++ b/www/p5-HTML-StripScripts-Parser/pkg-descr
@@ -0,0 +1,8 @@
+This class provides an easy interface to HTML::StripScripts, using
+HTML::Parser to parse the HTML.
+
+See HTML::Parser for details of how to customise how the raw HTML
+is parsed into tags, and HTML::StripScripts for details of how to
+customise the way those tags are filtered.
+
+WWW: http://search.cpan.org/dist/HTML-StripScripts-Parser/
diff --git a/www/p5-HTML-StripScripts-Parser/pkg-plist b/www/p5-HTML-StripScripts-Parser/pkg-plist
new file mode 100644
index 000000000000..1f8554d33698
--- /dev/null
+++ b/www/p5-HTML-StripScripts-Parser/pkg-plist
@@ -0,0 +1,7 @@
+%%SITE_PERL%%/HTML/StripScripts/Parser.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/HTML/StripScripts/Parser/.packlist
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/HTML/StripScripts/Parser
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/HTML/StripScripts
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/HTML
+@dirrmtry %%SITE_PERL%%/HTML/StripScripts
+@dirrmtry %%SITE_PERL%%/HTML