summaryrefslogtreecommitdiff
path: root/devel/rubygem-multi_json-gitlab
diff options
context:
space:
mode:
Diffstat (limited to 'devel/rubygem-multi_json-gitlab')
-rw-r--r--devel/rubygem-multi_json-gitlab/Makefile28
-rw-r--r--devel/rubygem-multi_json-gitlab/distinfo3
-rw-r--r--devel/rubygem-multi_json-gitlab/pkg-descr6
3 files changed, 37 insertions, 0 deletions
diff --git a/devel/rubygem-multi_json-gitlab/Makefile b/devel/rubygem-multi_json-gitlab/Makefile
new file mode 100644
index 000000000000..cd885fd3c761
--- /dev/null
+++ b/devel/rubygem-multi_json-gitlab/Makefile
@@ -0,0 +1,28 @@
+PORTNAME= multi_json
+PORTVERSION= 1.17.0
+CATEGORIES= devel rubygems
+MASTER_SITES= RG
+PKGNAMESUFFIX= -gitlab
+
+MAINTAINER= mfechner@FreeBSD.org
+COMMENT= Ruby library provide swappable JSON backends
+WWW= https://github.com/intridea/multi_json
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE.md
+
+USES= gem
+
+NO_ARCH= yes
+
+OPTIONS_DEFINE= JSON JSON_PURE YAJL_RUBY
+OPTIONS_DEFAULT=JSON_PURE
+JSON_DESC= JSON implementation as a Ruby extension in C
+JSON_PURE_DESC= JSON implementation in pure Ruby
+YAJL_RUBY_DESC= Yajl JSON stream-based parser library
+
+JSON_RUN_DEPENDS= rubygem-json>=0:devel/rubygem-json
+JSON_PURE_RUN_DEPENDS= rubygem-json_pure>=0:devel/rubygem-json_pure
+YAJL_RUBY_RUN_DEPENDS= rubygem-yajl-ruby>=0:devel/rubygem-yajl-ruby
+
+.include <bsd.port.mk>
diff --git a/devel/rubygem-multi_json-gitlab/distinfo b/devel/rubygem-multi_json-gitlab/distinfo
new file mode 100644
index 000000000000..396311632a2e
--- /dev/null
+++ b/devel/rubygem-multi_json-gitlab/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1761395079
+SHA256 (rubygem/multi_json-1.17.0.gem) = 76581f6c96aebf2e85f8a8b9854829e0988f335e8671cd1a56a1036eb75e4a1b
+SIZE (rubygem/multi_json-1.17.0.gem) = 22016
diff --git a/devel/rubygem-multi_json-gitlab/pkg-descr b/devel/rubygem-multi_json-gitlab/pkg-descr
new file mode 100644
index 000000000000..49d79e40d2bd
--- /dev/null
+++ b/devel/rubygem-multi_json-gitlab/pkg-descr
@@ -0,0 +1,6 @@
+MultiJSON is a generic swappable back-end for JSON handling.
+
+Lots of Ruby libraries parse JSON and everyone has their favorite JSON coder.
+Instead of choosing a single JSON coder and forcing users of your library to be
+stuck with it, you can use MultiJSON instead, which will simply choose the
+fastest available JSON coder.