006fde0cd9
into MODRUBY_WANTLIB and using CONFIGURE_STYLE = ruby gem ext. Use the lang/ruby module for all dependent ports, setting MODRUBY_{BUILD,RUN}DEP=No if necessary. ok landry, phessler, sthen
38 lines
841 B
Makefile
38 lines
841 B
Makefile
# $OpenBSD: Makefile,v 1.14 2010/10/26 21:42:14 jeremy Exp $
|
|
|
|
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
|
|
|
|
MODULES= lang/ruby
|
|
|
|
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 ext
|
|
|
|
REGRESS_DEPENDS=:${PKGNAME}:www/ruby-mongrel
|
|
|
|
do-regress:
|
|
@cd ${WRKDIST} && touch Rakefile && ${RUBY} setup.rb test && \
|
|
rm -f Rakefile
|
|
|
|
.include <bsd.port.mk>
|