openbsd-ports/sysutils/god/Makefile
jeremy efe0b6985f Don't use the FLAVORS provided by the lang/ruby module.
Enable the regression test suite.

OK landry@
2011-03-24 21:28:05 +00:00

34 lines
727 B
Makefile

# $OpenBSD: Makefile,v 1.11 2011/03/24 21:28:05 jeremy Exp $
COMMENT= system monitoring framework written in Ruby
DISTNAME= god-0.7.3
FULLPKGNAME= ${DISTNAME}
REVISION = 6
CATEGORIES= sysutils
# MIT
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MODULES= lang/ruby
MODRUBY_HANDLE_FLAVORS = No
BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= devel/ruby-hoe>=1.4.0
CONFIGURE_STYLE=ruby gem ext
post-install:
@mkdir -p ${PREFIX}/share/examples/god
@cp -r ${WRKSRC}/examples/* ${PREFIX}/share/examples/god/
REGRESS_DEPENDS = devel/ruby-mocha,${MODRUBY_FLAVOR}
do-regress:
cd ${WRKSRC} && RUBYOPT=-rubygems ${MODRUBY_BIN_TESTRB} test/test_*.rb
.include <bsd.port.mk>