openbsd-ports/textproc/ruby-hpricot/Makefile
jeremy 30be1ec4da Fix regress tests.
OK landry@
2011-03-25 16:39:54 +00:00

33 lines
741 B
Makefile

# $OpenBSD: Makefile,v 1.12 2011/03/25 16:39:54 jeremy Exp $
COMMENT= flexible HTML parser
DISTNAME= hpricot-0.8.1
REVISION= 2
CATEGORIES= textproc
HOMEPAGE= http://code.whytheluckystiff.net/hpricot/
# BSD
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
BUILD_DEPENDS= ${MODRUBY_RAKE_DEPENDS}
MODULES= lang/ruby
CONFIGURE_STYLE= ruby gem ext
REGRESS_DEPENDS= ${FULLPKGNAME}:${BUILD_PKGPATH}
do-regress:
@cd ${WRKSRC} && ${RUBY} -rubygems -Ilib:test \
-e "ARGV.each { |f| load f unless f =~ /^-/ }" \
"test/test_preserved.rb" "test/test_paths.rb" \
"test/test_xml.rb" "test/test_parser.rb" "test/test_alter.rb" \
"test/test_builder.rb"
.include <bsd.port.mk>