2011-11-08 19:10:56 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.14 2011/11/09 00:10:56 jeremy Exp $
|
2008-04-19 13:21:27 -04:00
|
|
|
|
|
|
|
COMMENT= flexible HTML parser
|
|
|
|
|
2011-11-08 19:10:56 -05:00
|
|
|
DISTNAME= hpricot-0.8.4
|
2008-04-19 13:21:27 -04:00
|
|
|
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
|
|
|
|
|
2010-11-08 18:28:53 -05:00
|
|
|
BUILD_DEPENDS= ${MODRUBY_RAKE_DEPENDS}
|
2008-04-19 13:21:27 -04:00
|
|
|
|
|
|
|
MODULES= lang/ruby
|
|
|
|
|
2010-10-26 17:42:13 -04:00
|
|
|
CONFIGURE_STYLE= ruby gem ext
|
2008-04-19 13:21:27 -04:00
|
|
|
|
2010-11-20 14:56:47 -05:00
|
|
|
REGRESS_DEPENDS= ${FULLPKGNAME}:${BUILD_PKGPATH}
|
2008-04-19 13:21:27 -04:00
|
|
|
|
|
|
|
do-regress:
|
2011-03-25 12:39:54 -04:00
|
|
|
@cd ${WRKSRC} && ${RUBY} -rubygems -Ilib:test \
|
2008-04-19 13:21:27 -04:00
|
|
|
-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>
|