diff options
| author | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2023-11-01 07:56:36 +0000 |
|---|---|---|
| committer | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2023-11-01 07:56:36 +0000 |
| commit | 6a4ce0b625c91f9e17905cea7af1807f9f1edf82 (patch) | |
| tree | 86cb73ab7068dd59118d7e2f459f4b2604564c8d | |
| parent | d414bf7c3780b74c1a38875db9b21db233763206 (diff) | |
www/rubygem-jsbundling-rails-rails70: Add rubygem-jsbundling-rails-rails70 1.2.1 (copied from rubygem-jsbundling-rails)
| -rw-r--r-- | www/Makefile | 1 | ||||
| -rw-r--r-- | www/rubygem-jsbundling-rails-rails70/Makefile | 20 | ||||
| -rw-r--r-- | www/rubygem-jsbundling-rails-rails70/distinfo | 3 | ||||
| -rw-r--r-- | www/rubygem-jsbundling-rails-rails70/pkg-descr | 12 |
4 files changed, 36 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile index ec5ec35737bf..e89a6e1e4a07 100644 --- a/www/Makefile +++ b/www/Makefile @@ -2079,6 +2079,7 @@ SUBDIR += rubygem-jquery-ui-rails-rails4 SUBDIR += rubygem-jruby-rack SUBDIR += rubygem-jsbundling-rails + SUBDIR += rubygem-jsbundling-rails-rails70 SUBDIR += rubygem-jsobfu SUBDIR += rubygem-json-jwt SUBDIR += rubygem-json-jwt115 diff --git a/www/rubygem-jsbundling-rails-rails70/Makefile b/www/rubygem-jsbundling-rails-rails70/Makefile new file mode 100644 index 000000000000..661110a4c0b0 --- /dev/null +++ b/www/rubygem-jsbundling-rails-rails70/Makefile @@ -0,0 +1,20 @@ +PORTNAME= jsbundling-rails +PORTVERSION= 1.2.1 +CATEGORIES= www rubygems +MASTER_SITES= RG +PKGNAMESUFFIX= -rails70 + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Bundle and transpile JavaScript in Rails with esbuild, rollup.js, or Webpack +WWW= https://github.com/rails/jsbundling-rails + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/MIT-LICENSE + +RUN_DEPENDS= rubygem-railties70>=6.0.0:www/rubygem-railties70 + +USES= gem + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/www/rubygem-jsbundling-rails-rails70/distinfo b/www/rubygem-jsbundling-rails-rails70/distinfo new file mode 100644 index 000000000000..36badb1759b9 --- /dev/null +++ b/www/rubygem-jsbundling-rails-rails70/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1697330198 +SHA256 (rubygem/jsbundling-rails-1.2.1.gem) = 8acb8c4a536c9a0c3ce90646294d9ac96b6b683b219e76a4b0de257b26d45a4f +SIZE (rubygem/jsbundling-rails-1.2.1.gem) = 10752 diff --git a/www/rubygem-jsbundling-rails-rails70/pkg-descr b/www/rubygem-jsbundling-rails-rails70/pkg-descr new file mode 100644 index 000000000000..a9cca1c01efb --- /dev/null +++ b/www/rubygem-jsbundling-rails-rails70/pkg-descr @@ -0,0 +1,12 @@ +Use esbuild, rollup.js, or Webpack to bundle your JavaScript, then deliver it +via the asset pipeline in Rails. This gem provides installers to get you going +with the bundler of your choice in a new Rails application, and a convention to +use app/assets/builds to hold your bundled output as artifacts that are not +checked into source control (the installer adds this directory to .gitignore by +default). + +You develop using this approach by running the bundler in watch mode in a +terminal with yarn build --watch (and your Rails server in another, if you're +not using something like puma-dev). You can also use ./bin/dev, which will start +both the Rails server and the JS build watcher (along with a CSS build watcher, +if you're also using cssbundling-rails). |
