602978bb2f
it might be possible to write a validator-like tool with it. It's intended to strip out unwanted HTML elements and attributes and leave you with non-dangerous HTML code that you should be able to trust. WWW: http://search.cpan.org/dist/HTML-Sanitizer/ PR: ports/117784 Submitted by: Gea-Suan Lin <gslin at gslin.org>
23 lines
453 B
Makefile
23 lines
453 B
Makefile
# New ports collection makefile for: p5-HTML-Sanitizer
|
|
# Date created: 2007-11-03
|
|
# Whom: Gea-Suan Lin <gslin@gslin.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= HTML-Sanitizer
|
|
PORTVERSION= 0.04
|
|
CATEGORIES= www security perl5
|
|
MASTER_SITES= CPAN
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= gslin@gslin.org
|
|
COMMENT= HTML Sanitizer
|
|
|
|
RUN_DEPENDS= ${SITE_PERL}/HTML/TreeBuilder.pm:${PORTSDIR}/www/p5-HTML-Tree
|
|
|
|
PERL_CONFIGURE= yes
|
|
|
|
MAN3= HTML::Sanitizer.3
|
|
|
|
.include <bsd.port.mk>
|