git: 79f61337fccd - main - www/rubygem-rails71: Add rubygem-rails71 7.1.1

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Wed, 01 Nov 2023 07:59:21 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=79f61337fccd3127f1b858de4a6555c1557b7bf4

commit 79f61337fccd3127f1b858de4a6555c1557b7bf4
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-11-01 07:56:23 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-11-01 07:56:23 +0000

    www/rubygem-rails71: Add rubygem-rails71 7.1.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; and 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-rails71/Makefile  | 80 +++++++++++++++++++++++++++++++++++++++++++
 www/rubygem-rails71/distinfo  |  3 ++
 www/rubygem-rails71/pkg-descr | 18 ++++++++++
 4 files changed, 102 insertions(+)

diff --git a/www/Makefile b/www/Makefile
index 70cb1fb62e4f..cb95eec7b506 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -2189,6 +2189,7 @@
     SUBDIR += rubygem-rails60
     SUBDIR += rubygem-rails61
     SUBDIR += rubygem-rails70
+    SUBDIR += rubygem-rails71
     SUBDIR += rubygem-rails_12factor
     SUBDIR += rubygem-rails_autolink
     SUBDIR += rubygem-rails_serve_static_assets
diff --git a/www/rubygem-rails71/Makefile b/www/rubygem-rails71/Makefile
new file mode 100644
index 000000000000..01e8029140a6
--- /dev/null
+++ b/www/rubygem-rails71/Makefile
@@ -0,0 +1,80 @@
+PORTNAME=	rails
+PORTVERSION=	7.1.1
+CATEGORIES=	www rubygems
+MASTER_SITES=	RG
+PKGNAMESUFFIX=	71
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Full-stack web application framework
+WWW=		https://rubyonrails.org/ \
+		https://github.com/rails/rails
+
+LICENSE=	MIT
+
+RUN_DEPENDS=	rubygem-actioncable71>=${PORTVERSION}<${PORTVERSION}_99:www/rubygem-actioncable71 \
+		rubygem-actionmailbox71>=${PORTVERSION}<${PORTVERSION}_99:mail/rubygem-actionmailbox71 \
+		rubygem-actionmailer71>=${PORTVERSION}<${PORTVERSION}_99:mail/rubygem-actionmailer71 \
+		rubygem-actionpack71>=${PORTVERSION}<${PORTVERSION}_99:www/rubygem-actionpack71 \
+		rubygem-actiontext71>=${PORTVERSION}<${PORTVERSION}_99:textproc/rubygem-actiontext71 \
+		rubygem-actionview71>=${PORTVERSION}<${PORTVERSION}_99:devel/rubygem-actionview71 \
+		rubygem-activejob71>=${PORTVERSION}<${PORTVERSION}_99:devel/rubygem-activejob71 \
+		rubygem-activemodel71>=${PORTVERSION}<${PORTVERSION}_99:databases/rubygem-activemodel71 \
+		rubygem-activerecord71>=${PORTVERSION}<${PORTVERSION}_99:databases/rubygem-activerecord71 \
+		rubygem-activestorage71>=${PORTVERSION}<${PORTVERSION}_99:net/rubygem-activestorage71 \
+		rubygem-activesupport71>=${PORTVERSION}<${PORTVERSION}_99:devel/rubygem-activesupport71 \
+		rubygem-bundler>=1.15.0:sysutils/rubygem-bundler \
+		rubygem-railties71>=${PORTVERSION}<${PORTVERSION}_99:www/rubygem-railties71 \
+		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>=0:www/rubygem-importmap-rails \
+		rubygem-jbuilder-rails71>=0:devel/rubygem-jbuilder-rails71 \
+		rubygem-jsbundling-rails>=0:www/rubygem-jsbundling-rails \
+		rubygem-json>=2.0.0:devel/rubygem-json \
+		rubygem-libxml-ruby>=0:textproc/rubygem-libxml-ruby \
+		rubygem-listen>=3.3<4:devel/rubygem-listen \
+		rubygem-minitest>=5.15.0:devel/rubygem-minitest \
+		rubygem-msgpack>=1.7.0:devel/rubygem-msgpack \
+		rubygem-nokogiri>=1.8.1:textproc/rubygem-nokogiri \
+		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.11.0:www/rubygem-selenium-webdriver \
+		rubygem-sprockets-rails-rails71>=2.0.0:devel/rubygem-sprockets-rails-rails71 \
+		rubygem-sqlite3>=1.6.6<2: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-rails71>=0:devel/rubygem-web-console-rails71 \
+		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\.1\.
+
+.include <bsd.port.pre.mk>
+
+.if ${RUBY_VER} <= 3.1
+RUN_DEPENDS+=	rubygem-cgi>=0.3.6:www/rubygem-cgi
+.endif
+
+.if ${RUBY_VER} == 3.1
+RUN_DEPENDS+=	rubygem-error_highlight>=0.4.0:devel/rubygem-error_highlight
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/www/rubygem-rails71/distinfo b/www/rubygem-rails71/distinfo
new file mode 100644
index 000000000000..466eb976c8eb
--- /dev/null
+++ b/www/rubygem-rails71/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1697330190
+SHA256 (rubygem/rails-7.1.1.gem) = 66e736acc1d1ba5ca1b598fc8b6024715aee02025467bfa87682dbeb823ddc17
+SIZE (rubygem/rails-7.1.1.gem) = 7168
diff --git a/www/rubygem-rails71/pkg-descr b/www/rubygem-rails71/pkg-descr
new file mode 100644
index 000000000000..bf06b8d93825
--- /dev/null
+++ b/www/rubygem-rails71/pkg-descr
@@ -0,0 +1,18 @@
+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; and Active Support, a collection of utility
+classes and standard library extensions that are useful for Rails, and may also
+be used independently outside Rails.