summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2010-09-12 04:23:56 +0000
committertaca <taca@pkgsrc.org>2010-09-12 04:23:56 +0000
commit7ff9591c7f4752e5cb03bd9a432d1c7f3bca263e (patch)
tree54fce1c8a35aab7611f0f717f06b35bca9b190f5 /www
parent10309364a036ba57daa39920cb52d7e30c0acb70 (diff)
downloadpkgsrc-7ff9591c7f4752e5cb03bd9a432d1c7f3bca263e.tar.gz
Importing www/ruby-rails3 3.0.0.
Ruby on Rails is a full-stack web framework optimized for programmer happiness and sustainable productivity. It encourages beautiful code by favoring convention over configuration.
Diffstat (limited to 'www')
-rw-r--r--www/ruby-rails3/DESCR3
-rw-r--r--www/ruby-rails3/Makefile27
-rw-r--r--www/ruby-rails3/PLIST8
-rw-r--r--www/ruby-rails3/distinfo6
-rw-r--r--www/ruby-rails3/patches/patch-aa15
5 files changed, 59 insertions, 0 deletions
diff --git a/www/ruby-rails3/DESCR b/www/ruby-rails3/DESCR
new file mode 100644
index 00000000000..14f52e1d74d
--- /dev/null
+++ b/www/ruby-rails3/DESCR
@@ -0,0 +1,3 @@
+Ruby on Rails is a full-stack web framework optimized for programmer
+happiness and sustainable productivity. It encourages beautiful code
+by favoring convention over configuration.
diff --git a/www/ruby-rails3/Makefile b/www/ruby-rails3/Makefile
new file mode 100644
index 00000000000..a8959d55f1b
--- /dev/null
+++ b/www/ruby-rails3/Makefile
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1.1.1 2010/09/12 04:23:56 taca Exp $
+
+DISTNAME= rails-3.0.0
+CATEGORIES= www
+
+MAINTAINER= minskim@NetBSD.org
+HOMEPAGE= http://www.rubyonrails.org/
+COMMENT= Full-stack web application framework
+LICENSE= mit
+
+DEPENDS+= ${RUBY_PKGPREFIX}-activesupport>=3.0.0:../../devel/ruby-activesupport3
+DEPENDS+= ${RUBY_PKGPREFIX}-actionpack>=3.0.0:../../www/ruby-actionpack3
+DEPENDS+= ${RUBY_PKGPREFIX}-activerecord>=3.0.0:../../databases/ruby-activerecord3
+DEPENDS+= ${RUBY_PKGPREFIX}-activeresource>=3.0.0:../../www/ruby-activeresource3
+DEPENDS+= ${RUBY_PKGPREFIX}-actionmailer>=3.0.0:../../mail/ruby-actionmailer3
+DEPENDS+= ${RUBY_PKGPREFIX}-railties>=3.0.0:../../devel/ruby-railties
+DEPENDS+= ${RUBY_PKGPREFIX}-bundler>=1.0.0:../../misc/ruby-bundler
+
+CONFLICTS+= ruby[1-9][0-9]-rails-[0-9]*
+
+REPLACE_RUBY= bin/rails
+
+post-build:
+ ${MKDIR} ${RUBYGEM_INSTALL_ROOT}${PREFIX}/${GEM_LIBDIR}/lib
+
+.include "../../lang/ruby/gem.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/www/ruby-rails3/PLIST b/www/ruby-rails3/PLIST
new file mode 100644
index 00000000000..73a3c95a58a
--- /dev/null
+++ b/www/ruby-rails3/PLIST
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2010/09/12 04:23:56 taca Exp $
+bin/rails
+${GEM_HOME}/cache/${GEM_NAME}.gem
+${GEM_LIBDIR}/bin/rails
+${GEM_HOME}/specifications/${GEM_NAME}.gemspec
+@pkgdir lib/ruby/gems/1.8/gems/rails-${PKGVERSION}/lib
+@pkgdir lib/ruby/gems/1.8/doc/rails-${PKGVERSION}/ri
+@pkgdir lib/ruby/gems/1.8/doc/rails-${PKGVERSION}/rdoc
diff --git a/www/ruby-rails3/distinfo b/www/ruby-rails3/distinfo
new file mode 100644
index 00000000000..1204d1a6e46
--- /dev/null
+++ b/www/ruby-rails3/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2010/09/12 04:23:56 taca Exp $
+
+SHA1 (rails-3.0.0.gem) = 6c25b962a440b7d89b7681fe7a3d717e6c0e70c7
+RMD160 (rails-3.0.0.gem) = abcba2af0eef8bf59ecea45d2bd2bf2c37ec364f
+Size (rails-3.0.0.gem) = 3584 bytes
+SHA1 (patch-aa) = 8378a779036b81b589ad6fb5114261523e8a8ee7
diff --git a/www/ruby-rails3/patches/patch-aa b/www/ruby-rails3/patches/patch-aa
new file mode 100644
index 00000000000..3764ba60ba1
--- /dev/null
+++ b/www/ruby-rails3/patches/patch-aa
@@ -0,0 +1,15 @@
+$NetBSD: patch-aa,v 1.1.1.1 2010/09/12 04:23:56 taca Exp $
+
+Allow use of rubygems 1.3.5.
+
+--- ../rails-3.0.0.gemspec.orig 2010-09-07 13:56:20.000000000 +0000
++++ ../rails-3.0.0.gemspec
+@@ -119,7 +119,7 @@ required_rubygems_version: !ruby/object:
+ requirements:
+ - - ">="
+ - !ruby/object:Gem::Version
+- version: 1.3.6
++ version: 1.3.5
+ requirements: []
+
+ rubyforge_project: rails