aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2025-11-17 21:02:54 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2025-11-17 21:06:47 +0000
commit3d45d9edf35baa4bc69fbc4cac2d0c3a42e75225 (patch)
tree2d56ea9f2b371d209186efbb2479ae274e3cae2b
parentd0f6edb4cdd4bb846fa0717d3373909862740731 (diff)
textproc/rubygem-actiontext81: Add rubygem-actiontext81 8.1.0
Action Text brings rich text content and editing to Rails. It includes the Trix editor that handles everything from formatting to links to quotes to lists to embedded images and galleries. The rich text content generated by the Trix editor is saved in its own RichText model that's associated with any existing Active Record model in the application. Any embedded images (or other attachments) are automatically stored using Active Storage and associated with the included RichText model.
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/rubygem-actiontext81/Makefile29
-rw-r--r--textproc/rubygem-actiontext81/distinfo3
-rw-r--r--textproc/rubygem-actiontext81/pkg-descr7
4 files changed, 40 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 18350508bdd3..5251dc109cf9 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1809,6 +1809,7 @@
SUBDIR += rubygem-actiontext71
SUBDIR += rubygem-actiontext72
SUBDIR += rubygem-actiontext80
+ SUBDIR += rubygem-actiontext81
SUBDIR += rubygem-albino
SUBDIR += rubygem-amatch
SUBDIR += rubygem-asciidoctor
diff --git a/textproc/rubygem-actiontext81/Makefile b/textproc/rubygem-actiontext81/Makefile
new file mode 100644
index 000000000000..bc8e8d058e55
--- /dev/null
+++ b/textproc/rubygem-actiontext81/Makefile
@@ -0,0 +1,29 @@
+PORTNAME= actiontext
+PORTVERSION= 8.1.0
+CATEGORIES= textproc rubygems
+MASTER_SITES= RG
+PKGNAMESUFFIX= 81
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Edit and display rich text in Rails applications
+WWW= https://github.com/rails/rails/tree/main/actiontext \
+ https://rubyonrails.org/
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/MIT-LICENSE
+
+RUN_DEPENDS= rubygem-action_text-trix>=2.1.15<2.2:textproc/rubygem-action_text-trix \
+ rubygem-actionpack81>=${PORTVERSION}<${PORTVERSION}_99:www/rubygem-actionpack81 \
+ rubygem-activerecord81>=${PORTVERSION}<${PORTVERSION}_99:databases/rubygem-activerecord81 \
+ rubygem-activestorage81>=${PORTVERSION}<${PORTVERSION}_99:net/rubygem-activestorage81 \
+ rubygem-activesupport81>=${PORTVERSION}<${PORTVERSION}_99:devel/rubygem-activesupport81 \
+ rubygem-globalid-rails81>=0.6.0:databases/rubygem-globalid-rails81 \
+ rubygem-nokogiri>=1.8.5:textproc/rubygem-nokogiri
+
+USES= gem
+
+NO_ARCH= yes
+
+PORTSCOUT= limit:^8\.1\.
+
+.include <bsd.port.mk>
diff --git a/textproc/rubygem-actiontext81/distinfo b/textproc/rubygem-actiontext81/distinfo
new file mode 100644
index 000000000000..bddde7bf2bed
--- /dev/null
+++ b/textproc/rubygem-actiontext81/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1762526264
+SHA256 (rubygem/actiontext-8.1.0.gem) = 64bc719fcbe5fecfa7c45cf289c0d87d41be924e98883433c2e6352d3a142277
+SIZE (rubygem/actiontext-8.1.0.gem) = 41984
diff --git a/textproc/rubygem-actiontext81/pkg-descr b/textproc/rubygem-actiontext81/pkg-descr
new file mode 100644
index 000000000000..785267e465f8
--- /dev/null
+++ b/textproc/rubygem-actiontext81/pkg-descr
@@ -0,0 +1,7 @@
+Action Text brings rich text content and editing to Rails. It includes the Trix
+editor that handles everything from formatting to links to quotes to lists to
+embedded images and galleries. The rich text content generated by the Trix
+editor is saved in its own RichText model that's associated with any existing
+Active Record model in the application. Any embedded images (or other
+attachments) are automatically stored using Active Storage and associated with
+the included RichText model.