summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2011-12-13 15:54:19 +0000
committertaca <taca@pkgsrc.org>2011-12-13 15:54:19 +0000
commit26130915b138143084af48cb346adc7ef47f0c36 (patch)
treefa5e9f93063c1b2c5460242a79f81c12767d6a78 /devel
parent7a6d32914dc43a4f13a05aed6841e08d983862d6 (diff)
downloadpkgsrc-26130915b138143084af48cb346adc7ef47f0c36.tar.gz
* Switch to use RUBY_RAILS_SUPPORTED.
* Don't hard code RUBY_RAILS3_VERSION in DISTNAME.
Diffstat (limited to 'devel')
-rw-r--r--devel/ruby-railties/Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/devel/ruby-railties/Makefile b/devel/ruby-railties/Makefile
index b5682a2146c..2ad32c5d3f1 100644
--- a/devel/ruby-railties/Makefile
+++ b/devel/ruby-railties/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.7 2011/08/17 14:20:04 taca Exp $
+# $NetBSD: Makefile,v 1.8 2011/12/13 15:54:19 taca Exp $
-DISTNAME= railties-${RUBY_RAILS3_VERSION}
+DISTNAME= railties-${RUBY_RAILS_VERSION}
CATEGORIES= databases
MAINTAINER= pkgsrc-users@NetBSD.org
@@ -8,12 +8,13 @@ HOMEPAGE= http://www.rubyonrails.org/
COMMENT= Tools for creating, working with, and running Rails applications
LICENSE= mit
-RUBY_RAILS= 3
-RUBY_RDOC_REQD= 3.4
-
+# Comment out dependency in gemspec but already depends indirectly one.
DEPENDS+= ${RUBY_PKGPREFIX}-thor>=0.14.4<0.15:../../devel/ruby-thor
#DEPENDS+= ${RUBY_ACTIVESUPPORT_DEPENDS}
DEPENDS+= ${RUBY_ACTIONPACK_DEPENDS}
+RUBY_RAILS_SUPPORTED= 3
+RUBY_RDOC_REQD= 3.4
+
.include "../../lang/ruby/gem.mk"
.include "../../mk/bsd.pkg.mk"