mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-20 20:09:11 +00:00
Add p5-HTML-Scrubber, Perl extension for scrubbing/sanitizing html
This commit is contained in:
parent
d005d75ba3
commit
ecc26d108e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=92693
@ -371,6 +371,7 @@
|
||||
SUBDIR += p5-HTML-Pager
|
||||
SUBDIR += p5-HTML-Parser
|
||||
SUBDIR += p5-HTML-QuickCheck
|
||||
SUBDIR += p5-HTML-Scrubber
|
||||
SUBDIR += p5-HTML-SimpleParse
|
||||
SUBDIR += p5-HTML-StickyQuery
|
||||
SUBDIR += p5-HTML-Stream
|
||||
|
24
www/p5-HTML-Scrubber/Makefile
Normal file
24
www/p5-HTML-Scrubber/Makefile
Normal file
@ -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>
|
1
www/p5-HTML-Scrubber/distinfo
Normal file
1
www/p5-HTML-Scrubber/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (HTML-Scrubber-0.04.tar.gz) = 98000d728a5707907fd94ab9de224abb
|
10
www/p5-HTML-Scrubber/pkg-descr
Normal file
10
www/p5-HTML-Scrubber/pkg-descr
Normal file
@ -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
|
5
www/p5-HTML-Scrubber/pkg-plist
Normal file
5
www/p5-HTML-Scrubber/pkg-plist
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user