openbsd-ports/textproc/ruby-hpricot/Makefile
jeremy c3579f1baf Bump revisions for ruby gem/extconf ports after the switch to ruby 1.9
by default, since the ruby 1.8 version now has a ruby18 explicit FLAVOR.
2012-09-23 16:57:32 +00:00

33 lines
742 B
Makefile

# $OpenBSD: Makefile,v 1.15 2012/09/23 16:57:35 jeremy Exp $
COMMENT= flexible HTML parser
DISTNAME= hpricot-0.8.4
REVISION = 0
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>