git: a7e815ee271d - main - www/rubygem-stimulus-rails-rails70: Add rubygem-stimulus-rails-rails70 1.3.0 (copied from rubygem-stimulus-rails)

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Wed, 01 Nov 2023 07:59:28 UTC
The branch main has been updated by sunpoet:

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

commit a7e815ee271d146e856915732c58dbbe2272d25c
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-11-01 07:56:42 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-11-01 07:56:42 +0000

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

diff --git a/www/Makefile b/www/Makefile
index 62d49e46d7eb..c919f5fa47b0 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -2263,6 +2263,7 @@
     SUBDIR += rubygem-smashing
     SUBDIR += rubygem-socksify
     SUBDIR += rubygem-stimulus-rails
+    SUBDIR += rubygem-stimulus-rails-rails70
     SUBDIR += rubygem-swd
     SUBDIR += rubygem-tailwindcss-rails
     SUBDIR += rubygem-task_list
diff --git a/www/rubygem-stimulus-rails-rails70/Makefile b/www/rubygem-stimulus-rails-rails70/Makefile
new file mode 100644
index 000000000000..815b802ec28b
--- /dev/null
+++ b/www/rubygem-stimulus-rails-rails70/Makefile
@@ -0,0 +1,20 @@
+PORTNAME=	stimulus-rails
+PORTVERSION=	1.3.0
+CATEGORIES=	www rubygems
+MASTER_SITES=	RG
+PKGNAMESUFFIX=	-rails70
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Modest JavaScript framework for the HTML you already have
+WWW=		https://github.com/hotwired/stimulus-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-stimulus-rails-rails70/distinfo b/www/rubygem-stimulus-rails-rails70/distinfo
new file mode 100644
index 000000000000..20a4aeb0d08c
--- /dev/null
+++ b/www/rubygem-stimulus-rails-rails70/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1697330202
+SHA256 (rubygem/stimulus-rails-1.3.0.gem) = 19d138829c2d6e6cc22c2c12141d621a8db29400dc93be01dcc9dda2ce227e7c
+SIZE (rubygem/stimulus-rails-1.3.0.gem) = 76288
diff --git a/www/rubygem-stimulus-rails-rails70/pkg-descr b/www/rubygem-stimulus-rails-rails70/pkg-descr
new file mode 100644
index 000000000000..37ed1125c806
--- /dev/null
+++ b/www/rubygem-stimulus-rails-rails70/pkg-descr
@@ -0,0 +1,12 @@
+Stimulus is a JavaScript framework with modest ambitions. It doesn't seek to
+take over your entire front-end in fact, it's not concerned with rendering HTML
+at all. Instead, it's designed to augment your HTML with just enough behavior to
+make it shine. Stimulus pairs beautifully with Turbo to provide a complete
+solution for fast, compelling applications with a minimal amount of effort.
+Together they form the core of Hotwire.
+
+Stimulus for Rails makes it easy to use this modest framework with both
+import-mapped and JavaScript-bundled apps. It relies on either importmap-rails
+to make Stimulus available via ESM or a Node-capable Rails (like via
+jsbundling-rails) to include Stimulus in the bundle. Make sure to install one of
+these first!