git: ab0775c901ba - main - devel/rubygem-grape-swagger16: Add rubygem-grape-swagger16 1.6.1 (copied from rubygem-grape-swagger)

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Fri, 01 Dec 2023 22:17:28 UTC
The branch main has been updated by sunpoet:

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

commit ab0775c901ba7ad073e73bbabf2da714cf8d222c
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-12-01 21:54:37 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-12-01 22:11:27 +0000

    devel/rubygem-grape-swagger16: Add rubygem-grape-swagger16 1.6.1 (copied from rubygem-grape-swagger)
    
    - Add PORTSCOUT
---
 devel/Makefile                          |  1 +
 devel/rubygem-grape-swagger16/Makefile  | 22 ++++++++++++++++++++++
 devel/rubygem-grape-swagger16/distinfo  |  3 +++
 devel/rubygem-grape-swagger16/pkg-descr |  2 ++
 4 files changed, 28 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 33d5004cb8d8..601d0a612dc9 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -6932,6 +6932,7 @@
     SUBDIR += rubygem-grape-route-helpers
     SUBDIR += rubygem-grape-swagger
     SUBDIR += rubygem-grape-swagger-entity
+    SUBDIR += rubygem-grape-swagger16
     SUBDIR += rubygem-grape1
     SUBDIR += rubygem-grape17
     SUBDIR += rubygem-grape_logging
diff --git a/devel/rubygem-grape-swagger16/Makefile b/devel/rubygem-grape-swagger16/Makefile
new file mode 100644
index 000000000000..65d581094d03
--- /dev/null
+++ b/devel/rubygem-grape-swagger16/Makefile
@@ -0,0 +1,22 @@
+PORTNAME=	grape-swagger
+PORTVERSION=	1.6.1
+CATEGORIES=	devel rubygems
+MASTER_SITES=	RG
+PKGNAMESUFFIX=	16
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Documentation tool for grape APIs
+WWW=		https://github.com/ruby-grape/grape-swagger
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE.txt
+
+RUN_DEPENDS=	rubygem-grape1>=1.3<2:devel/rubygem-grape1
+
+USES=		gem
+
+NO_ARCH=	yes
+
+PORTSCOUT=	limit:^1\.6\.
+
+.include <bsd.port.mk>
diff --git a/devel/rubygem-grape-swagger16/distinfo b/devel/rubygem-grape-swagger16/distinfo
new file mode 100644
index 000000000000..57a52ad8e907
--- /dev/null
+++ b/devel/rubygem-grape-swagger16/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1687445620
+SHA256 (rubygem/grape-swagger-1.6.1.gem) = 0fd2d38476524b66e8d06de71e6c481d34286d895b12161f5df4427d66d5c69f
+SIZE (rubygem/grape-swagger-1.6.1.gem) = 239616
diff --git a/devel/rubygem-grape-swagger16/pkg-descr b/devel/rubygem-grape-swagger16/pkg-descr
new file mode 100644
index 000000000000..6decb594572b
--- /dev/null
+++ b/devel/rubygem-grape-swagger16/pkg-descr
@@ -0,0 +1,2 @@
+A simple way to add proper auto generated documentation to inline
+described grape APIs.