Switch to use RUBY_RAILS_SUPPORTED.

This commit is contained in:
taca 2011-12-13 16:03:09 +00:00
parent 3228876e82
commit bfd01cd983

View file

@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.5 2011/05/30 13:08:15 hiramatsu Exp $
# $NetBSD: Makefile,v 1.6 2011/12/13 16:03:09 taca Exp $
DISTNAME= rails-${RUBY_RAILS3_VERSION}
DISTNAME= rails-${RUBY_RAILS_VERSION}
CATEGORIES= www
MAINTAINER= minskim@NetBSD.org
@ -8,8 +8,6 @@ HOMEPAGE= http://www.rubyonrails.org/
COMMENT= Full-stack web application framework
LICENSE= mit
RUBY_RAILS= 3
DEPENDS+= ${RUBY_ACTIVESUPPORT_DEPENDS}
DEPENDS+= ${RUBY_ACTIONPACK_DEPENDS}
DEPENDS+= ${RUBY_ACTIVERECORD_DEPENDS}
@ -20,7 +18,8 @@ DEPENDS+= ${RUBY_PKGPREFIX}-bundler>=1.0.0<2:../../misc/ruby-bundler
CONFLICTS+= ruby[1-9][0-9]-rails-[0-9]*
REPLACE_RUBY= bin/rails
RUBY_RAILS_SUPPORTED= 3
REPLACE_RUBY= bin/rails
post-build:
${MKDIR} ${RUBYGEM_INSTALL_ROOT}${PREFIX}/${GEM_LIBDIR}/lib