From a2dfb8b1e12d3e0fd6a02b84994b70870cbed0fd Mon Sep 17 00:00:00 2001 From: Po-Chuan Hsieh Date: Wed, 18 Sep 2024 13:51:13 +0800 Subject: [PATCH] textproc/rubygem-actiontext72: Add rubygem-actiontext72 7.2.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-actiontext72/Makefile | 28 +++++++++++++++++++++++++ textproc/rubygem-actiontext72/distinfo | 3 +++ textproc/rubygem-actiontext72/pkg-descr | 7 +++++++ 4 files changed, 39 insertions(+) create mode 100644 textproc/rubygem-actiontext72/Makefile create mode 100644 textproc/rubygem-actiontext72/distinfo create mode 100644 textproc/rubygem-actiontext72/pkg-descr diff --git a/textproc/Makefile b/textproc/Makefile index d987df8fc1d7..16b9c4a7f62e 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -1752,6 +1752,7 @@ SUBDIR += rubygem-actiontext61 SUBDIR += rubygem-actiontext70 SUBDIR += rubygem-actiontext71 + SUBDIR += rubygem-actiontext72 SUBDIR += rubygem-albino SUBDIR += rubygem-amatch SUBDIR += rubygem-asciidoctor diff --git a/textproc/rubygem-actiontext72/Makefile b/textproc/rubygem-actiontext72/Makefile new file mode 100644 index 000000000000..33a99e872936 --- /dev/null +++ b/textproc/rubygem-actiontext72/Makefile @@ -0,0 +1,28 @@ +PORTNAME= actiontext +PORTVERSION= 7.2.1 +CATEGORIES= textproc rubygems +MASTER_SITES= RG +PKGNAMESUFFIX= 72 + +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-actionpack72>=${PORTVERSION}<${PORTVERSION}_99:www/rubygem-actionpack72 \ + rubygem-activerecord72>=${PORTVERSION}<${PORTVERSION}_99:databases/rubygem-activerecord72 \ + rubygem-activestorage72>=${PORTVERSION}<${PORTVERSION}_99:net/rubygem-activestorage72 \ + rubygem-activesupport72>=${PORTVERSION}<${PORTVERSION}_99:devel/rubygem-activesupport72 \ + rubygem-globalid-rails72>=0.6.0:databases/rubygem-globalid-rails72 \ + rubygem-nokogiri>=1.8.5:textproc/rubygem-nokogiri + +USES= gem + +NO_ARCH= yes + +PORTSCOUT= limit:^7\.2\. + +.include diff --git a/textproc/rubygem-actiontext72/distinfo b/textproc/rubygem-actiontext72/distinfo new file mode 100644 index 000000000000..982599e7951e --- /dev/null +++ b/textproc/rubygem-actiontext72/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1726487296 +SHA256 (rubygem/actiontext-7.2.1.gem) = 1257a2384373188039fc35d46946e757014710361a4af4481e37b510ac7d7d79 +SIZE (rubygem/actiontext-7.2.1.gem) = 118272 diff --git a/textproc/rubygem-actiontext72/pkg-descr b/textproc/rubygem-actiontext72/pkg-descr new file mode 100644 index 000000000000..785267e465f8 --- /dev/null +++ b/textproc/rubygem-actiontext72/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.