openbsd-ports/www/ruby-mongrel/Makefile
jeremy 616393b529 Explicitly set ports that only build or run on ruby 1.8 to have both
FLAVOR and FLAVORS set to ruby18, so attempting to build them without a
FLAVOR set still builds the ruby 1.8 version.

Remove MAINTAINER at his request.
2012-09-23 17:13:42 +00:00

36 lines
765 B
Makefile

# $OpenBSD: Makefile,v 1.20 2012/09/23 17:13:42 jeremy Exp $
COMMENT= fast HTTP library and server for Ruby
DISTNAME= mongrel-1.1.5
REVISION = 5
CATEGORIES= www
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
FLAVORS= ruby18
FLAVOR= ruby18
BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= devel/ruby-daemons,${MODRUBY_FLAVOR}>=1.0.3 \
devel/ruby-gem_plugin,${MODRUBY_FLAVOR}>=0.2.3 \
devel/ruby-fastthread,${MODRUBY_FLAVOR}>=1.0.1
CONFIGURE_STYLE=ruby gem ext
REGRESS_DEPENDS= ${FULLPKGNAME}:${BUILD_PKGPATH}
do-regress:
@cd ${WRKDIST} && touch Rakefile && ${RUBY} setup.rb test && \
rm -f Rakefile
.include <bsd.port.mk>