From bc7df0432b7a42284c8bbadd1c0a75bc2f332d18 Mon Sep 17 00:00:00 2001 From: Po-Chuan Hsieh Date: Fri, 3 Jan 2025 00:28:14 +0800 Subject: [PATCH] textproc/rubygem-actiontext80: Add rubygem-actiontext80 8.0.1 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. --- textproc/Makefile | 1 + textproc/rubygem-actiontext80/Makefile | 28 +++++++++++++++++++++++++ textproc/rubygem-actiontext80/distinfo | 3 +++ textproc/rubygem-actiontext80/pkg-descr | 7 +++++++ 4 files changed, 39 insertions(+) create mode 100644 textproc/rubygem-actiontext80/Makefile create mode 100644 textproc/rubygem-actiontext80/distinfo create mode 100644 textproc/rubygem-actiontext80/pkg-descr diff --git a/textproc/Makefile b/textproc/Makefile index e862ae608f52..bce5f335834a 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -1780,6 +1780,7 @@ SUBDIR += rubygem-actiontext70 SUBDIR += rubygem-actiontext71 SUBDIR += rubygem-actiontext72 + SUBDIR += rubygem-actiontext80 SUBDIR += rubygem-albino SUBDIR += rubygem-amatch SUBDIR += rubygem-asciidoctor diff --git a/textproc/rubygem-actiontext80/Makefile b/textproc/rubygem-actiontext80/Makefile new file mode 100644 index 000000000000..174be46dc0df --- /dev/null +++ b/textproc/rubygem-actiontext80/Makefile @@ -0,0 +1,28 @@ +PORTNAME= actiontext +PORTVERSION= 8.0.1 +CATEGORIES= textproc rubygems +MASTER_SITES= RG +PKGNAMESUFFIX= 80 + +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-actionpack80>=${PORTVERSION}<${PORTVERSION}_99:www/rubygem-actionpack80 \ + rubygem-activerecord80>=${PORTVERSION}<${PORTVERSION}_99:databases/rubygem-activerecord80 \ + rubygem-activestorage80>=${PORTVERSION}<${PORTVERSION}_99:net/rubygem-activestorage80 \ + rubygem-activesupport80>=${PORTVERSION}<${PORTVERSION}_99:devel/rubygem-activesupport80 \ + rubygem-globalid-rails80>=0.6.0:databases/rubygem-globalid-rails80 \ + rubygem-nokogiri>=1.8.5:textproc/rubygem-nokogiri + +USES= gem + +NO_ARCH= yes + +PORTSCOUT= limit:^8\.0\. + +.include diff --git a/textproc/rubygem-actiontext80/distinfo b/textproc/rubygem-actiontext80/distinfo new file mode 100644 index 000000000000..2aed17696e27 --- /dev/null +++ b/textproc/rubygem-actiontext80/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1735802484 +SHA256 (rubygem/actiontext-8.0.1.gem) = f232d303e854db2098f34d7331fe493a72dc2e53dfce80fbd517c7b93d4b05b2 +SIZE (rubygem/actiontext-8.0.1.gem) = 141312 diff --git a/textproc/rubygem-actiontext80/pkg-descr b/textproc/rubygem-actiontext80/pkg-descr new file mode 100644 index 000000000000..785267e465f8 --- /dev/null +++ b/textproc/rubygem-actiontext80/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.