git: b152bb9a51bb - main - devel/rubygem-json25: Add rubygem-json25 2.5.1 (copied from rubygem-json)

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Fri, 13 May 2022 11:44:30 UTC
The branch main has been updated by sunpoet:

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

commit b152bb9a51bb90221749bdcb51db1adf654a7363
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-05-13 11:27:41 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-05-13 11:39:12 +0000

    devel/rubygem-json25: Add rubygem-json25 2.5.1 (copied from rubygem-json)
    
    - Add PORTSCOUT
---
 devel/Makefile                 |  1 +
 devel/rubygem-json25/Makefile  | 20 ++++++++++++++++++++
 devel/rubygem-json25/distinfo  |  3 +++
 devel/rubygem-json25/pkg-descr |  5 +++++
 4 files changed, 29 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index c83b19eda8c7..a73a010adcaf 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -6550,6 +6550,7 @@
     SUBDIR += rubygem-json-canonicalization
     SUBDIR += rubygem-json-schema
     SUBDIR += rubygem-json1
+    SUBDIR += rubygem-json25
     SUBDIR += rubygem-json_pure
     SUBDIR += rubygem-json_pure1
     SUBDIR += rubygem-json_schema
diff --git a/devel/rubygem-json25/Makefile b/devel/rubygem-json25/Makefile
new file mode 100644
index 000000000000..f8ee3f41c4f5
--- /dev/null
+++ b/devel/rubygem-json25/Makefile
@@ -0,0 +1,20 @@
+# Created by: Cheng-Lung Sung <clsung@FreeBSD.org>
+
+PORTNAME=	json
+PORTVERSION=	2.5.1
+CATEGORIES=	devel rubygems
+MASTER_SITES=	RG
+PKGNAMESUFFIX=	25
+
+MAINTAINER=	ruby@FreeBSD.org
+COMMENT=	Parse JSON texts and generate them from ruby data structures
+
+LICENSE=	BSD2CLAUSE RUBY
+LICENSE_COMB=	dual
+
+USES=		gem
+USE_RUBY=	yes
+
+PORTSCOUT=	limit:^2\.5\.
+
+.include <bsd.port.mk>
diff --git a/devel/rubygem-json25/distinfo b/devel/rubygem-json25/distinfo
new file mode 100644
index 000000000000..7090485e5418
--- /dev/null
+++ b/devel/rubygem-json25/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1632234068
+SHA256 (rubygem/json-2.5.1.gem) = 918d8c41dacb7cfdbe0c7bbd6014a5372f0cf1c454ca150e9f4010fe80cc3153
+SIZE (rubygem/json-2.5.1.gem) = 89088
diff --git a/devel/rubygem-json25/pkg-descr b/devel/rubygem-json25/pkg-descr
new file mode 100644
index 000000000000..0b1373d0d663
--- /dev/null
+++ b/devel/rubygem-json25/pkg-descr
@@ -0,0 +1,5 @@
+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.
+
+WWW: http://flori.github.io/json/