summaryrefslogtreecommitdiff
path: root/www/rails
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-04-04 15:30:00 +0000
committerjlam <jlam@pkgsrc.org>2008-04-04 15:30:00 +0000
commit49044b1ec2caacbe0cd6751700981b592cdb06b1 (patch)
treec080e0fce7907456de3fe1768865d098adfb51fd /www/rails
parentd5b336e4ba6b8a28d7b0778f55c1cbb057689834 (diff)
downloadpkgsrc-49044b1ec2caacbe0cd6751700981b592cdb06b1.tar.gz
Install as a gem using the pkgsrc rubygem.mk framework instead of
directly into site_ruby.
Diffstat (limited to 'www/rails')
-rw-r--r--www/rails/Makefile51
-rw-r--r--www/rails/PLIST484
-rw-r--r--www/rails/distinfo11
-rw-r--r--www/rails/patches/patch-aa29
-rw-r--r--www/rails/patches/patch-ab86
-rw-r--r--www/rails/patches/patch-ac14
6 files changed, 256 insertions, 419 deletions
diff --git a/www/rails/Makefile b/www/rails/Makefile
index dde5ae5ed3f..8e7a6df31c5 100644
--- a/www/rails/Makefile
+++ b/www/rails/Makefile
@@ -1,52 +1,19 @@
-# $NetBSD: Makefile,v 1.10 2008/02/09 06:31:59 minskim Exp $
+# $NetBSD: Makefile,v 1.11 2008/04/04 15:30:01 jlam Exp $
DISTNAME= rails-2.0.2
+PKGREVISION= 1
CATEGORIES= www
-MASTER_SITES= http://rubyforge.org/frs/download.php/29360/
-EXTRACT_SUFX= .tgz
MAINTAINER= minskim@NetBSD.org
HOMEPAGE= http://www.rubyonrails.org/
COMMENT= Framework for developing database-backed web applications
-PKG_DESTDIR_SUPPORT= user-destdir
-
-DEPENDS+= ${RUBY_PKGPREFIX}-activesupport>=2.0.2:../../devel/ruby-activesupport
-DEPENDS+= ${RUBY_PKGPREFIX}-activerecord>=2.0.2:../../databases/ruby-activerecord
-DEPENDS+= ${RUBY_PKGPREFIX}-activeresource>=2.0.2:../../www/ruby-activeresource
-DEPENDS+= ${RUBY_PKGPREFIX}-actionpack>=2.0.2:../../www/ruby-actionpack
-DEPENDS+= ${RUBY_PKGPREFIX}-actionmailer>=2.0.2:../../mail/ruby-actionmailer
-
-NO_BUILD= yes
-WRKSRC= ${WRKDIR}/rails/vendor/rails/railties
-
-REPLACE_RUBY_DIRS= ${WRKSRC}/bin ${WRKSRC}/dispatches \
- ${WRKSRC}/lib/commands/ncgi
-REPLACE_RUBY_PAT= *
-
-SUBST_CLASSES+= paths
-SUBST_MESSAGE.paths= Fixing hardcoded paths.
-SUBST_STAGE.paths= pre-configure
-SUBST_FILES.paths= lib/rails_generator/generators/applications/app/app_generator.rb
-SUBST_SED.paths= -e 's,:source =>.*,:source => "${PREFIX}/share/rails",g'
-
-INSTALLATION_DIRS= bin
-
-.include "../../lang/ruby/modules.mk"
-
-post-configure:
- ${FIND} ${WRKSRC} -name \*.orig -exec ${RM} -f {} \;
-
-do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/bin/rails ${DESTDIR}${PREFIX}/bin
- ${INSTALL_DATA_DIR} ${DESTDIR}${RUBY_SITELIBDIR}/rails
- cd ${WRKSRC}/lib && ${PAX} -rwppm * ${DESTDIR}${RUBY_SITELIBDIR}/
- ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/rails
-.for f in CHANGELOG MIT-LICENSE README
- ${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/share/rails
-.endfor
- cd ${WRKSRC} && ${PAX} -rwppm bin builtin configs dispatches doc \
- environments fresh_rakefile helpers html \
- ${DESTDIR}${PREFIX}/share/rails/
+DEPENDS+= rake>=0.8.1:../../devel/rake
+DEPENDS+= ${RUBY_PKGPREFIX}-activesupport>=2.0.2nb1:../../devel/ruby-activesupport
+DEPENDS+= ${RUBY_PKGPREFIX}-activerecord>=2.0.2nb1:../../databases/ruby-activerecord
+DEPENDS+= ${RUBY_PKGPREFIX}-activeresource>=2.0.2nb1:../../www/ruby-activeresource
+DEPENDS+= ${RUBY_PKGPREFIX}-actionpack>=2.0.2nb1:../../www/ruby-actionpack
+DEPENDS+= ${RUBY_PKGPREFIX}-actionmailer>=2.0.2nb1:../../mail/ruby-actionmailer
+.include "../../misc/rubygems/rubygem.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/www/rails/PLIST b/www/rails/PLIST
index 37f95436323..ddd8f51e40a 100644
--- a/www/rails/PLIST
+++ b/www/rails/PLIST
@@ -1,242 +1,244 @@
-@comment $NetBSD: PLIST,v 1.4 2008/02/09 06:31:59 minskim Exp $
+@comment $NetBSD: PLIST,v 1.5 2008/04/04 15:30:01 jlam Exp $
bin/rails
-${RUBY_SITELIBDIR}/code_statistics.rb
-${RUBY_SITELIBDIR}/commands.rb
-${RUBY_SITELIBDIR}/commands/about.rb
-${RUBY_SITELIBDIR}/commands/console.rb
-${RUBY_SITELIBDIR}/commands/destroy.rb
-${RUBY_SITELIBDIR}/commands/generate.rb
-${RUBY_SITELIBDIR}/commands/ncgi/listener
-${RUBY_SITELIBDIR}/commands/ncgi/tracker
-${RUBY_SITELIBDIR}/commands/performance/benchmarker.rb
-${RUBY_SITELIBDIR}/commands/performance/profiler.rb
-${RUBY_SITELIBDIR}/commands/performance/request.rb
-${RUBY_SITELIBDIR}/commands/plugin.rb
-${RUBY_SITELIBDIR}/commands/process/inspector.rb
-${RUBY_SITELIBDIR}/commands/process/reaper.rb
-${RUBY_SITELIBDIR}/commands/process/spawner.rb
-${RUBY_SITELIBDIR}/commands/process/spinner.rb
-${RUBY_SITELIBDIR}/commands/runner.rb
-${RUBY_SITELIBDIR}/commands/server.rb
-${RUBY_SITELIBDIR}/commands/servers/base.rb
-${RUBY_SITELIBDIR}/commands/servers/lighttpd.rb
-${RUBY_SITELIBDIR}/commands/servers/mongrel.rb
-${RUBY_SITELIBDIR}/commands/servers/webrick.rb
-${RUBY_SITELIBDIR}/commands/update.rb
-${RUBY_SITELIBDIR}/console_app.rb
-${RUBY_SITELIBDIR}/console_sandbox.rb
-${RUBY_SITELIBDIR}/console_with_helpers.rb
-${RUBY_SITELIBDIR}/dispatcher.rb
-${RUBY_SITELIBDIR}/fcgi_handler.rb
-${RUBY_SITELIBDIR}/initializer.rb
-${RUBY_SITELIBDIR}/rails/plugin.rb
-${RUBY_SITELIBDIR}/rails/plugin/loader.rb
-${RUBY_SITELIBDIR}/rails/plugin/locator.rb
-${RUBY_SITELIBDIR}/rails/version.rb
-${RUBY_SITELIBDIR}/rails_generator.rb
-${RUBY_SITELIBDIR}/rails_generator/base.rb
-${RUBY_SITELIBDIR}/rails_generator/commands.rb
-${RUBY_SITELIBDIR}/rails_generator/generated_attribute.rb
-${RUBY_SITELIBDIR}/rails_generator/generators/applications/app/USAGE
-${RUBY_SITELIBDIR}/rails_generator/generators/applications/app/app_generator.rb
-${RUBY_SITELIBDIR}/rails_generator/generators/components/controller/USAGE
-${RUBY_SITELIBDIR}/rails_generator/generators/components/controller/controller_generator.rb
-${RUBY_SITELIBDIR}/rails_generator/generators/components/controller/templates/controller.rb
-${RUBY_SITELIBDIR}/rails_generator/generators/components/controller/templates/functional_test.rb
-${RUBY_SITELIBDIR}/rails_generator/generators/components/controller/templates/helper.rb
-${RUBY_SITELIBDIR}/rails_generator/generators/components/controller/templates/view.html.erb
-${RUBY_SITELIBDIR}/rails_generator/generators/components/integration_test/USAGE
-${RUBY_SITELIBDIR}/rails_generator/generators/components/integration_test/integration_test_generator.rb
-${RUBY_SITELIBDIR}/rails_generator/generators/components/integration_test/templates/integration_test.rb
-${RUBY_SITELIBDIR}/rails_generator/generators/components/mailer/USAGE
-${RUBY_SITELIBDIR}/rails_generator/generators/components/mailer/mailer_generator.rb
-${RUBY_SITELIBDIR}/rails_generator/generators/components/mailer/templates/fixture.erb
-${RUBY_SITELIBDIR}/rails_generator/generators/components/mailer/templates/fixture.rhtml
-${RUBY_SITELIBDIR}/rails_generator/generators/components/mailer/templates/mailer.rb
-${RUBY_SITELIBDIR}/rails_generator/generators/components/mailer/templates/unit_test.rb
-${RUBY_SITELIBDIR}/rails_generator/generators/components/mailer/templates/view.erb
-${RUBY_SITELIBDIR}/rails_generator/generators/components/mailer/templates/view.rhtml
-${RUBY_SITELIBDIR}/rails_generator/generators/components/migration/USAGE
-${RUBY_SITELIBDIR}/rails_generator/generators/components/migration/migration_generator.rb
-${RUBY_SITELIBDIR}/rails_generator/generators/components/migration/templates/migration.rb
-${RUBY_SITELIBDIR}/rails_generator/generators/components/model/USAGE
-${RUBY_SITELIBDIR}/rails_generator/generators/components/model/model_generator.rb
-${RUBY_SITELIBDIR}/rails_generator/generators/components/model/templates/fixtures.yml
-${RUBY_SITELIBDIR}/rails_generator/generators/components/model/templates/migration.rb
-${RUBY_SITELIBDIR}/rails_generator/generators/components/model/templates/model.rb
-${RUBY_SITELIBDIR}/rails_generator/generators/components/model/templates/unit_test.rb
-${RUBY_SITELIBDIR}/rails_generator/generators/components/observer/USAGE
-${RUBY_SITELIBDIR}/rails_generator/generators/components/observer/observer_generator.rb
-${RUBY_SITELIBDIR}/rails_generator/generators/components/observer/templates/observer.rb
-${RUBY_SITELIBDIR}/rails_generator/generators/components/observer/templates/unit_test.rb
-${RUBY_SITELIBDIR}/rails_generator/generators/components/plugin/USAGE
-${RUBY_SITELIBDIR}/rails_generator/generators/components/plugin/plugin_generator.rb
-${RUBY_SITELIBDIR}/rails_generator/generators/components/plugin/templates/MIT-LICENSE
-${RUBY_SITELIBDIR}/rails_generator/generators/components/plugin/templates/README
-${RUBY_SITELIBDIR}/rails_generator/generators/components/plugin/templates/Rakefile
-${RUBY_SITELIBDIR}/rails_generator/generators/components/plugin/templates/USAGE
-${RUBY_SITELIBDIR}/rails_generator/generators/components/plugin/templates/generator.rb
-${RUBY_SITELIBDIR}/rails_generator/generators/components/plugin/templates/init.rb
-${RUBY_SITELIBDIR}/rails_generator/generators/components/plugin/templates/install.rb
-${RUBY_SITELIBDIR}/rails_generator/generators/components/plugin/templates/plugin.rb
-${RUBY_SITELIBDIR}/rails_generator/generators/components/plugin/templates/tasks.rake
-${RUBY_SITELIBDIR}/rails_generator/generators/components/plugin/templates/uninstall.rb
-${RUBY_SITELIBDIR}/rails_generator/generators/components/plugin/templates/unit_test.rb
-${RUBY_SITELIBDIR}/rails_generator/generators/components/resource/USAGE
-${RUBY_SITELIBDIR}/rails_generator/generators/components/resource/resource_generator.rb
-${RUBY_SITELIBDIR}/rails_generator/generators/components/resource/templates/controller.rb
-${RUBY_SITELIBDIR}/rails_generator/generators/components/resource/templates/functional_test.rb
-${RUBY_SITELIBDIR}/rails_generator/generators/components/resource/templates/helper.rb
-${RUBY_SITELIBDIR}/rails_generator/generators/components/scaffold/USAGE
-${RUBY_SITELIBDIR}/rails_generator/generators/components/scaffold/scaffold_generator.rb
-${RUBY_SITELIBDIR}/rails_generator/generators/components/scaffold/templates/controller.rb
-${RUBY_SITELIBDIR}/rails_generator/generators/components/scaffold/templates/functional_test.rb
-${RUBY_SITELIBDIR}/rails_generator/generators/components/scaffold/templates/helper.rb
-${RUBY_SITELIBDIR}/rails_generator/generators/components/scaffold/templates/layout.html.erb
-${RUBY_SITELIBDIR}/rails_generator/generators/components/scaffold/templates/style.css
-${RUBY_SITELIBDIR}/rails_generator/generators/components/scaffold/templates/view_edit.html.erb
-${RUBY_SITELIBDIR}/rails_generator/generators/components/scaffold/templates/view_index.html.erb
-${RUBY_SITELIBDIR}/rails_generator/generators/components/scaffold/templates/view_new.html.erb
-${RUBY_SITELIBDIR}/rails_generator/generators/components/scaffold/templates/view_show.html.erb
-${RUBY_SITELIBDIR}/rails_generator/generators/components/session_migration/USAGE
-${RUBY_SITELIBDIR}/rails_generator/generators/components/session_migration/session_migration_generator.rb
-${RUBY_SITELIBDIR}/rails_generator/generators/components/session_migration/templates/migration.rb
-${RUBY_SITELIBDIR}/rails_generator/lookup.rb
-${RUBY_SITELIBDIR}/rails_generator/manifest.rb
-${RUBY_SITELIBDIR}/rails_generator/options.rb
-${RUBY_SITELIBDIR}/rails_generator/scripts.rb
-${RUBY_SITELIBDIR}/rails_generator/scripts/destroy.rb
-${RUBY_SITELIBDIR}/rails_generator/scripts/generate.rb
-${RUBY_SITELIBDIR}/rails_generator/scripts/update.rb
-${RUBY_SITELIBDIR}/rails_generator/secret_key_generator.rb
-${RUBY_SITELIBDIR}/rails_generator/simple_logger.rb
-${RUBY_SITELIBDIR}/rails_generator/spec.rb
-${RUBY_SITELIBDIR}/railties_path.rb
-${RUBY_SITELIBDIR}/ruby_version_check.rb
-${RUBY_SITELIBDIR}/rubyprof_ext.rb
-${RUBY_SITELIBDIR}/source_annotation_extractor.rb
-${RUBY_SITELIBDIR}/tasks/annotations.rake
-${RUBY_SITELIBDIR}/tasks/databases.rake
-${RUBY_SITELIBDIR}/tasks/documentation.rake
-${RUBY_SITELIBDIR}/tasks/framework.rake
-${RUBY_SITELIBDIR}/tasks/log.rake
-${RUBY_SITELIBDIR}/tasks/misc.rake
-${RUBY_SITELIBDIR}/tasks/rails.rb
-${RUBY_SITELIBDIR}/tasks/routes.rake
-${RUBY_SITELIBDIR}/tasks/statistics.rake
-${RUBY_SITELIBDIR}/tasks/testing.rake
-${RUBY_SITELIBDIR}/tasks/tmp.rake
-${RUBY_SITELIBDIR}/test_help.rb
-${RUBY_SITELIBDIR}/webrick_server.rb
-share/rails/CHANGELOG
-share/rails/MIT-LICENSE
-share/rails/README
-share/rails/bin/about
-share/rails/bin/console
-share/rails/bin/destroy
-share/rails/bin/generate
-share/rails/bin/performance/benchmarker
-share/rails/bin/performance/profiler
-share/rails/bin/performance/request
-share/rails/bin/plugin
-share/rails/bin/process/inspector
-share/rails/bin/process/reaper
-share/rails/bin/process/spawner
-share/rails/bin/rails
-share/rails/bin/runner
-share/rails/bin/server
-share/rails/builtin/rails_info/rails/info.rb
-share/rails/builtin/rails_info/rails/info_controller.rb
-share/rails/builtin/rails_info/rails/info_helper.rb
-share/rails/builtin/rails_info/rails_info_controller.rb
-share/rails/configs/apache.conf
-share/rails/configs/databases/frontbase.yml
-share/rails/configs/databases/mysql.yml
-share/rails/configs/databases/oracle.yml
-share/rails/configs/databases/postgresql.yml
-share/rails/configs/databases/sqlite2.yml
-share/rails/configs/databases/sqlite3.yml
-share/rails/configs/empty.log
-share/rails/configs/initializers/inflections.rb
-share/rails/configs/initializers/mime_types.rb
-share/rails/configs/lighttpd.conf
-share/rails/configs/routes.rb
-share/rails/dispatches/dispatch.fcgi
-share/rails/dispatches/dispatch.rb
-share/rails/dispatches/gateway.cgi
-share/rails/doc/README_FOR_APP
-share/rails/environments/boot.rb
-share/rails/environments/development.rb
-share/rails/environments/environment.rb
-share/rails/environments/production.rb
-share/rails/environments/test.rb
-share/rails/fresh_rakefile
-share/rails/helpers/application.rb
-share/rails/helpers/application_helper.rb
-share/rails/helpers/test_helper.rb
-share/rails/html/404.html
-share/rails/html/422.html
-share/rails/html/500.html
-share/rails/html/favicon.ico
-share/rails/html/images/rails.png
-share/rails/html/index.html
-share/rails/html/javascripts/application.js
-share/rails/html/javascripts/controls.js
-share/rails/html/javascripts/dragdrop.js
-share/rails/html/javascripts/effects.js
-share/rails/html/javascripts/prototype.js
-share/rails/html/robots.txt
-@dirrm share/rails/html/javascripts
-@dirrm share/rails/html/images
-@dirrm share/rails/html
-@dirrm share/rails/helpers
-@dirrm share/rails/environments
-@dirrm share/rails/doc
-@dirrm share/rails/dispatches
-@dirrm share/rails/configs/initializers
-@dirrm share/rails/configs/databases
-@dirrm share/rails/configs
-@dirrm share/rails/builtin/rails_info/rails
-@dirrm share/rails/builtin/rails_info
-@dirrm share/rails/builtin
-@dirrm share/rails/bin/process
-@dirrm share/rails/bin/performance
-@dirrm share/rails/bin
-@dirrm share/rails
-@dirrm ${RUBY_SITELIBDIR}/tasks
-@dirrm ${RUBY_SITELIBDIR}/rails_generator/scripts
-@exec ${MKDIR} %D/lib/ruby/site_ruby/1.8/rails_generator/generators/components/web_service/templates
-@dirrm ${RUBY_SITELIBDIR}/rails_generator/generators/components/web_service/templates
-@dirrm ${RUBY_SITELIBDIR}/rails_generator/generators/components/web_service
-@dirrm ${RUBY_SITELIBDIR}/rails_generator/generators/components/session_migration/templates
-@dirrm ${RUBY_SITELIBDIR}/rails_generator/generators/components/session_migration
-@dirrm ${RUBY_SITELIBDIR}/rails_generator/generators/components/scaffold/templates
-@dirrm ${RUBY_SITELIBDIR}/rails_generator/generators/components/scaffold
-@dirrm ${RUBY_SITELIBDIR}/rails_generator/generators/components/resource/templates
-@dirrm ${RUBY_SITELIBDIR}/rails_generator/generators/components/resource
-@dirrm ${RUBY_SITELIBDIR}/rails_generator/generators/components/plugin/templates
-@dirrm ${RUBY_SITELIBDIR}/rails_generator/generators/components/plugin
-@dirrm ${RUBY_SITELIBDIR}/rails_generator/generators/components/observer/templates
-@dirrm ${RUBY_SITELIBDIR}/rails_generator/generators/components/observer
-@dirrm ${RUBY_SITELIBDIR}/rails_generator/generators/components/model/templates
-@dirrm ${RUBY_SITELIBDIR}/rails_generator/generators/components/model
-@dirrm ${RUBY_SITELIBDIR}/rails_generator/generators/components/migration/templates
-@dirrm ${RUBY_SITELIBDIR}/rails_generator/generators/components/migration
-@dirrm ${RUBY_SITELIBDIR}/rails_generator/generators/components/mailer/templates
-@dirrm ${RUBY_SITELIBDIR}/rails_generator/generators/components/mailer
-@dirrm ${RUBY_SITELIBDIR}/rails_generator/generators/components/integration_test/templates
-@dirrm ${RUBY_SITELIBDIR}/rails_generator/generators/components/integration_test
-@dirrm ${RUBY_SITELIBDIR}/rails_generator/generators/components/controller/templates
-@dirrm ${RUBY_SITELIBDIR}/rails_generator/generators/components/controller
-@dirrm ${RUBY_SITELIBDIR}/rails_generator/generators/components
-@dirrm ${RUBY_SITELIBDIR}/rails_generator/generators/applications/app
-@dirrm ${RUBY_SITELIBDIR}/rails_generator/generators/applications
-@dirrm ${RUBY_SITELIBDIR}/rails_generator/generators
-@dirrm ${RUBY_SITELIBDIR}/rails_generator
-@dirrm ${RUBY_SITELIBDIR}/rails/plugin
-@dirrm ${RUBY_SITELIBDIR}/rails
-@dirrm ${RUBY_SITELIBDIR}/commands/servers
-@dirrm ${RUBY_SITELIBDIR}/commands/process
-@dirrm ${RUBY_SITELIBDIR}/commands/performance
-@dirrm ${RUBY_SITELIBDIR}/commands/ncgi
-@dirrm ${RUBY_SITELIBDIR}/commands
+${GEM_HOME}/cache/rails-${PKGVERSION}.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/destroy
+${GEM_LIBDIR}/bin/generate
+${GEM_LIBDIR}/bin/performance/benchmarker
+${GEM_LIBDIR}/bin/performance/profiler
+${GEM_LIBDIR}/bin/performance/request
+${GEM_LIBDIR}/bin/plugin
+${GEM_LIBDIR}/bin/process/inspector
+${GEM_LIBDIR}/bin/process/reaper
+${GEM_LIBDIR}/bin/process/spawner
+${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/apache.conf
+${GEM_LIBDIR}/configs/databases/frontbase.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/inflections.rb
+${GEM_LIBDIR}/configs/initializers/mime_types.rb
+${GEM_LIBDIR}/configs/lighttpd.conf
+${GEM_LIBDIR}/configs/routes.rb
+${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.rb
+${GEM_LIBDIR}/helpers/application_helper.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/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/performance/request.rb
+${GEM_LIBDIR}/lib/commands/plugin.rb
+${GEM_LIBDIR}/lib/commands/process/inspector.rb
+${GEM_LIBDIR}/lib/commands/process/reaper.rb
+${GEM_LIBDIR}/lib/commands/process/spawner.rb
+${GEM_LIBDIR}/lib/commands/process/spinner.rb
+${GEM_LIBDIR}/lib/commands/runner.rb
+${GEM_LIBDIR}/lib/commands/server.rb
+${GEM_LIBDIR}/lib/commands/servers/base.rb
+${GEM_LIBDIR}/lib/commands/servers/lighttpd.rb
+${GEM_LIBDIR}/lib/commands/servers/mongrel.rb
+${GEM_LIBDIR}/lib/commands/servers/webrick.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/rails/plugin.rb
+${GEM_LIBDIR}/lib/rails/plugin/loader.rb
+${GEM_LIBDIR}/lib/rails/plugin/locator.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/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/view.html.erb
+${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/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/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/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/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/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/log.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/rails-${PKGVERSION}.gemspec
+@dirrm ${GEM_LIBDIR}/lib/tasks
+@dirrm ${GEM_LIBDIR}/lib/rails_generator/scripts
+@dirrm ${GEM_LIBDIR}/lib/rails_generator/generators/components/session_migration/templates
+@dirrm ${GEM_LIBDIR}/lib/rails_generator/generators/components/session_migration
+@dirrm ${GEM_LIBDIR}/lib/rails_generator/generators/components/scaffold/templates
+@dirrm ${GEM_LIBDIR}/lib/rails_generator/generators/components/scaffold
+@dirrm ${GEM_LIBDIR}/lib/rails_generator/generators/components/resource/templates
+@dirrm ${GEM_LIBDIR}/lib/rails_generator/generators/components/resource
+@dirrm ${GEM_LIBDIR}/lib/rails_generator/generators/components/plugin/templates
+@dirrm ${GEM_LIBDIR}/lib/rails_generator/generators/components/plugin
+@dirrm ${GEM_LIBDIR}/lib/rails_generator/generators/components/observer/templates
+@dirrm ${GEM_LIBDIR}/lib/rails_generator/generators/components/observer
+@dirrm ${GEM_LIBDIR}/lib/rails_generator/generators/components/model/templates
+@dirrm ${GEM_LIBDIR}/lib/rails_generator/generators/components/model
+@dirrm ${GEM_LIBDIR}/lib/rails_generator/generators/components/migration/templates
+@dirrm ${GEM_LIBDIR}/lib/rails_generator/generators/components/migration
+@dirrm ${GEM_LIBDIR}/lib/rails_generator/generators/components/mailer/templates
+@dirrm ${GEM_LIBDIR}/lib/rails_generator/generators/components/mailer
+@dirrm ${GEM_LIBDIR}/lib/rails_generator/generators/components/integration_test/templates
+@dirrm ${GEM_LIBDIR}/lib/rails_generator/generators/components/integration_test
+@dirrm ${GEM_LIBDIR}/lib/rails_generator/generators/components/controller/templates
+@dirrm ${GEM_LIBDIR}/lib/rails_generator/generators/components/controller
+@dirrm ${GEM_LIBDIR}/lib/rails_generator/generators/components
+@dirrm ${GEM_LIBDIR}/lib/rails_generator/generators/applications/app
+@dirrm ${GEM_LIBDIR}/lib/rails_generator/generators/applications
+@dirrm ${GEM_LIBDIR}/lib/rails_generator/generators
+@dirrm ${GEM_LIBDIR}/lib/rails_generator
+@dirrm ${GEM_LIBDIR}/lib/rails/plugin
+@dirrm ${GEM_LIBDIR}/lib/rails
+@dirrm ${GEM_LIBDIR}/lib/commands/servers
+@dirrm ${GEM_LIBDIR}/lib/commands/process
+@dirrm ${GEM_LIBDIR}/lib/commands/performance
+@dirrm ${GEM_LIBDIR}/lib/commands/ncgi
+@dirrm ${GEM_LIBDIR}/lib/commands
+@dirrm ${GEM_LIBDIR}/lib
+@dirrm ${GEM_LIBDIR}/html/javascripts
+@dirrm ${GEM_LIBDIR}/html/images
+@dirrm ${GEM_LIBDIR}/html
+@dirrm ${GEM_LIBDIR}/helpers
+@dirrm ${GEM_LIBDIR}/environments
+@dirrm ${GEM_LIBDIR}/doc
+@dirrm ${GEM_LIBDIR}/dispatches
+@dirrm ${GEM_LIBDIR}/configs/initializers
+@dirrm ${GEM_LIBDIR}/configs/databases
+@dirrm ${GEM_LIBDIR}/configs
+@dirrm ${GEM_LIBDIR}/builtin/rails_info/rails
+@dirrm ${GEM_LIBDIR}/builtin/rails_info
+@dirrm ${GEM_LIBDIR}/builtin
+@dirrm ${GEM_LIBDIR}/bin/process
+@dirrm ${GEM_LIBDIR}/bin/performance
+@dirrm ${GEM_LIBDIR}/bin
+@dirrm ${GEM_LIBDIR}
+@exec ${MKDIR} %D/${GEM_DOCDIR}
diff --git a/www/rails/distinfo b/www/rails/distinfo
index 409666ea51b..966981eec6c 100644
--- a/www/rails/distinfo
+++ b/www/rails/distinfo
@@ -1,8 +1,5 @@
-$NetBSD: distinfo,v 1.7 2008/02/09 06:31:59 minskim Exp $
+$NetBSD: distinfo,v 1.8 2008/04/04 15:30:01 jlam Exp $
-SHA1 (rails-2.0.2.tgz) = 0c24eb2c7b2359a0bdd6c615d0d9586b547acbcb
-RMD160 (rails-2.0.2.tgz) = a5c6f0ad6f94818b60155807574a2bdbdc6ddf41
-Size (rails-2.0.2.tgz) = 9106857 bytes
-SHA1 (patch-aa) = 53cfcd759ca40e73ef23e98fcd69851be20491df
-SHA1 (patch-ab) = 2b65f52a521b6499fce2d1279382acb6fa09b85e
-SHA1 (patch-ac) = 747f4ec91766930210bcb251c254f0296e836cc5
+SHA1 (rails-2.0.2.gem) = 35428ad8ed0e1ee76d040283d5333ff4fb5f4261
+RMD160 (rails-2.0.2.gem) = 8847ac68e31a1b4b5c919d650beb293e4e63ce08
+Size (rails-2.0.2.gem) = 183808 bytes
diff --git a/www/rails/patches/patch-aa b/www/rails/patches/patch-aa
deleted file mode 100644
index c80bac3da01..00000000000
--- a/www/rails/patches/patch-aa
+++ /dev/null
@@ -1,29 +0,0 @@
-$NetBSD: patch-aa,v 1.2 2008/02/09 06:31:59 minskim Exp $
-
---- bin/rails.orig 2007-12-16 17:05:17.000000000 -0800
-+++ bin/rails
-@@ -1,7 +1,8 @@
--require File.dirname(__FILE__) + '/../lib/ruby_version_check'
-+#!/usr/bin/env ruby
-+require 'ruby_version_check'
- Signal.trap("INT") { puts; exit }
-
--require File.dirname(__FILE__) + '/../lib/rails/version'
-+require 'rails/version'
- if %w(--version -v).include? ARGV.first
- puts "Rails #{Rails::VERSION::STRING}"
- exit(0)
-@@ -10,10 +11,10 @@ end
- freeze = ARGV.any? { |option| %w(--freeze -f).include?(option) }
- app_path = ARGV.first
-
--require File.dirname(__FILE__) + '/../lib/rails_generator'
-+require 'rails_generator'
-
- require 'rails_generator/scripts/generate'
- Rails::Generator::Base.use_application_sources!
- Rails::Generator::Scripts::Generate.new.run(ARGV, :generator => 'app')
-
--Dir.chdir(app_path) { `rake rails:freeze:gems`; puts "froze" } if freeze
-\ No newline at end of file
-+Dir.chdir(app_path) { `rake rails:freeze:gems`; puts "froze" } if freeze
diff --git a/www/rails/patches/patch-ab b/www/rails/patches/patch-ab
deleted file mode 100644
index 6f741cb840d..00000000000
--- a/www/rails/patches/patch-ab
+++ /dev/null
@@ -1,86 +0,0 @@
-$NetBSD: patch-ab,v 1.5 2008/02/09 06:31:59 minskim Exp $
-
---- environments/boot.rb.orig 2007-12-16 17:05:17.000000000 -0800
-+++ environments/boot.rb
-@@ -8,7 +8,7 @@ module Rails
- def boot!
- unless booted?
- preinitialize
-- pick_boot.run
-+ Boot.new.run
- end
- end
-
-@@ -36,71 +36,8 @@ module Rails
-
- class Boot
- def run
-- load_initializer
-- Rails::Initializer.run(:set_load_path)
-- end
-- end
--
-- class VendorBoot < Boot
-- def load_initializer
-- require "#{RAILS_ROOT}/vendor/rails/railties/lib/initializer"
-- end
-- end
--
-- class GemBoot < Boot
-- def load_initializer
-- self.class.load_rubygems
-- load_rails_gem
- require 'initializer'
-- end
--
-- def load_rails_gem
-- if version = self.class.gem_version
-- gem 'rails', version
-- else
-- gem 'rails'
-- end
-- rescue Gem::LoadError => load_error
-- $stderr.puts %(Missing the Rails #{version} gem. Please `gem install -v=#{version} rails`, update your RAILS_GEM_VERSION setting in config/environment.rb for the Rails version you do have installed, or comment out RAILS_GEM_VERSION to use the latest version installed.)
-- exit 1
-- end
--
-- class << self
-- def rubygems_version
-- Gem::RubyGemsVersion if defined? Gem::RubyGemsVersion
-- end
--
-- def gem_version
-- if defined? RAILS_GEM_VERSION
-- RAILS_GEM_VERSION
-- elsif ENV.include?('RAILS_GEM_VERSION')
-- ENV['RAILS_GEM_VERSION']
-- else
-- parse_gem_version(read_environment_rb)
-- end
-- end
--
-- def load_rubygems
-- require 'rubygems'
--
-- unless rubygems_version >= '0.9.4'
-- $stderr.puts %(Rails requires RubyGems >= 0.9.4 (you have #{rubygems_version}). Please `gem update --system` and try again.)
-- exit 1
-- end
--
-- rescue LoadError
-- $stderr.puts %(Rails requires RubyGems >= 0.9.4. Please install RubyGems and try again: http://rubygems.rubyforge.org)
-- exit 1
-- end
--
-- def parse_gem_version(text)
-- $1 if text =~ /^[^#]*RAILS_GEM_VERSION\s*=\s*["']([!~<>=]*\s*[\d.]+)["']/
-- end
--
-- private
-- def read_environment_rb
-- File.read("#{RAILS_ROOT}/config/environment.rb")
-- end
-+ Rails::Initializer.run(:set_load_path)
- end
- end
- end
diff --git a/www/rails/patches/patch-ac b/www/rails/patches/patch-ac
deleted file mode 100644
index 623cf355db9..00000000000
--- a/www/rails/patches/patch-ac
+++ /dev/null
@@ -1,14 +0,0 @@
-$NetBSD: patch-ac,v 1.1 2008/02/09 06:31:59 minskim Exp $
-
---- lib/rails_generator.rb.orig 2008-02-08 22:01:52.000000000 -0800
-+++ lib/rails_generator.rb
-@@ -26,9 +26,6 @@ $:.unshift(File.dirname(__FILE__) + "/..
-
- begin
- require 'active_support'
--rescue LoadError
-- require 'rubygems'
-- gem 'activesupport'
- end
-
- require 'rails_generator/base'