git: 6ad531a6611b - main - devel/rubygem-actionview72: Add rubygem-actionview72 7.2.1

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Wed, 18 Sep 2024 06:18:23 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=6ad531a6611b292a561e13f53c0f0a17909f5f43

commit 6ad531a6611b292a561e13f53c0f0a17909f5f43
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-09-18 05:51:00 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-09-18 06:13:00 +0000

    devel/rubygem-actionview72: Add rubygem-actionview72 7.2.1
    
    Action View is a framework for handling view template lookup and rendering, and
    provides view helpers that assist when building HTML forms, Atom feeds and more.
    Template formats that Action View handles are ERB (embedded Ruby, typically used
    to inline short Ruby snippets inside HTML), and XML Builder.
---
 devel/Makefile                       |  1 +
 devel/rubygem-actionview72/Makefile  | 29 +++++++++++++++++++++++++++++
 devel/rubygem-actionview72/distinfo  |  3 +++
 devel/rubygem-actionview72/pkg-descr |  4 ++++
 4 files changed, 37 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 44e385f82eef..2d4b5de7837a 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -6306,6 +6306,7 @@
     SUBDIR += rubygem-actionview61
     SUBDIR += rubygem-actionview70
     SUBDIR += rubygem-actionview71
+    SUBDIR += rubygem-actionview72
     SUBDIR += rubygem-active_hash
     SUBDIR += rubygem-active_scaffold
     SUBDIR += rubygem-activejob4
diff --git a/devel/rubygem-actionview72/Makefile b/devel/rubygem-actionview72/Makefile
new file mode 100644
index 000000000000..2667939dc7ba
--- /dev/null
+++ b/devel/rubygem-actionview72/Makefile
@@ -0,0 +1,29 @@
+PORTNAME=	actionview
+PORTVERSION=	7.2.1
+CATEGORIES=	devel rubygems
+MASTER_SITES=	RG
+PKGNAMESUFFIX=	72
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Simple, battle-tested conventions and helpers for building web pages
+WWW=		https://github.com/rails/rails/tree/main/actionview \
+		https://rubyonrails.org/
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/MIT-LICENSE
+
+RUN_DEPENDS=	rubygem-activesupport72>=${PORTVERSION}<${PORTVERSION}_99:devel/rubygem-activesupport72 \
+		rubygem-builder>=3.1<4:devel/rubygem-builder \
+		rubygem-erubi>=1.11<2:www/rubygem-erubi \
+		rubygem-rails-dom-testing-rails72>=2.2<3:textproc/rubygem-rails-dom-testing-rails72 \
+		rubygem-rails-html-sanitizer>=1.6<2:textproc/rubygem-rails-html-sanitizer
+
+USES=		cpe gem
+
+NO_ARCH=	yes
+
+CPE_VENDOR=	rubyonrails
+
+PORTSCOUT=	limit:^7\.2\.
+
+.include <bsd.port.mk>
diff --git a/devel/rubygem-actionview72/distinfo b/devel/rubygem-actionview72/distinfo
new file mode 100644
index 000000000000..0e4808114217
--- /dev/null
+++ b/devel/rubygem-actionview72/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1726487284
+SHA256 (rubygem/actionview-7.2.1.gem) = d1f8f4df2bff842a03e2a6e86275e4d73e70c654159617ad4abbe7c6b2aed4f4
+SIZE (rubygem/actionview-7.2.1.gem) = 186880
diff --git a/devel/rubygem-actionview72/pkg-descr b/devel/rubygem-actionview72/pkg-descr
new file mode 100644
index 000000000000..904615b292ae
--- /dev/null
+++ b/devel/rubygem-actionview72/pkg-descr
@@ -0,0 +1,4 @@
+Action View is a framework for handling view template lookup and rendering, and
+provides view helpers that assist when building HTML forms, Atom feeds and more.
+Template formats that Action View handles are ERB (embedded Ruby, typically used
+to inline short Ruby snippets inside HTML), and XML Builder.