diff options
author | joerg <joerg@pkgsrc.org> | 2010-10-13 18:45:11 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2010-10-13 18:45:11 +0000 |
commit | 23a0ea6087dc8e62fbf5049762c149b9abe1740a (patch) | |
tree | c042fc61ddeea8dfdf94f7ca1f087906f93ab864 /www | |
parent | 04d27eda502cbf47408e55196ed4f8699fec5be0 (diff) | |
download | pkgsrc-23a0ea6087dc8e62fbf5049762c149b9abe1740a.tar.gz |
rake is included with Ruby 1.9
Diffstat (limited to 'www')
-rw-r--r-- | www/rails/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/www/rails/Makefile b/www/rails/Makefile index 331f2e19968..9362dc5c38a 100644 --- a/www/rails/Makefile +++ b/www/rails/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.20 2010/10/13 02:47:19 obache Exp $ +# $NetBSD: Makefile,v 1.21 2010/10/13 18:45:11 joerg Exp $ DISTNAME= rails-2.3.9 PKGREVISION= 2 @@ -9,7 +9,11 @@ HOMEPAGE= http://www.rubyonrails.org/ COMMENT= Framework for developing database-backed web applications LICENSE= mit +.include "../../lang/ruby/gem.mk" + +.if ${RUBY_VER} == "18" DEPENDS+= ${RUBY_PKGPREFIX}-rake>=0.8.3:../../devel/rake +.endif DEPENDS+= ${RUBY_PKGPREFIX}-activesupport>=2.3.9:../../devel/ruby-activesupport DEPENDS+= ${RUBY_PKGPREFIX}-activerecord>=2.3.9:../../databases/ruby-activerecord DEPENDS+= ${RUBY_PKGPREFIX}-actionpack>=2.3.9:../../www/ruby-actionpack @@ -21,5 +25,4 @@ CONFLICTS+= ruby[1-9][0-9]-rails-[0-9]* rails-[0-9]* REPLACE_RUBY_DIRS= bin REPLACE_RUBY_PAT= * -.include "../../lang/ruby/gem.mk" .include "../../mk/bsd.pkg.mk" |