git: 9eceeace8fb5 - main - www/rubygem-railties72: Add rubygem-railties72 7.2.1

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

URL: https://cgit.FreeBSD.org/ports/commit/?id=9eceeace8fb5e949a46d12da76d079904e49bfaf

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

    www/rubygem-railties72: Add rubygem-railties72 7.2.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-railties72/Makefile  | 35 +++++++++++++++++++++++++++++++++++
 www/rubygem-railties72/distinfo  |  3 +++
 www/rubygem-railties72/pkg-descr |  4 ++++
 4 files changed, 43 insertions(+)

diff --git a/www/Makefile b/www/Makefile
index bcdfa0cdd2db..db2d0636b3a8 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -2226,6 +2226,7 @@
     SUBDIR += rubygem-railties61
     SUBDIR += rubygem-railties70
     SUBDIR += rubygem-railties71
+    SUBDIR += rubygem-railties72
     SUBDIR += rubygem-raindrops
     SUBDIR += rubygem-ramaze
     SUBDIR += rubygem-raphael-rails
diff --git a/www/rubygem-railties72/Makefile b/www/rubygem-railties72/Makefile
new file mode 100644
index 000000000000..333a2e34262f
--- /dev/null
+++ b/www/rubygem-railties72/Makefile
@@ -0,0 +1,35 @@
+PORTNAME=	railties
+PORTVERSION=	7.2.1
+CATEGORIES=	www rubygems
+MASTER_SITES=	RG
+PKGNAMESUFFIX=	72
+
+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-actionpack72>=${PORTVERSION}<${PORTVERSION}_99:www/rubygem-actionpack72 \
+		rubygem-activesupport72>=${PORTVERSION}<${PORTVERSION}_99:devel/rubygem-activesupport72 \
+		rubygem-irb>=1.13<2: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\.2\.
+
+SHEBANG_FILES=	lib/rails/generators/rails/app/templates/docker-entrypoint.tt
+
+.include <bsd.port.mk>
diff --git a/www/rubygem-railties72/distinfo b/www/rubygem-railties72/distinfo
new file mode 100644
index 000000000000..274aa022b8a8
--- /dev/null
+++ b/www/rubygem-railties72/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1726487304
+SHA256 (rubygem/railties-7.2.1.gem) = 4b6ad279bbfb9228d7e7fbc8df562a8f5d4910e179b957d801fcec176d548463
+SIZE (rubygem/railties-7.2.1.gem) = 182272
diff --git a/www/rubygem-railties72/pkg-descr b/www/rubygem-railties72/pkg-descr
new file mode 100644
index 000000000000..fbc0144b3be4
--- /dev/null
+++ b/www/rubygem-railties72/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.