diff options
| -rw-r--r-- | www/Makefile | 1 | ||||
| -rw-r--r-- | www/rubygem-stimulus-rails/Makefile | 21 | ||||
| -rw-r--r-- | www/rubygem-stimulus-rails/distinfo | 3 | ||||
| -rw-r--r-- | www/rubygem-stimulus-rails/pkg-descr | 14 |
4 files changed, 39 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile index 291f0e46c662..8491da2a95f4 100644 --- a/www/Makefile +++ b/www/Makefile @@ -2127,6 +2127,7 @@ SUBDIR += rubygem-sinatra1 SUBDIR += rubygem-smashing SUBDIR += rubygem-socksify + SUBDIR += rubygem-stimulus-rails SUBDIR += rubygem-swd SUBDIR += rubygem-task_list SUBDIR += rubygem-thin diff --git a/www/rubygem-stimulus-rails/Makefile b/www/rubygem-stimulus-rails/Makefile new file mode 100644 index 000000000000..5e0110d386e4 --- /dev/null +++ b/www/rubygem-stimulus-rails/Makefile @@ -0,0 +1,21 @@ +# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org> + +PORTNAME= stimulus-rails +PORTVERSION= 1.0.2 +CATEGORIES= www rubygems +MASTER_SITES= RG + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Modest JavaScript framework for the HTML you already have + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/MIT-LICENSE + +RUN_DEPENDS= rubygem-railties70>=6.0.0:www/rubygem-railties70 + +USES= gem +USE_RUBY= yes + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/www/rubygem-stimulus-rails/distinfo b/www/rubygem-stimulus-rails/distinfo new file mode 100644 index 000000000000..a19e25ba11da --- /dev/null +++ b/www/rubygem-stimulus-rails/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1641045748 +SHA256 (rubygem/stimulus-rails-1.0.2.gem) = 1c3c8ec2ea608928e6f5fdb18e2bb1f5a72c1fa94d0395c27bf2e229e80f4e02 +SIZE (rubygem/stimulus-rails-1.0.2.gem) = 59392 diff --git a/www/rubygem-stimulus-rails/pkg-descr b/www/rubygem-stimulus-rails/pkg-descr new file mode 100644 index 000000000000..c1f01ef1c892 --- /dev/null +++ b/www/rubygem-stimulus-rails/pkg-descr @@ -0,0 +1,14 @@ +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! + +WWW: https://github.com/hotwired/stimulus-rails |
