aboutsummaryrefslogtreecommitdiffstats
path: root/converters
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2017-07-14 02:55:27 +0800
committerantoine <antoine@FreeBSD.org>2017-07-14 02:55:27 +0800
commit36a5e265e675a52a4b368e102eab4da068710059 (patch)
tree3c37715cbf676687256f2248315d3408f3d4f9ea /converters
parent4cdca1d287a8831dca50f0b24357b81a154a2145 (diff)
downloadfreebsd-ports-gnome-36a5e265e675a52a4b368e102eab4da068710059.tar.gz
freebsd-ports-gnome-36a5e265e675a52a4b368e102eab4da068710059.tar.zst
freebsd-ports-gnome-36a5e265e675a52a4b368e102eab4da068710059.zip
New port: converters/rubygem-xdr
XDR is an open data format, specified in RFC 4506. This library provides a way to read and write XDR data from ruby. It can read/write all of the primitive XDR types and also provides facilities to define readers for the compound XDR types (enums, structs and unions) WWW: https://github.com/stellar/ruby-xdr
Diffstat (limited to 'converters')
-rw-r--r--converters/Makefile1
-rw-r--r--converters/rubygem-xdr/Makefile21
-rw-r--r--converters/rubygem-xdr/distinfo3
-rw-r--r--converters/rubygem-xdr/pkg-descr6
4 files changed, 31 insertions, 0 deletions
diff --git a/converters/Makefile b/converters/Makefile
index ec1358d6cb27..634aa96aec10 100644
--- a/converters/Makefile
+++ b/converters/Makefile
@@ -161,6 +161,7 @@
SUBDIR += rubygem-bsdconv
SUBDIR += rubygem-po_to_json
SUBDIR += rubygem-url_safe_base64
+ SUBDIR += rubygem-xdr
SUBDIR += shftool
SUBDIR += showkey
SUBDIR += ta2as
diff --git a/converters/rubygem-xdr/Makefile b/converters/rubygem-xdr/Makefile
new file mode 100644
index 000000000000..55becd0b5bf0
--- /dev/null
+++ b/converters/rubygem-xdr/Makefile
@@ -0,0 +1,21 @@
+# $FreeBSD$
+
+PORTNAME= xdr
+PORTVERSION= 2.0.0
+CATEGORIES= converters rubygems
+MASTER_SITES= RG
+
+MAINTAINER= antoine@FreeBSD.org
+COMMENT= XDR Helper Library
+
+LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+
+RUN_DEPENDS= rubygem-activemodel4>=4.2.7:databases/rubygem-activemodel4 \
+ rubygem-activesupport4>=4.2.7:devel/rubygem-activesupport4
+
+NO_ARCH= yes
+USE_RUBY= yes
+USES= gem
+
+.include <bsd.port.mk>
diff --git a/converters/rubygem-xdr/distinfo b/converters/rubygem-xdr/distinfo
new file mode 100644
index 000000000000..4289decc470a
--- /dev/null
+++ b/converters/rubygem-xdr/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1499950538
+SHA256 (rubygem/xdr-2.0.0.gem) = d5a43e9effa071d49bde1caee351f0bc985576370e2c6770c07dc84866b8ac30
+SIZE (rubygem/xdr-2.0.0.gem) = 24064
diff --git a/converters/rubygem-xdr/pkg-descr b/converters/rubygem-xdr/pkg-descr
new file mode 100644
index 000000000000..cb161e76770d
--- /dev/null
+++ b/converters/rubygem-xdr/pkg-descr
@@ -0,0 +1,6 @@
+XDR is an open data format, specified in RFC 4506. This library provides a way
+to read and write XDR data from ruby. It can read/write all of the primitive
+XDR types and also provides facilities to define readers for the compound XDR
+types (enums, structs and unions)
+
+WWW: https://github.com/stellar/ruby-xdr