git: 9bb867bad6aa - main - www/rubygem-protocol-rack: Add rubygem-protocol-rack 0.1.6

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Wed, 31 Aug 2022 11:42:36 UTC
The branch main has been updated by sunpoet:

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

commit 9bb867bad6aa3bfa0b7bd1525c56efe4d6b79e2c
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-08-31 11:21:21 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-08-31 11:40:50 +0000

    www/rubygem-protocol-rack: Add rubygem-protocol-rack 0.1.6
    
    Protocol::Rack provides abstractions for working with the Rack specification on
    top of Protocol::HTTP. This would, in theory, allow you to run any
    Protocol::HTTP compatible application on top any rack-compatible server.
    
    WWW: https://github.com/socketry/protocol-rack
---
 www/Makefile                        |  1 +
 www/rubygem-protocol-rack/Makefile  | 19 +++++++++++++++++++
 www/rubygem-protocol-rack/distinfo  |  3 +++
 www/rubygem-protocol-rack/pkg-descr |  5 +++++
 4 files changed, 28 insertions(+)

diff --git a/www/Makefile b/www/Makefile
index 8457d9fa27cd..6f0b1996dc28 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -2039,6 +2039,7 @@
     SUBDIR += rubygem-protocol-http
     SUBDIR += rubygem-protocol-http1
     SUBDIR += rubygem-protocol-http2
+    SUBDIR += rubygem-protocol-rack
     SUBDIR += rubygem-protocol-websocket
     SUBDIR += rubygem-puma
     SUBDIR += rubygem-puma_worker_killer
diff --git a/www/rubygem-protocol-rack/Makefile b/www/rubygem-protocol-rack/Makefile
new file mode 100644
index 000000000000..97827d1189f5
--- /dev/null
+++ b/www/rubygem-protocol-rack/Makefile
@@ -0,0 +1,19 @@
+PORTNAME=	protocol-rack
+PORTVERSION=	0.1.6
+CATEGORIES=	www rubygems
+MASTER_SITES=	RG
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Implementation of the Rack protocol/specification
+
+LICENSE=	MIT
+
+RUN_DEPENDS=	rubygem-protocol-http>=0.23.4<0.24:www/rubygem-protocol-http \
+		rubygem-rack>=1.0,3:www/rubygem-rack
+
+USES=		gem
+USE_RUBY=	yes
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/www/rubygem-protocol-rack/distinfo b/www/rubygem-protocol-rack/distinfo
new file mode 100644
index 000000000000..47cf96e9aef1
--- /dev/null
+++ b/www/rubygem-protocol-rack/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1661599129
+SHA256 (rubygem/protocol-rack-0.1.6.gem) = 89df0ee500ee6af96deff5dcfcbc8364c63a79a38f2c8e608303e1d517e81073
+SIZE (rubygem/protocol-rack-0.1.6.gem) = 16384
diff --git a/www/rubygem-protocol-rack/pkg-descr b/www/rubygem-protocol-rack/pkg-descr
new file mode 100644
index 000000000000..bc4e1d8b9378
--- /dev/null
+++ b/www/rubygem-protocol-rack/pkg-descr
@@ -0,0 +1,5 @@
+Protocol::Rack provides abstractions for working with the Rack specification on
+top of Protocol::HTTP. This would, in theory, allow you to run any
+Protocol::HTTP compatible application on top any rack-compatible server.
+
+WWW: https://github.com/socketry/protocol-rack