aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2013-05-29 08:42:21 +0800
committermiwi <miwi@FreeBSD.org>2013-05-29 08:42:21 +0800
commit55157f0792d53fb53af10089d1399c3dd6de934e (patch)
tree9ccd4fd6cac78f6121b6ac84c2abbaaff412904d
parent670448f14bb2e162eedc5c58cf1ec75e50a92e2d (diff)
downloadfreebsd-ports-gnome-55157f0792d53fb53af10089d1399c3dd6de934e.tar.gz
freebsd-ports-gnome-55157f0792d53fb53af10089d1399c3dd6de934e.tar.zst
freebsd-ports-gnome-55157f0792d53fb53af10089d1399c3dd6de934e.zip
Wrapper for Mail.Ru simple network protocol IProto. Support 2 modes: block via
Ruby's TCPSocket and non block via EventMachine with fiblers. Wrapper used in Tarantool ruby client and private libs. WWW: https://github.com/mailru/iproto-ruby PR: ports/178621 Submitted by: Gvozdikov Veniamin <g.veniamin@googlemail.com>
-rw-r--r--net/Makefile1
-rw-r--r--net/rubygem-iproto/Makefile19
-rw-r--r--net/rubygem-iproto/distinfo2
-rw-r--r--net/rubygem-iproto/pkg-descr5
4 files changed, 27 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index 41f5deb27a01..6c222669cac0 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -1027,6 +1027,7 @@
SUBDIR += rubygem-http_parser.rb
SUBDIR += rubygem-httpauth
SUBDIR += rubygem-ipaddress
+ SUBDIR += rubygem-iproto
SUBDIR += rubygem-macaddr
SUBDIR += rubygem-net-ldap
SUBDIR += rubygem-net-netrc
diff --git a/net/rubygem-iproto/Makefile b/net/rubygem-iproto/Makefile
new file mode 100644
index 000000000000..8081c4350e2a
--- /dev/null
+++ b/net/rubygem-iproto/Makefile
@@ -0,0 +1,19 @@
+# Created by: Gvozdikov Veniamin <g.veniamin@googlemail.com>
+# $FreeBSD$
+
+PORTNAME= iproto
+PORTVERSION= 0.3.8
+CATEGORIES= net rubygems
+MASTER_SITES= RG
+
+MAINTAINER= g.veniamin@googlemail.com
+COMMENT= Ruby implementation of Mail.Ru iproto protocol
+
+RUN_DEPENDS= rubygem-bin_utils=0.0.3:${PORTSDIR}/devel/rubygem-bin_utils
+
+RUBY_VER= 1.9
+USE_RUBY= yes
+USE_RUBYGEMS= yes
+RUBYGEM_AUTOPLIST= yes
+
+.include <bsd.port.mk>
diff --git a/net/rubygem-iproto/distinfo b/net/rubygem-iproto/distinfo
new file mode 100644
index 000000000000..40c37eca35c0
--- /dev/null
+++ b/net/rubygem-iproto/distinfo
@@ -0,0 +1,2 @@
+SHA256 (rubygem/iproto-0.3.8.gem) = 1db06216baec4dc908337b448d94b2b840336cee0e003090fad96f62dd7d1bc7
+SIZE (rubygem/iproto-0.3.8.gem) = 8704
diff --git a/net/rubygem-iproto/pkg-descr b/net/rubygem-iproto/pkg-descr
new file mode 100644
index 000000000000..d3f97608f038
--- /dev/null
+++ b/net/rubygem-iproto/pkg-descr
@@ -0,0 +1,5 @@
+Wrapper for Mail.Ru simple network protocol IProto. Support 2 modes: block via
+Ruby's TCPSocket and non block via EventMachine with fiblers. Wrapper used in
+Tarantool ruby client and private libs.
+
+WWW: https://github.com/mailru/iproto-ruby