git: f72c9e77e273 - main - www/rubygem-rack22: Copy from www/rubygem-rack

From: Yasuhiro Kimura <yasu_at_FreeBSD.org>
Date: Fri, 23 Dec 2022 07:33:46 UTC
The branch main has been updated by yasu:

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

commit f72c9e77e273bea874634fd60bbafbfd4844c893
Author:     Yasuhiro Kimura <yasu@FreeBSD.org>
AuthorDate: 2022-12-06 12:54:48 +0000
Commit:     Yasuhiro Kimura <yasu@FreeBSD.org>
CommitDate: 2022-12-23 07:31:45 +0000

    www/rubygem-rack22: Copy from www/rubygem-rack
    
    Copy www/rubygem-rack to www/rubygem-rack22 as preparation for
    updating www/rubygem-rack to 3.0.2.
    
    PR:             268057
---
 www/Makefile                 |  1 +
 www/rubygem-rack22/Makefile  | 24 ++++++++++++++++++++++++
 www/rubygem-rack22/distinfo  |  3 +++
 www/rubygem-rack22/pkg-descr |  4 ++++
 4 files changed, 32 insertions(+)

diff --git a/www/Makefile b/www/Makefile
index 880f967bd4b4..d92d7e032e04 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -2079,6 +2079,7 @@
     SUBDIR += rubygem-rack-test
     SUBDIR += rubygem-rack-timeout
     SUBDIR += rubygem-rack16
+    SUBDIR += rubygem-rack22
     SUBDIR += rubygem-rack_csrf
     SUBDIR += rubygem-rails-settings-cached
     SUBDIR += rubygem-rails-settings-cached-rails5
diff --git a/www/rubygem-rack22/Makefile b/www/rubygem-rack22/Makefile
new file mode 100644
index 000000000000..47dc5dd5916e
--- /dev/null
+++ b/www/rubygem-rack22/Makefile
@@ -0,0 +1,24 @@
+PORTNAME=	rack
+PORTVERSION=	2.2.4
+PORTEPOCH=	3
+CATEGORIES=	www rubygems
+MASTER_SITES=	RG
+PKGNAMESUFFIX=	22
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Rack, a Ruby Webserver Interface
+WWW=		https://github.com/rack/rack
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/MIT-LICENSE
+
+USES=		cpe gem
+USE_RUBY=	yes
+
+NO_ARCH=	yes
+
+PLIST_FILES=	bin/rackup
+
+CPE_VENDOR=	rack_project
+
+.include <bsd.port.mk>
diff --git a/www/rubygem-rack22/distinfo b/www/rubygem-rack22/distinfo
new file mode 100644
index 000000000000..cff443608b88
--- /dev/null
+++ b/www/rubygem-rack22/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1657292558
+SHA256 (rubygem/rack-2.2.4.gem) = ea2232b638cbd919129c8c8ad8012ecaccc09f848152a7e705d2139d0137ac2b
+SIZE (rubygem/rack-2.2.4.gem) = 151552
diff --git a/www/rubygem-rack22/pkg-descr b/www/rubygem-rack22/pkg-descr
new file mode 100644
index 000000000000..bfba0bd60188
--- /dev/null
+++ b/www/rubygem-rack22/pkg-descr
@@ -0,0 +1,4 @@
+Rack provides a minimal, modular and adaptable interface for developing web
+applications in Ruby. By wrapping HTTP requests and responses in the simplest
+way possible, it unifies and distills the API for web servers, web frameworks,
+and software in between (the so-called middleware) into a single method call.