* Switch to use RUBY_RAILS_SUPPORTED.

* Relax dependency to ruby-i18n version.

Bump PKGREVISION.
This commit is contained in:
taca 2011-12-13 16:02:39 +00:00
parent dc91143f5c
commit 3228876e82

View file

@ -1,26 +1,28 @@
# $NetBSD: Makefile,v 1.7 2011/08/12 15:19:41 taca Exp $
# $NetBSD: Makefile,v 1.8 2011/12/13 16:02:39 taca Exp $
DISTNAME= actionpack-${RUBY_RAILS3_VERSION}
CATEGORIES= devel
PKGREVISION= 1
CATEGORIES= www
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.rubyonrails.org/
COMMENT= Toolkit for building modeling frameworks (part of Rails)
LICENSE= mit
# Comment out dependency in gemspec but already depends indirectly one.
#DEPENDS+= ${RUBY_ACTIVESUPPORT_DEPENDS}
DEPENDS+= ${RUBY_ACTIVEMODEL_DEPENDS}
DEPENDS+= ${RUBY_PKGPREFIX}-builder>=2.1.2:../../textproc/ruby-builder
DEPENDS+= ${RUBY_PKGPREFIX}-i18n>=0.5.0<0.6:../../devel/ruby-i18n
DEPENDS+= ${RUBY_PKGPREFIX}-i18n>=0.5<1:../../devel/ruby-i18n
DEPENDS+= ${RUBY_PKGPREFIX}-rack>=1.2.1<1.3:../../www/ruby-rack
DEPENDS+= ${RUBY_PKGPREFIX}-rack-test>=0.5.7<0.6:../../www/ruby-rack-test
DEPENDS+= ${RUBY_PKGPREFIX}-rack-mount>=0.6.14<0.7:../../www/ruby-rack-mount
DEPENDS+= ${RUBY_PKGPREFIX}-tzinfo>=0.3.23<0.4:../../time/ruby-tzinfo
DEPENDS+= ${RUBY_PKGPREFIX}-erubis>=2.6.6<2.7:../../www/erubis
RUBY_RAILS= 3
RUBY_RAILS_SUPPORTED= 3
OVERRIDE_GEMSPEC+= builder>=2.1.2
OVERRIDE_GEMSPEC+= builder>=2.1.2 i18n>=0.5
.include "../../lang/ruby/gem.mk"
.include "../../mk/bsd.pkg.mk"