git: 7d767a30c0a4 - main - devel/rubygem-json27: Add rubygem-json27 2.7.5 (copied from rubygem-json)

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Thu, 21 Nov 2024 13:41:00 UTC
The branch main has been updated by sunpoet:

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

commit 7d767a30c0a4dd5ba671c62de193b108449f7b07
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-11-21 13:18:23 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-11-21 13:37:53 +0000

    devel/rubygem-json27: Add rubygem-json27 2.7.5 (copied from rubygem-json)
    
    - Add PORTSCOUT
---
 devel/Makefile                 |  1 +
 devel/rubygem-json27/Makefile  | 21 +++++++++++++++++++++
 devel/rubygem-json27/distinfo  |  3 +++
 devel/rubygem-json27/pkg-descr |  3 +++
 4 files changed, 28 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 933deefc2174..f0d25a751fda 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -7408,6 +7408,7 @@
     SUBDIR += rubygem-json-canonicalization
     SUBDIR += rubygem-json-schema
     SUBDIR += rubygem-json1
+    SUBDIR += rubygem-json27
     SUBDIR += rubygem-json_pure
     SUBDIR += rubygem-json_pure1
     SUBDIR += rubygem-json_schema
diff --git a/devel/rubygem-json27/Makefile b/devel/rubygem-json27/Makefile
new file mode 100644
index 000000000000..01d111b448d0
--- /dev/null
+++ b/devel/rubygem-json27/Makefile
@@ -0,0 +1,21 @@
+PORTNAME=	json
+PORTVERSION=	2.7.5
+CATEGORIES=	devel rubygems
+MASTER_SITES=	RG
+PKGNAMESUFFIX=	27
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	JSON implementation as a Ruby extension in C
+WWW=		https://ruby.github.io/json/ \
+		https://github.com/ruby/json/releases
+
+LICENSE=	BSD2CLAUSE RUBY
+LICENSE_COMB=	dual
+LICENSE_FILE_BSD2CLAUSE=${WRKSRC}/BSDL
+LICENSE_FILE_RUBY=	${WRKSRC}/COPYING
+
+USES=		gem
+
+PORTSCOUT=	limit:^2\.7\.
+
+.include <bsd.port.mk>
diff --git a/devel/rubygem-json27/distinfo b/devel/rubygem-json27/distinfo
new file mode 100644
index 000000000000..2ecb8bba9eb6
--- /dev/null
+++ b/devel/rubygem-json27/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1730387148
+SHA256 (rubygem/json-2.7.5.gem) = eb3448f3884cb7c6d5a550db47fca9153dfbb2a941d1ac0ff245ffacf6df6c5e
+SIZE (rubygem/json-2.7.5.gem) = 67584
diff --git a/devel/rubygem-json27/pkg-descr b/devel/rubygem-json27/pkg-descr
new file mode 100644
index 000000000000..dbc5c9403654
--- /dev/null
+++ b/devel/rubygem-json27/pkg-descr
@@ -0,0 +1,3 @@
+This library can parse JSON texts and generate them from ruby data structures.
+This port implemented in C and comes with its own unicode conversion functions
+and a parser generated by the Ragel State Machine Compiler.