openbsd-ports/www/ruby-mongrel/Makefile
jeremy d765f5df76 Bump all ruby ports not already handled.
In the upgrade from ruby 1.8.6 to 1.8.7, the PLISTs changed
due to differences in how RDoc processes files.

This also has a number of changes to the regress tests to
work with the changes to devel/ruby-rake.  It moves most of
the regress tests to use MODRUBY_REGRESS.

OK jcs@, landry@, jasper@, sthen@
2010-09-23 22:30:24 +00:00

46 lines
956 B
Makefile

# $OpenBSD: Makefile,v 1.12 2010/09/23 22:30:30 jeremy Exp $
SHARED_ONLY= Yes
COMMENT= fast HTTP library and server for Ruby
DISTNAME= mongrel-1.1.5
PKGNAME= ruby-${DISTNAME}
REVISION= 0
CATEGORIES= www
MAINTAINER= Jason LaRiviere <jason@indelicate.net>
HOMEPAGE= http://mongrel.rubyforge.org/
# Ruby License
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_RUBYFORGE:=mongrel/}
WANTLIB= c m
MODULES= lang/ruby
LIB_DEPENDS= ${MODRUBY_LIB_DEPENDS}
BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= :ruby-daemons->=1.0.3:devel/ruby-daemons \
:ruby-gem_plugin->=0.2.3:devel/ruby-gem_plugin \
:ruby-fastthread->=1.0.1:devel/ruby-fastthread
GEM_SKIPDEPENDS=cgi_multipart_eof_fix
CONFIGURE_STYLE=ruby gem
REGRESS_DEPENDS=:${PKGNAME}:www/ruby-mongrel
do-regress:
@cd ${WRKDIST} && touch Rakefile && ${RUBY} setup.rb test && \
rm -f Rakefile
.include <bsd.port.mk>