git: 2839b79dc84e - main - www/rubygem-railties71: Add rubygem-railties71 7.1.1

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

URL: https://cgit.FreeBSD.org/ports/commit/?id=2839b79dc84ef569cbf0457f45ccd2eb3b334f2d

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

    www/rubygem-railties71: Add rubygem-railties71 7.1.1
    
    Railties is responsible for gluing all frameworks together. Overall, it:
    - handles the bootstrapping process for a Rails application;
    - manages the rails command line interface;
    - and provides the Rails generators core.
---
 www/Makefile                     |  1 +
 www/rubygem-railties71/Makefile  | 35 +++++++++++++++++++++++++++++++++++
 www/rubygem-railties71/distinfo  |  3 +++
 www/rubygem-railties71/pkg-descr |  4 ++++
 4 files changed, 43 insertions(+)

diff --git a/www/Makefile b/www/Makefile
index cb95eec7b506..366c95b5c74e 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -2201,6 +2201,7 @@
     SUBDIR += rubygem-railties60
     SUBDIR += rubygem-railties61
     SUBDIR += rubygem-railties70
+    SUBDIR += rubygem-railties71
     SUBDIR += rubygem-raindrops
     SUBDIR += rubygem-ramaze
     SUBDIR += rubygem-raphael-rails
diff --git a/www/rubygem-railties71/Makefile b/www/rubygem-railties71/Makefile
new file mode 100644
index 000000000000..f3a9579dfcfb
--- /dev/null
+++ b/www/rubygem-railties71/Makefile
@@ -0,0 +1,35 @@
+PORTNAME=	railties
+PORTVERSION=	7.1.1
+CATEGORIES=	www rubygems
+MASTER_SITES=	RG
+PKGNAMESUFFIX=	71
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Rails internals: application bootup, plugins, generators, and rake tasks
+WWW=		https://github.com/rails/rails/tree/master/railties \
+		https://rubyonrails.org/
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/MIT-LICENSE
+
+RUN_DEPENDS=	rubygem-actionpack71>=${PORTVERSION}<${PORTVERSION}_99:www/rubygem-actionpack71 \
+		rubygem-activesupport71>=${PORTVERSION}<${PORTVERSION}_99:devel/rubygem-activesupport71 \
+		rubygem-irb>=0:devel/rubygem-irb \
+		rubygem-rackup>=1.0.0:www/rubygem-rackup \
+		rubygem-rake>=12.2:devel/rubygem-rake \
+		rubygem-thor>=1.2.2<2:devel/rubygem-thor \
+		rubygem-zeitwerk>=2.6<3:devel/rubygem-zeitwerk
+
+USES=		gem shebangfix
+
+NO_ARCH=	yes
+
+PLIST_FILES=	bin/rails
+
+CONFLICTS_INSTALL=	rubygem-railties[0-9] rubygem-railties[0-9][0-9]
+
+PORTSCOUT=	limit:^7\.1\.
+
+SHEBANG_FILES=	lib/rails/generators/rails/app/templates/docker-entrypoint.tt
+
+.include <bsd.port.mk>
diff --git a/www/rubygem-railties71/distinfo b/www/rubygem-railties71/distinfo
new file mode 100644
index 000000000000..e3422b382d5c
--- /dev/null
+++ b/www/rubygem-railties71/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1697330192
+SHA256 (rubygem/railties-7.1.1.gem) = 3cf348b365e9a00285bceadef0ed7d264440fcf165541ab211e198bc75a2faa7
+SIZE (rubygem/railties-7.1.1.gem) = 180736
diff --git a/www/rubygem-railties71/pkg-descr b/www/rubygem-railties71/pkg-descr
new file mode 100644
index 000000000000..fbc0144b3be4
--- /dev/null
+++ b/www/rubygem-railties71/pkg-descr
@@ -0,0 +1,4 @@
+Railties is responsible for gluing all frameworks together. Overall, it:
+- handles the bootstrapping process for a Rails application;
+- manages the rails command line interface;
+- and provides the Rails generators core.