aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2021-10-25 14:43:56 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2021-10-25 15:57:06 +0000
commite8c7cd8825a7381bcf6384f919af6210590139df (patch)
tree6247791dfbb53382c49f3269cff1125c19058f27
parent7268240d35a6583bdcd569003759671a5e430778 (diff)
downloadports-e8c7cd8825a7381bcf6384f919af6210590139df.tar.gz
ports-e8c7cd8825a7381bcf6384f919af6210590139df.zip
devel/rubygem-iostruct: Add rubygem-iostruct 0.0.4
iostruct provides a struct that can read/write itself from/to IO-like objects. WWW: https://github.com/zed-0xff/iostruct
-rw-r--r--devel/Makefile1
-rw-r--r--devel/rubygem-iostruct/Makefile19
-rw-r--r--devel/rubygem-iostruct/distinfo3
-rw-r--r--devel/rubygem-iostruct/pkg-descr3
4 files changed, 26 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 70b91eaba8d4..454a798ada07 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -6421,6 +6421,7 @@
SUBDIR += rubygem-io-nonblock
SUBDIR += rubygem-io-wait
SUBDIR += rubygem-iobuffer
+ SUBDIR += rubygem-iostruct
SUBDIR += rubygem-irb
SUBDIR += rubygem-iso8601
SUBDIR += rubygem-jaeger-client
diff --git a/devel/rubygem-iostruct/Makefile b/devel/rubygem-iostruct/Makefile
new file mode 100644
index 000000000000..0f135f9d2211
--- /dev/null
+++ b/devel/rubygem-iostruct/Makefile
@@ -0,0 +1,19 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+
+PORTNAME= iostruct
+PORTVERSION= 0.0.4
+CATEGORIES= devel rubygems
+MASTER_SITES= RG
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Struct that can read/write itself from/to IO-like objects
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+
+USES= gem
+USE_RUBY= yes
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/devel/rubygem-iostruct/distinfo b/devel/rubygem-iostruct/distinfo
new file mode 100644
index 000000000000..9d2523c8eff1
--- /dev/null
+++ b/devel/rubygem-iostruct/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1634391090
+SHA256 (rubygem/iostruct-0.0.4.gem) = ac3b15d4ebfc0a92a93b4c3c02a8e7997fedc33e0f715fcf1f520c1d7d36974f
+SIZE (rubygem/iostruct-0.0.4.gem) = 6656
diff --git a/devel/rubygem-iostruct/pkg-descr b/devel/rubygem-iostruct/pkg-descr
new file mode 100644
index 000000000000..12abd036f349
--- /dev/null
+++ b/devel/rubygem-iostruct/pkg-descr
@@ -0,0 +1,3 @@
+iostruct provides a struct that can read/write itself from/to IO-like objects.
+
+WWW: https://github.com/zed-0xff/iostruct