git: 12ed87b4d1d2 - main - www/rubygem-rails72: Add rubygem-rails72 7.2.1

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

URL: https://cgit.FreeBSD.org/ports/commit/?id=12ed87b4d1d2f9ac823d93eb1a2a35ae0bf210cb

commit 12ed87b4d1d2f9ac823d93eb1a2a35ae0bf210cb
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-09-18 05:51:23 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-09-18 06:13:03 +0000

    www/rubygem-rails72: Add rubygem-rails72 7.2.1
    
    Rails is a web-application framework that includes everything needed to create
    database-backed web applications according to the Model-View-Controller (MVC)
    pattern.
    
    Understanding the MVC pattern is key to understanding Rails. MVC divides your
    application into three layers: Model, View, and Controller, each with a specific
    responsibility.
    
    Active Record, Active Model, Action Pack, and Action View can each be used
    independently outside Rails.
    
    In addition to that, Rails also comes with:
    - Action Mailer, a library to generate and send emails
    - Action Mailbox, a library to receive emails within a Rails application
    - Active Job, a framework for declaring jobs and making them run on a variety of
      queuing backends
    - Action Cable, a framework to integrate WebSockets with a Rails application
    - Active Storage, a library to attach cloud and local files to Rails
      applications
    - Action Text, a library to handle rich text content
    - Active Support, a collection of utility classes and standard library
      extensions that are useful for Rails, and may also be used independently
      outside Rails
---
 www/Makefile                  |  1 +
 www/rubygem-rails72/Makefile  | 76 +++++++++++++++++++++++++++++++++++++++++++
 www/rubygem-rails72/distinfo  |  3 ++
 www/rubygem-rails72/pkg-descr | 23 +++++++++++++
 4 files changed, 103 insertions(+)

diff --git a/www/Makefile b/www/Makefile
index f8573d093a11..bcdfa0cdd2db 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -2213,6 +2213,7 @@
     SUBDIR += rubygem-rails61
     SUBDIR += rubygem-rails70
     SUBDIR += rubygem-rails71
+    SUBDIR += rubygem-rails72
     SUBDIR += rubygem-rails_12factor
     SUBDIR += rubygem-rails_autolink
     SUBDIR += rubygem-rails_serve_static_assets
diff --git a/www/rubygem-rails72/Makefile b/www/rubygem-rails72/Makefile
new file mode 100644
index 000000000000..5a3c2f0ec89c
--- /dev/null
+++ b/www/rubygem-rails72/Makefile
@@ -0,0 +1,76 @@
+PORTNAME=	rails
+PORTVERSION=	7.2.1
+CATEGORIES=	www rubygems
+MASTER_SITES=	RG
+PKGNAMESUFFIX=	72
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Full-stack web application framework
+WWW=		https://rubyonrails.org/ \
+		https://github.com/rails/rails
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/MIT-LICENSE
+
+RUN_DEPENDS=	rubygem-actioncable72>=${PORTVERSION}<${PORTVERSION}_99:www/rubygem-actioncable72 \
+		rubygem-actionmailbox72>=${PORTVERSION}<${PORTVERSION}_99:mail/rubygem-actionmailbox72 \
+		rubygem-actionmailer72>=${PORTVERSION}<${PORTVERSION}_99:mail/rubygem-actionmailer72 \
+		rubygem-actionpack72>=${PORTVERSION}<${PORTVERSION}_99:www/rubygem-actionpack72 \
+		rubygem-actiontext72>=${PORTVERSION}<${PORTVERSION}_99:textproc/rubygem-actiontext72 \
+		rubygem-actionview72>=${PORTVERSION}<${PORTVERSION}_99:devel/rubygem-actionview72 \
+		rubygem-activejob72>=${PORTVERSION}<${PORTVERSION}_99:devel/rubygem-activejob72 \
+		rubygem-activemodel72>=${PORTVERSION}<${PORTVERSION}_99:databases/rubygem-activemodel72 \
+		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-bundler>=1.15.0:sysutils/rubygem-bundler \
+		rubygem-railties72>=${PORTVERSION}<${PORTVERSION}_99:www/rubygem-railties72 \
+		rubygem-bootsnap>=1.4.4:devel/rubygem-bootsnap \
+		rubygem-capybara>=3.39:devel/rubygem-capybara \
+		rubygem-connection_pool>=0:net/rubygem-connection_pool \
+		rubygem-cssbundling-rails>=0:www/rubygem-cssbundling-rails \
+		rubygem-dalli>=3.0.1:databases/rubygem-dalli \
+		rubygem-image_processing>=1.2<2:graphics/rubygem-image_processing \
+		rubygem-importmap-rails>=1.2.3:www/rubygem-importmap-rails \
+		rubygem-jbuilder-rails72>=0:devel/rubygem-jbuilder-rails72 \
+		rubygem-jsbundling-rails>=0:www/rubygem-jsbundling-rails \
+		rubygem-json>=2.0.0:devel/rubygem-json \
+		rubygem-launchy>=0:devel/rubygem-launchy \
+		rubygem-libxml-ruby>=0:textproc/rubygem-libxml-ruby \
+		rubygem-listen>=3.3<4:devel/rubygem-listen \
+		rubygem-minitest>=0:devel/rubygem-minitest \
+		rubygem-msgpack>=1.7.0:devel/rubygem-msgpack \
+		rubygem-nokogiri>=1.8.1:textproc/rubygem-nokogiri \
+		rubygem-prism>=0:textproc/rubygem-prism \
+		rubygem-propshaft>=0.1.7:www/rubygem-propshaft \
+		rubygem-puma>=5.0.3:www/rubygem-puma \
+		rubygem-rack>=3.0,3<4,3:www/rubygem-rack \
+		rubygem-rack-cache>=1.2<2:www/rubygem-rack-cache \
+		rubygem-rake>=13:devel/rubygem-rake \
+		rubygem-readline-ext>=0:devel/rubygem-readline-ext \
+		rubygem-redis-namespace>=0:databases/rubygem-redis-namespace \
+		rubygem-rexml>=0:textproc/rubygem-rexml \
+		rubygem-selenium-webdriver>=4.20.0:www/rubygem-selenium-webdriver \
+		rubygem-solid_cable>=0:databases/rubygem-solid_cable \
+		rubygem-solid_cache>=0:databases/rubygem-solid_cache \
+		rubygem-solid_queue>=0:databases/rubygem-solid_queue \
+		rubygem-sprockets-rails-rails72>=2.0.0:devel/rubygem-sprockets-rails-rails72 \
+		rubygem-sqlite3>=1.6.6:databases/rubygem-sqlite3 \
+		rubygem-stimulus-rails>=0:www/rubygem-stimulus-rails \
+		rubygem-sucker_punch>=0:devel/rubygem-sucker_punch \
+		rubygem-tailwindcss-rails>=0:www/rubygem-tailwindcss-rails \
+		rubygem-turbo-rails>=0:www/rubygem-turbo-rails \
+		rubygem-web-console-rails72>=0:devel/rubygem-web-console-rails72 \
+		rubygem-webmock>=0:www/rubygem-webmock \
+		rubygem-webrick>=0:www/rubygem-webrick
+
+USES=		cpe gem
+
+NO_ARCH=	yes
+
+CPE_VENDOR=	rubyonrails
+CPE_PRODUCT=	ruby_on_rails
+
+PORTSCOUT=	limit:^7\.2\.
+
+.include <bsd.port.mk>
diff --git a/www/rubygem-rails72/distinfo b/www/rubygem-rails72/distinfo
new file mode 100644
index 000000000000..e738b5c120da
--- /dev/null
+++ b/www/rubygem-rails72/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1726487302
+SHA256 (rubygem/rails-7.2.1.gem) = fd5684e5d007220960666a3a8b31a57cd1c8cd7f60d88cb40e28e95f1911b705
+SIZE (rubygem/rails-7.2.1.gem) = 7168
diff --git a/www/rubygem-rails72/pkg-descr b/www/rubygem-rails72/pkg-descr
new file mode 100644
index 000000000000..5936b0adc42e
--- /dev/null
+++ b/www/rubygem-rails72/pkg-descr
@@ -0,0 +1,23 @@
+Rails is a web-application framework that includes everything needed to create
+database-backed web applications according to the Model-View-Controller (MVC)
+pattern.
+
+Understanding the MVC pattern is key to understanding Rails. MVC divides your
+application into three layers: Model, View, and Controller, each with a specific
+responsibility.
+
+Active Record, Active Model, Action Pack, and Action View can each be used
+independently outside Rails.
+
+In addition to that, Rails also comes with:
+- Action Mailer, a library to generate and send emails
+- Action Mailbox, a library to receive emails within a Rails application
+- Active Job, a framework for declaring jobs and making them run on a variety of
+  queuing backends
+- Action Cable, a framework to integrate WebSockets with a Rails application
+- Active Storage, a library to attach cloud and local files to Rails
+  applications
+- Action Text, a library to handle rich text content
+- Active Support, a collection of utility classes and standard library
+  extensions that are useful for Rails, and may also be used independently
+  outside Rails