summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorwiz <wiz>2016-04-15 11:12:32 +0000
committerwiz <wiz>2016-04-15 11:12:32 +0000
commit0714d5e30378e2ba4e62c4359f3d9fd46d5fa907 (patch)
tree2ce774ba142f6962122abb56dd2b6dbcc471886b /www
parent8ae5c66049e23ee76623861fc19ca30898fee33c (diff)
downloadpkgsrc-0714d5e30378e2ba4e62c4359f3d9fd46d5fa907.tar.gz
Import p5-HTML-Restrict-2.2.2 as www/p5-HTML-Restrict.
This module uses HTML::Parser to strip HTML from text in a restrictive manner. By default all HTML is restricted. You may alter the default behaviour by supplying your own tag rules.
Diffstat (limited to 'www')
-rw-r--r--www/p5-HTML-Restrict/DESCR3
-rw-r--r--www/p5-HTML-Restrict/Makefile25
-rw-r--r--www/p5-HTML-Restrict/distinfo6
3 files changed, 34 insertions, 0 deletions
diff --git a/www/p5-HTML-Restrict/DESCR b/www/p5-HTML-Restrict/DESCR
new file mode 100644
index 00000000000..22245191ea6
--- /dev/null
+++ b/www/p5-HTML-Restrict/DESCR
@@ -0,0 +1,3 @@
+This module uses HTML::Parser to strip HTML from text in a restrictive
+manner. By default all HTML is restricted. You may alter the default
+behaviour by supplying your own tag rules.
diff --git a/www/p5-HTML-Restrict/Makefile b/www/p5-HTML-Restrict/Makefile
new file mode 100644
index 00000000000..b0b1367cbe4
--- /dev/null
+++ b/www/p5-HTML-Restrict/Makefile
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1 2016/04/15 11:12:32 wiz Exp $
+
+DISTNAME= HTML-Restrict-2.2.2
+PKGNAME= p5-${DISTNAME}
+CATEGORIES= www perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=HTML/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://search.cpan.org/dist/HTML-Restrict/
+COMMENT= Perl5 module for stripping unwanted HTML tags and attributes
+LICENSE= ${PERL5_LICENSE}
+
+DEPENDS+= p5-Data-Dump-[0-9]*:../../devel/p5-Data-Dump
+DEPENDS+= p5-HTML-Parser-[0-9]*:../../www/p5-HTML-Parser
+DEPENDS+= p5-List-MoreUtils-[0-9]*:../../devel/p5-List-MoreUtils
+DEPENDS+= p5-Module-Build>=0.28:../../devel/p5-Module-Build
+DEPENDS+= p5-Moo>=1.002000:../../devel/p5-Moo
+DEPENDS+= p5-Type-Tiny>=1.000001:../../devel/p5-Type-Tiny
+DEPENDS+= p5-libwww-[0-9]*:../../www/p5-libwww
+DEPENDS+= p5-namespace-clean-[0-9]*:../../devel/p5-namespace-clean
+
+PERL5_PACKLIST= auto/HTML/Restrict/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/www/p5-HTML-Restrict/distinfo b/www/p5-HTML-Restrict/distinfo
new file mode 100644
index 00000000000..f784c753116
--- /dev/null
+++ b/www/p5-HTML-Restrict/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2016/04/15 11:12:32 wiz Exp $
+
+SHA1 (HTML-Restrict-2.2.2.tar.gz) = 1c3f87be794cae2176e6220478d83ea78a8322cb
+RMD160 (HTML-Restrict-2.2.2.tar.gz) = 99a237bce9ec865518299281415665f8e8ec5cfc
+SHA512 (HTML-Restrict-2.2.2.tar.gz) = 6c34463ab2cd484c5b70e4f8be42511e7fbbb7bda535c6a87309f4e4778ffc99e91f989313b9c9c80752513e636d229a2a073a50696db60e85a2d24fcd4aa69d
+Size (HTML-Restrict-2.2.2.tar.gz) = 26190 bytes