Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Jan 2025 16:30:40 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 1c99761f8fc9 - main - www/rubygem-jsbundling-rails-rails72: Add rubygem-jsbundling-rails-rails72 1.3.1 (copied from rubygem-jsbundling-rails)
Message-ID:  <202501021630.502GUeZt049306@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1c99761f8fc9fd373e08b41da054422d82b3773f

commit 1c99761f8fc9fd373e08b41da054422d82b3773f
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-01-02 16:28:54 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-01-02 16:28:54 +0000

    www/rubygem-jsbundling-rails-rails72: Add rubygem-jsbundling-rails-rails72 1.3.1 (copied from rubygem-jsbundling-rails)
---
 www/Makefile                                   |  1 +
 www/rubygem-jsbundling-rails-rails72/Makefile  | 20 ++++++++++++++++++++
 www/rubygem-jsbundling-rails-rails72/distinfo  |  3 +++
 www/rubygem-jsbundling-rails-rails72/pkg-descr | 12 ++++++++++++
 4 files changed, 36 insertions(+)

diff --git a/www/Makefile b/www/Makefile
index 9fc122afe1f1..07c96ed8179f 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -2146,6 +2146,7 @@
     SUBDIR += rubygem-jsbundling-rails
     SUBDIR += rubygem-jsbundling-rails-rails70
     SUBDIR += rubygem-jsbundling-rails-rails71
+    SUBDIR += rubygem-jsbundling-rails-rails72
     SUBDIR += rubygem-jsobfu
     SUBDIR += rubygem-json-jwt
     SUBDIR += rubygem-json-jwt-gitlab
diff --git a/www/rubygem-jsbundling-rails-rails72/Makefile b/www/rubygem-jsbundling-rails-rails72/Makefile
new file mode 100644
index 000000000000..447cd71b6449
--- /dev/null
+++ b/www/rubygem-jsbundling-rails-rails72/Makefile
@@ -0,0 +1,20 @@
+PORTNAME=	jsbundling-rails
+PORTVERSION=	1.3.1
+CATEGORIES=	www rubygems
+MASTER_SITES=	RG
+PKGNAMESUFFIX=	-rails72
+
+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-railties72>=6.0.0:www/rubygem-railties72
+
+USES=		gem
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/www/rubygem-jsbundling-rails-rails72/distinfo b/www/rubygem-jsbundling-rails-rails72/distinfo
new file mode 100644
index 000000000000..525427ce99d0
--- /dev/null
+++ b/www/rubygem-jsbundling-rails-rails72/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1722711339
+SHA256 (rubygem/jsbundling-rails-1.3.1.gem) = 0fa03f6d051c694cbf55a022d8be53399879f2c4cf38b2968f86379c62b1c2ca
+SIZE (rubygem/jsbundling-rails-1.3.1.gem) = 10752
diff --git a/www/rubygem-jsbundling-rails-rails72/pkg-descr b/www/rubygem-jsbundling-rails-rails72/pkg-descr
new file mode 100644
index 000000000000..a9cca1c01efb
--- /dev/null
+++ b/www/rubygem-jsbundling-rails-rails72/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).



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202501021630.502GUeZt049306>