aboutsummaryrefslogtreecommitdiff
path: root/converters
diff options
context:
space:
mode:
authorJoseph Mingrone <jrm@FreeBSD.org>2017-09-15 17:27:35 +0000
committerJoseph Mingrone <jrm@FreeBSD.org>2017-09-15 17:27:35 +0000
commit53686345954dc8fe51f330486a5e759a7b0341b0 (patch)
tree1da598377a5f8174822899a09c23bb75e345568e /converters
parent56e98a4856ab97b60d63ef70a6a07701d2626b3a (diff)
downloadports-53686345954dc8fe51f330486a5e759a7b0341b0.tar.gz
ports-53686345954dc8fe51f330486a5e759a7b0341b0.zip
Notes
Diffstat (limited to 'converters')
-rw-r--r--converters/Makefile2
-rw-r--r--converters/rubygem-json-ld-preloaded/Makefile21
-rw-r--r--converters/rubygem-json-ld-preloaded/distinfo3
-rw-r--r--converters/rubygem-json-ld-preloaded/pkg-descr7
-rw-r--r--converters/rubygem-json-ld/Makefile22
-rw-r--r--converters/rubygem-json-ld/distinfo3
-rw-r--r--converters/rubygem-json-ld/pkg-descr6
7 files changed, 64 insertions, 0 deletions
diff --git a/converters/Makefile b/converters/Makefile
index 917228318d73..571fcde849e6 100644
--- a/converters/Makefile
+++ b/converters/Makefile
@@ -160,6 +160,8 @@
SUBDIR += recode
SUBDIR += rubygem-base32
SUBDIR += rubygem-bsdconv
+ SUBDIR += rubygem-json-ld
+ SUBDIR += rubygem-json-ld-preloaded
SUBDIR += rubygem-po_to_json
SUBDIR += rubygem-url_safe_base64
SUBDIR += rubygem-xdr
diff --git a/converters/rubygem-json-ld-preloaded/Makefile b/converters/rubygem-json-ld-preloaded/Makefile
new file mode 100644
index 000000000000..033301bacea0
--- /dev/null
+++ b/converters/rubygem-json-ld-preloaded/Makefile
@@ -0,0 +1,21 @@
+# $FreeBSD$
+
+PORTNAME= json-ld-preloaded
+PORTVERSION= 2.2.2
+CATEGORIES= converters rubygems
+MASTER_SITES= RG
+
+MAINTAINER= ruby@FreeBSD.org
+COMMENT= JSON-LD with preloaded contexts
+
+LICENSE= UNLICENSE
+
+RUN_DEPENDS= rubygem-json-ld>=2.1.5:converters/rubygem-json-ld \
+ rubygem-multi_json>=1.12:devel/rubygem-multi_json \
+ rubygem-rdf>=2.2:www/rubygem-rdf
+
+NO_ARCH= yes
+USES= gem
+USE_RUBY= yes
+
+.include <bsd.port.mk>
diff --git a/converters/rubygem-json-ld-preloaded/distinfo b/converters/rubygem-json-ld-preloaded/distinfo
new file mode 100644
index 000000000000..dd56ac5a8b80
--- /dev/null
+++ b/converters/rubygem-json-ld-preloaded/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1504482864
+SHA256 (rubygem/json-ld-preloaded-2.2.2.gem) = e70de25c81b49742a182b1c8b547d0fc4670bb411ac0651b66dcc9f6a9cf7887
+SIZE (rubygem/json-ld-preloaded-2.2.2.gem) = 99328
diff --git a/converters/rubygem-json-ld-preloaded/pkg-descr b/converters/rubygem-json-ld-preloaded/pkg-descr
new file mode 100644
index 000000000000..00933872489e
--- /dev/null
+++ b/converters/rubygem-json-ld-preloaded/pkg-descr
@@ -0,0 +1,7 @@
+This gem uses the preloading capabilities in JSON::LD::Context to create ruby
+context definitions for common JSON-LD contexts to dramatically reduce
+processing time when any preloaded context is used in a JSON-LD document. As a
+consequence, changes made to these contexts after the gem release will not be
+loaded.
+
+WWW: http://github.com/ruby-rdf/json-ld-preloaded
diff --git a/converters/rubygem-json-ld/Makefile b/converters/rubygem-json-ld/Makefile
new file mode 100644
index 000000000000..59c9d5ee9113
--- /dev/null
+++ b/converters/rubygem-json-ld/Makefile
@@ -0,0 +1,22 @@
+# $FreeBSD$
+
+PORTNAME= json-ld
+DISTVERSION= 2.1.5
+CATEGORIES= converters rubygems
+MASTER_SITES= RG
+
+MAINTAINER= ruby@FreeBSD.org
+COMMENT= JSON-LD reader/writer for Ruby
+
+LICENSE= UNLICENSE
+
+RUN_DEPENDS= rubygem-multi_json>=1.12:devel/rubygem-multi_json \
+ rubygem-rdf>=2.2:www/rubygem-rdf
+
+USES= gem
+USE_RUBY= yes
+
+NO_ARCH= yes
+PLIST_FILES= bin/jsonld
+
+.include <bsd.port.mk>
diff --git a/converters/rubygem-json-ld/distinfo b/converters/rubygem-json-ld/distinfo
new file mode 100644
index 000000000000..1d145d95aee4
--- /dev/null
+++ b/converters/rubygem-json-ld/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1504481916
+SHA256 (rubygem/json-ld-2.1.5.gem) = 8b4c859671b1b4d342d0312441117ae8ab3731c28866cf0909b2e257ba643116
+SIZE (rubygem/json-ld-2.1.5.gem) = 109056
diff --git a/converters/rubygem-json-ld/pkg-descr b/converters/rubygem-json-ld/pkg-descr
new file mode 100644
index 000000000000..902f4b112da2
--- /dev/null
+++ b/converters/rubygem-json-ld/pkg-descr
@@ -0,0 +1,6 @@
+This gem parses and serializes JSON-LD into RDF and implements expansion,
+compaction and framing API interfaces. It can now be used to create a context
+from an RDFS/OWL definition, and optionally include a JSON-LD representation of
+the ontology itself.
+
+WWW: http://github.com/ruby-rdf/json-ld