2008-09-28 11:52:15 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.11 2008/09/28 15:52:15 bernd Exp $
|
2006-11-24 05:35:16 -05:00
|
|
|
|
|
|
|
SHARED_ONLY= Yes
|
|
|
|
|
2007-09-15 16:38:20 -04:00
|
|
|
COMMENT= fast HTTP library and server for Ruby
|
2006-11-24 05:35:16 -05:00
|
|
|
|
2008-09-28 11:52:15 -04:00
|
|
|
DISTNAME= mongrel-1.1.5
|
|
|
|
PKGNAME= ruby-${DISTNAME}
|
2006-11-24 05:35:16 -05:00
|
|
|
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
|
|
|
|
|
2007-09-20 08:48:05 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_RUBYFORGE:=mongrel/}
|
2006-11-24 05:35:16 -05:00
|
|
|
|
|
|
|
WANTLIB= c m
|
|
|
|
|
|
|
|
MODULES= lang/ruby
|
|
|
|
|
2008-09-28 11:52:15 -04:00
|
|
|
LIB_DEPENDS= ${MODRUBY_LIB_DEPENDS}
|
2006-11-24 05:35:16 -05:00
|
|
|
|
|
|
|
BUILD_DEPENDS= ${RUN_DEPENDS}
|
2007-11-13 13:13:18 -05:00
|
|
|
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
|
2006-11-24 05:35:16 -05:00
|
|
|
|
|
|
|
CONFIGURE_STYLE=ruby gem
|
|
|
|
|
2007-11-13 13:13:18 -05:00
|
|
|
REGRESS_DEPENDS=:${PKGNAME}:www/ruby-mongrel
|
|
|
|
|
|
|
|
do-regress:
|
|
|
|
@cd ${WRKDIST} && touch Rakefile && ${RUBY} setup.rb test && \
|
|
|
|
rm -f Rakefile
|
|
|
|
|
2006-11-24 05:35:16 -05:00
|
|
|
.include <bsd.port.mk>
|