23 lines
475 B
Makefile
23 lines
475 B
Makefile
# $OpenBSD: Makefile,v 1.8 2019/07/12 20:51:05 sthen Exp $
|
|
|
|
COMMENT= whitelist-based HTML sanitizer
|
|
|
|
DISTNAME= sanitize-2.0.6
|
|
CATEGORIES= www textproc
|
|
|
|
HOMEPAGE= https://github.com/rgrove/sanitize/
|
|
|
|
# BSD
|
|
PERMIT_PACKAGE= Yes
|
|
|
|
BUILD_DEPENDS= ${RUN_DEPENDS}
|
|
RUN_DEPENDS= textproc/ruby-nokogiri,${MODRUBY_FLAVOR}>=1.4.4
|
|
|
|
MODULES= lang/ruby
|
|
CONFIGURE_STYLE= ruby gem
|
|
|
|
MODRUBY_TEST= ruby
|
|
MODRUBY_TEST_TARGET= -I lib test/test_sanitize.rb
|
|
|
|
.include <bsd.port.mk>
|