Start using MODRUBY_REGRESS with ruby, rspec2, and testrb entries. Switch away from manual do_regress targets where possible. Add some patches to make regress tests run for some ports.
31 lines
746 B
Makefile
31 lines
746 B
Makefile
# $OpenBSD: Makefile,v 1.12 2011/11/17 16:08:00 jeremy Exp $
|
|
|
|
COMMENT= a ruby timer based on SIGALRM
|
|
|
|
DISTNAME= SystemTimer-1.2.3
|
|
PKGNAME= ${DISTNAME:L}
|
|
REVISION= 0
|
|
CATEGORIES= devel
|
|
|
|
# ruby or gpl
|
|
PERMIT_PACKAGE_CDROM= yes
|
|
PERMIT_PACKAGE_FTP= yes
|
|
PERMIT_DISTFILES_CDROM= yes
|
|
PERMIT_DISTFILES_FTP= yes
|
|
|
|
MODULES= lang/ruby
|
|
|
|
CONFIGURE_STYLE=ruby gem ext
|
|
|
|
# Regress tests not enabled, as they depend on ruby-dust,
|
|
# which is dead upstream and won't be imported. You can
|
|
# manually install the gem if you want to run the regress
|
|
# tests.
|
|
NO_REGRESS = Yes
|
|
#REGRESS_DEPENDS = ${FULLPKGNAME}:${BUILD_PKGPATH} \
|
|
# devel/ruby-mocha,${MODRUBY_FLAVOR}
|
|
#MODRUBY_REGRESS = ruby
|
|
#MODRUBY_REGRESS_TARGET = -rubygems test/all_tests.rb
|
|
|
|
.include <bsd.port.mk>
|