diff options
author | taca <taca> | 2010-12-26 15:21:40 +0000 |
---|---|---|
committer | taca <taca> | 2010-12-26 15:21:40 +0000 |
commit | 87f93f714898fb56cb2bcd05dcb2934b453d7f6e (patch) | |
tree | d30ea6b49438ac66695f50e20bbbc18903a28488 | |
parent | ee94e5ff2b959cea9fa742da4bd958d0605880da (diff) | |
download | pkgsrc-87f93f714898fb56cb2bcd05dcb2934b453d7f6e.tar.gz |
Reimport www/rails as www/ruby-rails.
-rw-r--r-- | www/ruby-rails/DESCR | 6 | ||||
-rw-r--r-- | www/ruby-rails/Makefile | 30 | ||||
-rw-r--r-- | www/ruby-rails/PLIST | 217 | ||||
-rw-r--r-- | www/ruby-rails/distinfo | 7 | ||||
-rw-r--r-- | www/ruby-rails/patches/patch-aa | 9 | ||||
-rw-r--r-- | www/ruby-rails/patches/patch-ad | 12 |
6 files changed, 281 insertions, 0 deletions
diff --git a/www/ruby-rails/DESCR b/www/ruby-rails/DESCR new file mode 100644 index 00000000000..772ff149de4 --- /dev/null +++ b/www/ruby-rails/DESCR @@ -0,0 +1,6 @@ +Rails is a full-stack framework for developing database-backed web +applications according to the Model-View-Control pattern. From the +Ajax in the view, to the request and response in the controller, to +the domain model wrapping the database, Rails gives you a pure-Ruby +development environment. To go live, all you need to add is a +database and a web server. diff --git a/www/ruby-rails/Makefile b/www/ruby-rails/Makefile new file mode 100644 index 00000000000..f9704871486 --- /dev/null +++ b/www/ruby-rails/Makefile @@ -0,0 +1,30 @@ +# $NetBSD: Makefile,v 1.1.1.1 2010/12/26 15:21:40 taca Exp $ + +DISTNAME= rails-2.3.10 +CATEGORIES= www + +MAINTAINER= minskim@NetBSD.org +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.10<3.0.0:../../devel/ruby-activesupport +DEPENDS+= ${RUBY_PKGPREFIX}-activerecord>=2.3.10<3.0.0:../../databases/ruby-activerecord +DEPENDS+= ${RUBY_PKGPREFIX}-actionpack>=2.3.10<3.0.0:../../www/ruby-actionpack +DEPENDS+= ${RUBY_PKGPREFIX}-actionmailer>=2.3.10<3.0.0:../../mail/ruby-actionmailer +DEPENDS+= ${RUBY_PKGPREFIX}-activeresource>=2.3.10<3.0.0:../../www/ruby-activeresource + +CONFLICTS+= ruby[1-9][0-9]-rails-[0-9]* rails-[0-9]* + +REPLACE_RUBY_DIRS= bin +REPLACE_RUBY_PAT= * + +pre-configure: + ${RM} -f ${WRKSRC}/railties-3.0.0.beta3.gem + +.include "../../mk/bsd.pkg.mk" diff --git a/www/ruby-rails/PLIST b/www/ruby-rails/PLIST new file mode 100644 index 00000000000..98a9e80500b --- /dev/null +++ b/www/ruby-rails/PLIST @@ -0,0 +1,217 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2010/12/26 15:21:40 taca Exp $ +bin/rails +${GEM_HOME}/cache/${GEM_NAME}.gem +${GEM_LIBDIR}/CHANGELOG +${GEM_LIBDIR}/MIT-LICENSE +${GEM_LIBDIR}/README +${GEM_LIBDIR}/Rakefile +${GEM_LIBDIR}/bin/about +${GEM_LIBDIR}/bin/console +${GEM_LIBDIR}/bin/dbconsole +${GEM_LIBDIR}/bin/destroy +${GEM_LIBDIR}/bin/generate +${GEM_LIBDIR}/bin/performance/benchmarker +${GEM_LIBDIR}/bin/performance/profiler +${GEM_LIBDIR}/bin/plugin +${GEM_LIBDIR}/bin/rails +${GEM_LIBDIR}/bin/runner +${GEM_LIBDIR}/bin/server +${GEM_LIBDIR}/builtin/rails_info/rails/info.rb +${GEM_LIBDIR}/builtin/rails_info/rails/info_controller.rb +${GEM_LIBDIR}/builtin/rails_info/rails/info_helper.rb +${GEM_LIBDIR}/builtin/rails_info/rails_info_controller.rb +${GEM_LIBDIR}/configs/databases/frontbase.yml +${GEM_LIBDIR}/configs/databases/ibm_db.yml +${GEM_LIBDIR}/configs/databases/mysql.yml +${GEM_LIBDIR}/configs/databases/oracle.yml +${GEM_LIBDIR}/configs/databases/postgresql.yml +${GEM_LIBDIR}/configs/databases/sqlite2.yml +${GEM_LIBDIR}/configs/databases/sqlite3.yml +${GEM_LIBDIR}/configs/empty.log +${GEM_LIBDIR}/configs/initializers/backtrace_silencers.rb +${GEM_LIBDIR}/configs/initializers/cookie_verification_secret.rb +${GEM_LIBDIR}/configs/initializers/inflections.rb +${GEM_LIBDIR}/configs/initializers/mime_types.rb +${GEM_LIBDIR}/configs/initializers/new_rails_defaults.rb +${GEM_LIBDIR}/configs/initializers/session_store.rb +${GEM_LIBDIR}/configs/locales/en.yml +${GEM_LIBDIR}/configs/routes.rb +${GEM_LIBDIR}/configs/seeds.rb +${GEM_LIBDIR}/dispatches/config.ru +${GEM_LIBDIR}/dispatches/dispatch.fcgi +${GEM_LIBDIR}/dispatches/dispatch.rb +${GEM_LIBDIR}/dispatches/gateway.cgi +${GEM_LIBDIR}/doc/README_FOR_APP +${GEM_LIBDIR}/environments/boot.rb +${GEM_LIBDIR}/environments/development.rb +${GEM_LIBDIR}/environments/environment.rb +${GEM_LIBDIR}/environments/production.rb +${GEM_LIBDIR}/environments/test.rb +${GEM_LIBDIR}/fresh_rakefile +${GEM_LIBDIR}/helpers/application_controller.rb +${GEM_LIBDIR}/helpers/application_helper.rb +${GEM_LIBDIR}/helpers/performance_test.rb +${GEM_LIBDIR}/helpers/test_helper.rb +${GEM_LIBDIR}/html/404.html +${GEM_LIBDIR}/html/422.html +${GEM_LIBDIR}/html/500.html +${GEM_LIBDIR}/html/favicon.ico +${GEM_LIBDIR}/html/images/rails.png +${GEM_LIBDIR}/html/index.html +${GEM_LIBDIR}/html/javascripts/application.js +${GEM_LIBDIR}/html/javascripts/controls.js +${GEM_LIBDIR}/html/javascripts/dragdrop.js +${GEM_LIBDIR}/html/javascripts/effects.js +${GEM_LIBDIR}/html/javascripts/prototype.js +${GEM_LIBDIR}/html/robots.txt +${GEM_LIBDIR}/lib/code_statistics.rb +${GEM_LIBDIR}/lib/commands.rb +${GEM_LIBDIR}/lib/commands/about.rb +${GEM_LIBDIR}/lib/commands/console.rb +${GEM_LIBDIR}/lib/commands/dbconsole.rb +${GEM_LIBDIR}/lib/commands/destroy.rb +${GEM_LIBDIR}/lib/commands/generate.rb +${GEM_LIBDIR}/lib/commands/ncgi/listener +${GEM_LIBDIR}/lib/commands/ncgi/tracker +${GEM_LIBDIR}/lib/commands/performance/benchmarker.rb +${GEM_LIBDIR}/lib/commands/performance/profiler.rb +${GEM_LIBDIR}/lib/commands/plugin.rb +${GEM_LIBDIR}/lib/commands/runner.rb +${GEM_LIBDIR}/lib/commands/server.rb +${GEM_LIBDIR}/lib/commands/update.rb +${GEM_LIBDIR}/lib/console_app.rb +${GEM_LIBDIR}/lib/console_sandbox.rb +${GEM_LIBDIR}/lib/console_with_helpers.rb +${GEM_LIBDIR}/lib/dispatcher.rb +${GEM_LIBDIR}/lib/fcgi_handler.rb +${GEM_LIBDIR}/lib/initializer.rb +${GEM_LIBDIR}/lib/performance_test_help.rb +${GEM_LIBDIR}/lib/rails/backtrace_cleaner.rb +${GEM_LIBDIR}/lib/rails/gem_builder.rb +${GEM_LIBDIR}/lib/rails/gem_dependency.rb +${GEM_LIBDIR}/lib/rails/plugin.rb +${GEM_LIBDIR}/lib/rails/plugin/loader.rb +${GEM_LIBDIR}/lib/rails/plugin/locator.rb +${GEM_LIBDIR}/lib/rails/rack.rb +${GEM_LIBDIR}/lib/rails/rack/debugger.rb +${GEM_LIBDIR}/lib/rails/rack/log_tailer.rb +${GEM_LIBDIR}/lib/rails/rack/metal.rb +${GEM_LIBDIR}/lib/rails/rack/static.rb +${GEM_LIBDIR}/lib/rails/vendor_gem_source_index.rb +${GEM_LIBDIR}/lib/rails/version.rb +${GEM_LIBDIR}/lib/rails_generator.rb +${GEM_LIBDIR}/lib/rails_generator/base.rb +${GEM_LIBDIR}/lib/rails_generator/commands.rb +${GEM_LIBDIR}/lib/rails_generator/generated_attribute.rb +${GEM_LIBDIR}/lib/rails_generator/generators/applications/app/USAGE +${GEM_LIBDIR}/lib/rails_generator/generators/applications/app/app_generator.rb +${GEM_LIBDIR}/lib/rails_generator/generators/applications/app/scm/git.rb +${GEM_LIBDIR}/lib/rails_generator/generators/applications/app/scm/scm.rb +${GEM_LIBDIR}/lib/rails_generator/generators/applications/app/scm/svn.rb +${GEM_LIBDIR}/lib/rails_generator/generators/applications/app/template_runner.rb +${GEM_LIBDIR}/lib/rails_generator/generators/components/controller/USAGE +${GEM_LIBDIR}/lib/rails_generator/generators/components/controller/controller_generator.rb +${GEM_LIBDIR}/lib/rails_generator/generators/components/controller/templates/controller.rb +${GEM_LIBDIR}/lib/rails_generator/generators/components/controller/templates/functional_test.rb +${GEM_LIBDIR}/lib/rails_generator/generators/components/controller/templates/helper.rb +${GEM_LIBDIR}/lib/rails_generator/generators/components/controller/templates/helper_test.rb +${GEM_LIBDIR}/lib/rails_generator/generators/components/controller/templates/view.html.erb +${GEM_LIBDIR}/lib/rails_generator/generators/components/helper/USAGE +${GEM_LIBDIR}/lib/rails_generator/generators/components/helper/helper_generator.rb +${GEM_LIBDIR}/lib/rails_generator/generators/components/helper/templates/helper.rb +${GEM_LIBDIR}/lib/rails_generator/generators/components/helper/templates/helper_test.rb +${GEM_LIBDIR}/lib/rails_generator/generators/components/integration_test/USAGE +${GEM_LIBDIR}/lib/rails_generator/generators/components/integration_test/integration_test_generator.rb +${GEM_LIBDIR}/lib/rails_generator/generators/components/integration_test/templates/integration_test.rb +${GEM_LIBDIR}/lib/rails_generator/generators/components/mailer/USAGE +${GEM_LIBDIR}/lib/rails_generator/generators/components/mailer/mailer_generator.rb +${GEM_LIBDIR}/lib/rails_generator/generators/components/mailer/templates/fixture.erb +${GEM_LIBDIR}/lib/rails_generator/generators/components/mailer/templates/fixture.rhtml +${GEM_LIBDIR}/lib/rails_generator/generators/components/mailer/templates/mailer.rb +${GEM_LIBDIR}/lib/rails_generator/generators/components/mailer/templates/unit_test.rb +${GEM_LIBDIR}/lib/rails_generator/generators/components/mailer/templates/view.erb +${GEM_LIBDIR}/lib/rails_generator/generators/components/mailer/templates/view.rhtml +${GEM_LIBDIR}/lib/rails_generator/generators/components/metal/USAGE +${GEM_LIBDIR}/lib/rails_generator/generators/components/metal/metal_generator.rb +${GEM_LIBDIR}/lib/rails_generator/generators/components/metal/templates/metal.rb +${GEM_LIBDIR}/lib/rails_generator/generators/components/migration/USAGE +${GEM_LIBDIR}/lib/rails_generator/generators/components/migration/migration_generator.rb +${GEM_LIBDIR}/lib/rails_generator/generators/components/migration/templates/migration.rb +${GEM_LIBDIR}/lib/rails_generator/generators/components/model/USAGE +${GEM_LIBDIR}/lib/rails_generator/generators/components/model/model_generator.rb +${GEM_LIBDIR}/lib/rails_generator/generators/components/model/templates/fixtures.yml +${GEM_LIBDIR}/lib/rails_generator/generators/components/model/templates/migration.rb +${GEM_LIBDIR}/lib/rails_generator/generators/components/model/templates/model.rb +${GEM_LIBDIR}/lib/rails_generator/generators/components/model/templates/unit_test.rb +${GEM_LIBDIR}/lib/rails_generator/generators/components/observer/USAGE +${GEM_LIBDIR}/lib/rails_generator/generators/components/observer/observer_generator.rb +${GEM_LIBDIR}/lib/rails_generator/generators/components/observer/templates/observer.rb +${GEM_LIBDIR}/lib/rails_generator/generators/components/observer/templates/unit_test.rb +${GEM_LIBDIR}/lib/rails_generator/generators/components/performance_test/USAGE +${GEM_LIBDIR}/lib/rails_generator/generators/components/performance_test/performance_test_generator.rb +${GEM_LIBDIR}/lib/rails_generator/generators/components/performance_test/templates/performance_test.rb +${GEM_LIBDIR}/lib/rails_generator/generators/components/plugin/USAGE +${GEM_LIBDIR}/lib/rails_generator/generators/components/plugin/plugin_generator.rb +${GEM_LIBDIR}/lib/rails_generator/generators/components/plugin/templates/MIT-LICENSE +${GEM_LIBDIR}/lib/rails_generator/generators/components/plugin/templates/README +${GEM_LIBDIR}/lib/rails_generator/generators/components/plugin/templates/Rakefile +${GEM_LIBDIR}/lib/rails_generator/generators/components/plugin/templates/USAGE +${GEM_LIBDIR}/lib/rails_generator/generators/components/plugin/templates/generator.rb +${GEM_LIBDIR}/lib/rails_generator/generators/components/plugin/templates/init.rb +${GEM_LIBDIR}/lib/rails_generator/generators/components/plugin/templates/install.rb +${GEM_LIBDIR}/lib/rails_generator/generators/components/plugin/templates/plugin.rb +${GEM_LIBDIR}/lib/rails_generator/generators/components/plugin/templates/tasks.rake +${GEM_LIBDIR}/lib/rails_generator/generators/components/plugin/templates/test_helper.rb +${GEM_LIBDIR}/lib/rails_generator/generators/components/plugin/templates/uninstall.rb +${GEM_LIBDIR}/lib/rails_generator/generators/components/plugin/templates/unit_test.rb +${GEM_LIBDIR}/lib/rails_generator/generators/components/resource/USAGE +${GEM_LIBDIR}/lib/rails_generator/generators/components/resource/resource_generator.rb +${GEM_LIBDIR}/lib/rails_generator/generators/components/resource/templates/controller.rb +${GEM_LIBDIR}/lib/rails_generator/generators/components/resource/templates/functional_test.rb +${GEM_LIBDIR}/lib/rails_generator/generators/components/resource/templates/helper.rb +${GEM_LIBDIR}/lib/rails_generator/generators/components/resource/templates/helper_test.rb +${GEM_LIBDIR}/lib/rails_generator/generators/components/scaffold/USAGE +${GEM_LIBDIR}/lib/rails_generator/generators/components/scaffold/scaffold_generator.rb +${GEM_LIBDIR}/lib/rails_generator/generators/components/scaffold/templates/controller.rb +${GEM_LIBDIR}/lib/rails_generator/generators/components/scaffold/templates/functional_test.rb +${GEM_LIBDIR}/lib/rails_generator/generators/components/scaffold/templates/helper.rb +${GEM_LIBDIR}/lib/rails_generator/generators/components/scaffold/templates/helper_test.rb +${GEM_LIBDIR}/lib/rails_generator/generators/components/scaffold/templates/layout.html.erb +${GEM_LIBDIR}/lib/rails_generator/generators/components/scaffold/templates/style.css +${GEM_LIBDIR}/lib/rails_generator/generators/components/scaffold/templates/view_edit.html.erb +${GEM_LIBDIR}/lib/rails_generator/generators/components/scaffold/templates/view_index.html.erb +${GEM_LIBDIR}/lib/rails_generator/generators/components/scaffold/templates/view_new.html.erb +${GEM_LIBDIR}/lib/rails_generator/generators/components/scaffold/templates/view_show.html.erb +${GEM_LIBDIR}/lib/rails_generator/generators/components/session_migration/USAGE +${GEM_LIBDIR}/lib/rails_generator/generators/components/session_migration/session_migration_generator.rb +${GEM_LIBDIR}/lib/rails_generator/generators/components/session_migration/templates/migration.rb +${GEM_LIBDIR}/lib/rails_generator/lookup.rb +${GEM_LIBDIR}/lib/rails_generator/manifest.rb +${GEM_LIBDIR}/lib/rails_generator/options.rb +${GEM_LIBDIR}/lib/rails_generator/scripts.rb +${GEM_LIBDIR}/lib/rails_generator/scripts/destroy.rb +${GEM_LIBDIR}/lib/rails_generator/scripts/generate.rb +${GEM_LIBDIR}/lib/rails_generator/scripts/update.rb +${GEM_LIBDIR}/lib/rails_generator/secret_key_generator.rb +${GEM_LIBDIR}/lib/rails_generator/simple_logger.rb +${GEM_LIBDIR}/lib/rails_generator/spec.rb +${GEM_LIBDIR}/lib/railties_path.rb +${GEM_LIBDIR}/lib/ruby_version_check.rb +${GEM_LIBDIR}/lib/rubyprof_ext.rb +${GEM_LIBDIR}/lib/source_annotation_extractor.rb +${GEM_LIBDIR}/lib/tasks/annotations.rake +${GEM_LIBDIR}/lib/tasks/databases.rake +${GEM_LIBDIR}/lib/tasks/documentation.rake +${GEM_LIBDIR}/lib/tasks/framework.rake +${GEM_LIBDIR}/lib/tasks/gems.rake +${GEM_LIBDIR}/lib/tasks/log.rake +${GEM_LIBDIR}/lib/tasks/middleware.rake +${GEM_LIBDIR}/lib/tasks/misc.rake +${GEM_LIBDIR}/lib/tasks/rails.rb +${GEM_LIBDIR}/lib/tasks/routes.rake +${GEM_LIBDIR}/lib/tasks/statistics.rake +${GEM_LIBDIR}/lib/tasks/testing.rake +${GEM_LIBDIR}/lib/tasks/tmp.rake +${GEM_LIBDIR}/lib/test_help.rb +${GEM_LIBDIR}/lib/webrick_server.rb +${GEM_HOME}/specifications/${GEM_NAME}.gemspec diff --git a/www/ruby-rails/distinfo b/www/ruby-rails/distinfo new file mode 100644 index 00000000000..faf38033e81 --- /dev/null +++ b/www/ruby-rails/distinfo @@ -0,0 +1,7 @@ +$NetBSD: distinfo,v 1.1.1.1 2010/12/26 15:21:40 taca Exp $ + +SHA1 (rails-2.3.10.gem) = 14cafcd32b3560570f52fc12f470bcb31169f3ed +RMD160 (rails-2.3.10.gem) = d776b061118890367f1e3831b456b042c1416ad4 +Size (rails-2.3.10.gem) = 1709056 bytes +SHA1 (patch-aa) = e59e8ad345d035fe850a5fe87aeff7a82590493e +SHA1 (patch-ad) = 7bdfc7dd1f54232e4a8e85218a773af0d789e1ba diff --git a/www/ruby-rails/patches/patch-aa b/www/ruby-rails/patches/patch-aa new file mode 100644 index 00000000000..ef02d32127f --- /dev/null +++ b/www/ruby-rails/patches/patch-aa @@ -0,0 +1,9 @@ +$NetBSD: patch-aa,v 1.1.1.1 2010/12/26 15:21:40 taca Exp $ + +--- bin/rails.orig 2010-09-07 05:45:01.000000000 +0000 ++++ bin/rails +@@ -1,3 +1,4 @@ ++#!/usr/pkg/bin/ruby + $:.unshift File.expand_path("../../lib", __FILE__) + + require 'ruby_version_check' diff --git a/www/ruby-rails/patches/patch-ad b/www/ruby-rails/patches/patch-ad new file mode 100644 index 00000000000..e71db804f83 --- /dev/null +++ b/www/ruby-rails/patches/patch-ad @@ -0,0 +1,12 @@ +$NetBSD: patch-ad,v 1.1.1.1 2010/12/26 15:21:40 taca Exp $ + +--- ../rails-2.3.10.gemspec.orig 2010-10-15 02:35:21.000000000 +0000 ++++ ../rails-2.3.10.gemspec +@@ -126,7 +126,6 @@ files: + - CHANGELOG + - fresh_rakefile + - MIT-LICENSE +-- railties-3.0.0.beta3.gem + - Rakefile + - README + - bin/about |