git: e8c7cd8825a7 - main - devel/rubygem-iostruct: Add rubygem-iostruct 0.0.4

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 25 Oct 2021 16:01:07 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=e8c7cd8825a7381bcf6384f919af6210590139df

commit e8c7cd8825a7381bcf6384f919af6210590139df
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2021-10-25 14:43:56 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2021-10-25 15:57:06 +0000

    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
---
 devel/Makefile                   |  1 +
 devel/rubygem-iostruct/Makefile  | 19 +++++++++++++++++++
 devel/rubygem-iostruct/distinfo  |  3 +++
 devel/rubygem-iostruct/pkg-descr |  3 +++
 4 files changed, 26 insertions(+)

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