openbsd-ports/www/ruby-thin/Makefile
jeremy 63db5513d4 Enable regress tests.
OK landry@
2011-03-25 16:39:24 +00:00

31 lines
724 B
Makefile

# $OpenBSD: Makefile,v 1.11 2011/03/25 16:39:24 jeremy Exp $
COMMENT = fast and very simple Ruby web server
DISTNAME = thin-1.2.7
REVISION = 0
CATEGORIES = www
HOMEPAGE = http://code.macournoyer.com/thin/
# BSD
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}
do-regress:
cd ${WRKSRC} && RUBYOPT=-I. ${RSPEC} spec/*_spec.rb
.include <bsd.port.mk>