bcfc59c106
patch to allow regress testing with rspec 1.3.2.
30 lines
786 B
Makefile
30 lines
786 B
Makefile
# $OpenBSD: Makefile,v 1.13 2011/11/17 15:53:54 jeremy Exp $
|
|
|
|
COMMENT = fast and very simple Ruby web server
|
|
|
|
DISTNAME = thin-1.3.0
|
|
CATEGORIES = www
|
|
|
|
HOMEPAGE = http://code.macournoyer.com/thin/
|
|
|
|
# Ruby/GPLv2
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
PERMIT_DISTFILES_CDROM = Yes
|
|
PERMIT_DISTFILES_FTP = Yes
|
|
|
|
MODULES = lang/ruby
|
|
CONFIGURE_STYLE = ruby gem ext
|
|
|
|
BUILD_DEPENDS = ${RUN_DEPENDS}
|
|
RUN_DEPENDS = www/ruby-rack,${MODRUBY_FLAVOR}>=1.0.0 \
|
|
devel/ruby-daemons,${MODRUBY_FLAVOR}>=1.0.9 \
|
|
net/ruby-eventmachine,${MODRUBY_FLAVOR}>=0.12.6
|
|
|
|
MODRUBY_REGRESS = rspec
|
|
REGRESS_DEPENDS = ${FULLPKGNAME}:${BUILD_PKGPATH}
|
|
MODRUBY_REGRESS_ENV = RUBYLIB=$$(dirname `${GEM} which thin`) RUBYOPT='-I. -rubygems -rthin'
|
|
MODRUBY_REGRESS_TARGET = spec/*_spec.rb
|
|
|
|
.include <bsd.port.mk>
|