16703d23fa
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.
28 lines
578 B
Makefile
28 lines
578 B
Makefile
# $OpenBSD: Makefile,v 1.10 2011/11/17 16:08:00 jeremy Exp $
|
|
|
|
COMMENT = simple AMQP driver for Ruby
|
|
|
|
DISTNAME = amqp-0.6.7
|
|
REVISION = 3
|
|
CATEGORIES = net
|
|
|
|
# Ruby license
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MODULES = lang/ruby
|
|
|
|
CONFIGURE_STYLE = ruby gem
|
|
|
|
BUILD_DEPENDS = ${RUN_DEPENDS}
|
|
RUN_DEPENDS = net/ruby-eventmachine,${MODRUBY_FLAVOR}
|
|
|
|
REGRESS_DEPENDS = ${FULLPKGNAME}:${BUILD_PKGPATH} \
|
|
devel/ruby-bacon,${MODRUBY_FLAVOR}
|
|
MODRUBY_REGRESS = rake
|
|
MODRUBY_REGRESS_TARGET = spec
|
|
|
|
.include <bsd.port.mk>
|