freebsd-ports/textproc/rubygem-sanitize/Makefile
Steve Wills fb3a2d1c70 Sanitize is a whitelist-based HTML sanitizer. Given a list of
acceptable elements and attributes, Sanitize will remove all
unacceptable HTML from a string.

Using a simple configuration syntax, you can tell Sanitize to
allow certain elements, certain attributes within those elements,
and even certain URL protocols within attributes that contain URLs.
Any HTML elements or attributes that you don't explicitly allow
will be removed.

Author: Ryan Grove
WWW: https://github.com/rgrove/sanitize/
WWW: http://wonko.com/post/sanitize

PR:		ports/158312
Submitted by:	Eric Freeman <freebsdports@chillibear.com>
2011-10-02 17:14:09 +00:00

22 lines
478 B
Makefile

# Ports collection makefile for: rubygem-sanitize
# Date created: 26 June 2011
# Whom: Eric Freeman <freebsdports@chillibear.com>
#
# $FreeBSD$
#
PORTNAME= sanitize
PORTVERSION= 2.0.2
CATEGORIES= textproc rubygems
MASTER_SITES= RG
MAINTAINER= freebsdports@chillibear.com
COMMENT= Whitelist based HTML sanitizer
RUN_DEPENDS= rubygem-nokogiri>=1.4.4:${PORTSDIR}/textproc/rubygem-nokogiri
USE_RUBY= yes
USE_RUBYGEMS= yes
RUBYGEM_AUTOPLIST= yes
.include <bsd.port.mk>