33 lines
740 B
Makefile
33 lines
740 B
Makefile
# $OpenBSD: Makefile,v 1.13 2011/09/16 11:41:41 espie Exp $
|
|
|
|
COMMENT= flexible HTML parser
|
|
|
|
DISTNAME= hpricot-0.8.1
|
|
REVISION= 3
|
|
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>
|