aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2013-05-29 08:40:56 +0800
committermiwi <miwi@FreeBSD.org>2013-05-29 08:40:56 +0800
commit670448f14bb2e162eedc5c58cf1ec75e50a92e2d (patch)
treea9f07c67bfd6a2824f5fa61d607d40cd642713fe
parent9100b0be8807eec944e2ab4913a552e4042adbdf (diff)
downloadfreebsd-ports-gnome-670448f14bb2e162eedc5c58cf1ec75e50a92e2d.tar.gz
freebsd-ports-gnome-670448f14bb2e162eedc5c58cf1ec75e50a92e2d.tar.zst
freebsd-ports-gnome-670448f14bb2e162eedc5c58cf1ec75e50a92e2d.zip
It is specialized versions of methods for working with binary data.
It were written cause: - MRI's #pack and #unpack seems to be slow - result of #pack is often appended to a string at the very next step. - usually we need to drop unpacked string head WWW: https://github.com/funny-falcon/bin_utils PR: ports/178619 Submitted by: Gvozdikov Veniamin <g.veniamin@googlemail.com>
-rw-r--r--devel/Makefile1
-rw-r--r--devel/rubygem-bin_utils/Makefile17
-rw-r--r--devel/rubygem-bin_utils/distinfo2
-rw-r--r--devel/rubygem-bin_utils/pkg-descr8
4 files changed, 28 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 3b91d16c772d..3949d072c1ad 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -3997,6 +3997,7 @@
SUBDIR += rubygem-backports
SUBDIR += rubygem-bacon
SUBDIR += rubygem-benelux
+ SUBDIR += rubygem-bin_utils
SUBDIR += rubygem-bioruby
SUBDIR += rubygem-blockenspiel
SUBDIR += rubygem-bson
diff --git a/devel/rubygem-bin_utils/Makefile b/devel/rubygem-bin_utils/Makefile
new file mode 100644
index 000000000000..fb3cc15c3831
--- /dev/null
+++ b/devel/rubygem-bin_utils/Makefile
@@ -0,0 +1,17 @@
+# Created by: Gvozdikov Veniamin <g.veniamin@googlemail.com>
+# $FreeBSD$
+
+PORTNAME= bin_utils
+PORTVERSION= 0.0.3
+CATEGORIES= devel rubygems
+MASTER_SITES= RG
+
+MAINTAINER= g.veniamin@googlemail.com
+COMMENT= Extracting binary integers from binary string and packing back
+
+RUBY_VER= 1.9
+USE_RUBY= yes
+USE_RUBYGEMS= yes
+RUBYGEM_AUTOPLIST= yes
+
+.include <bsd.port.mk>
diff --git a/devel/rubygem-bin_utils/distinfo b/devel/rubygem-bin_utils/distinfo
new file mode 100644
index 000000000000..bd6d89f9607f
--- /dev/null
+++ b/devel/rubygem-bin_utils/distinfo
@@ -0,0 +1,2 @@
+SHA256 (rubygem/bin_utils-0.0.3.gem) = 3f78052397ea3234d56141e5ed3a461aac94c1ba2569e3922b951b741d51557c
+SIZE (rubygem/bin_utils-0.0.3.gem) = 16384
diff --git a/devel/rubygem-bin_utils/pkg-descr b/devel/rubygem-bin_utils/pkg-descr
new file mode 100644
index 000000000000..dc0c42d4dcc1
--- /dev/null
+++ b/devel/rubygem-bin_utils/pkg-descr
@@ -0,0 +1,8 @@
+It is specialized versions of methods for working with binary data.
+It were written cause:
+
+- MRI's #pack and #unpack seems to be slow
+- result of #pack is often appended to a string at the very next step.
+- usually we need to drop unpacked string head
+
+WWW: https://github.com/funny-falcon/bin_utils