git: 1dd6f0ad9285 - main - textproc/rubygem-actiontext70: Add rubygem-actiontext70 7.0.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Tue, 11 Jan 2022 18:52:49 UTC
The branch main has been updated by sunpoet:

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

commit 1dd6f0ad9285c45d382252a83422e4f4625c755a
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-01-11 16:57:08 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-01-11 18:43:53 +0000

    textproc/rubygem-actiontext70: Add rubygem-actiontext70 7.0.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.
    
    WWW: https://rubyonrails.org/
    WWW: https://github.com/rails/rails/tree/main/actiontext
---
 textproc/Makefile                       |  1 +
 textproc/rubygem-actiontext70/Makefile  | 29 +++++++++++++++++++++++++++++
 textproc/rubygem-actiontext70/distinfo  |  3 +++
 textproc/rubygem-actiontext70/pkg-descr | 10 ++++++++++
 4 files changed, 43 insertions(+)

diff --git a/textproc/Makefile b/textproc/Makefile
index ff316f2937ed..806be5e3e3e4 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -1597,6 +1597,7 @@
     SUBDIR += rubygem-actionpack-xml_parser-rails52
     SUBDIR += rubygem-actiontext60
     SUBDIR += rubygem-actiontext61
+    SUBDIR += rubygem-actiontext70
     SUBDIR += rubygem-albino
     SUBDIR += rubygem-amatch
     SUBDIR += rubygem-asciidoctor
diff --git a/textproc/rubygem-actiontext70/Makefile b/textproc/rubygem-actiontext70/Makefile
new file mode 100644
index 000000000000..62e0eb57eb6e
--- /dev/null
+++ b/textproc/rubygem-actiontext70/Makefile
@@ -0,0 +1,29 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+
+PORTNAME=	actiontext
+PORTVERSION=	7.0.0
+CATEGORIES=	textproc rubygems
+MASTER_SITES=	RG
+PKGNAMESUFFIX=	70
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Edit and display rich text in Rails applications
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/MIT-LICENSE
+
+RUN_DEPENDS=	rubygem-actionpack70>=${PORTVERSION}:www/rubygem-actionpack70 \
+		rubygem-activerecord70>=${PORTVERSION}:databases/rubygem-activerecord70 \
+		rubygem-activestorage70>=${PORTVERSION}:net/rubygem-activestorage70 \
+		rubygem-activesupport70>=${PORTVERSION}:devel/rubygem-activesupport70 \
+		rubygem-globalid-rails70>=0.6.0:databases/rubygem-globalid-rails70 \
+		rubygem-nokogiri>=1.8.5:textproc/rubygem-nokogiri
+
+USES=		gem
+USE_RUBY=	yes
+
+NO_ARCH=	yes
+
+PORTSCOUT=	limit:^7\.0\.
+
+.include <bsd.port.mk>
diff --git a/textproc/rubygem-actiontext70/distinfo b/textproc/rubygem-actiontext70/distinfo
new file mode 100644
index 000000000000..f666056cb31f
--- /dev/null
+++ b/textproc/rubygem-actiontext70/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1641045770
+SHA256 (rubygem/actiontext-7.0.0.gem) = f17685a40847d58c90c7eb8739caff87b33386300c45c8051915a868f90e55d0
+SIZE (rubygem/actiontext-7.0.0.gem) = 92160
diff --git a/textproc/rubygem-actiontext70/pkg-descr b/textproc/rubygem-actiontext70/pkg-descr
new file mode 100644
index 000000000000..036cbddc577e
--- /dev/null
+++ b/textproc/rubygem-actiontext70/pkg-descr
@@ -0,0 +1,10 @@
+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.
+
+WWW: https://rubyonrails.org/
+WWW: https://github.com/rails/rails/tree/main/actiontext