summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2011-12-13 16:03:09 +0000
committertaca <taca@pkgsrc.org>2011-12-13 16:03:09 +0000
commitad3119dc7d92ac38c052002a1aa0d38d2c8367c3 (patch)
treeba4b599635414cfb8cc25ad7a3a2f16ff1595106 /www
parent6d736b28109665d5f868fd891a1aeee9468231ed (diff)
downloadpkgsrc-ad3119dc7d92ac38c052002a1aa0d38d2c8367c3.tar.gz
Switch to use RUBY_RAILS_SUPPORTED.
Diffstat (limited to 'www')
-rw-r--r--www/ruby-rails3/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/www/ruby-rails3/Makefile b/www/ruby-rails3/Makefile
index 7fba625ecf4..79c1ff34079 100644
--- a/www/ruby-rails3/Makefile
+++ b/www/ruby-rails3/Makefile
@@ -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