git: ddc06c01d6eb - main - devel/rubygem-bindata24: Add rubygem-bindata24 2.4.15 (copied from rubygem-bindata)

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Fri, 28 Feb 2025 10:52:19 UTC
The branch main has been updated by sunpoet:

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

commit ddc06c01d6ebfee7d471928221fd8d3b02a0819a
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-02-28 10:33:21 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-02-28 10:33:21 +0000

    devel/rubygem-bindata24: Add rubygem-bindata24 2.4.15 (copied from rubygem-bindata)
    
    - Add PORTSCOUT
---
 devel/Makefile                    |  1 +
 devel/rubygem-bindata24/Makefile  | 22 ++++++++++++++++++++++
 devel/rubygem-bindata24/distinfo  |  3 +++
 devel/rubygem-bindata24/pkg-descr |  6 ++++++
 4 files changed, 32 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 23c02196beed..94ae06096edc 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -7062,6 +7062,7 @@
     SUBDIR += rubygem-bin_struct
     SUBDIR += rubygem-bin_utils
     SUBDIR += rubygem-bindata
+    SUBDIR += rubygem-bindata24
     SUBDIR += rubygem-bindex
     SUBDIR += rubygem-binding_of_caller
     SUBDIR += rubygem-bit-struct
diff --git a/devel/rubygem-bindata24/Makefile b/devel/rubygem-bindata24/Makefile
new file mode 100644
index 000000000000..47472f4dfc85
--- /dev/null
+++ b/devel/rubygem-bindata24/Makefile
@@ -0,0 +1,22 @@
+PORTNAME=	bindata
+PORTVERSION=	2.4.15
+CATEGORIES=	devel ruby
+MASTER_SITES=	RG
+PKGNAMESUFFIX=	24
+
+MAINTAINER=	ruby@FreeBSD.org
+COMMENT=	Ruby library to read and write binary file formats
+WWW=		https://github.com/dmendel/bindata
+
+LICENSE=	BSD2CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USES=		cpe gem
+
+NO_ARCH=	yes
+
+CPE_VENDOR=	bindata_project
+
+PORTSCOUT=	ignore:1
+
+.include <bsd.port.mk>
diff --git a/devel/rubygem-bindata24/distinfo b/devel/rubygem-bindata24/distinfo
new file mode 100644
index 000000000000..6a712c62b77c
--- /dev/null
+++ b/devel/rubygem-bindata24/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1677771807
+SHA256 (rubygem/bindata-2.4.15.gem) = e567e4278223e041caf4e623de870b2df8a93479d8f13e2b478bad45e0fbc413
+SIZE (rubygem/bindata-2.4.15.gem) = 80384
diff --git a/devel/rubygem-bindata24/pkg-descr b/devel/rubygem-bindata24/pkg-descr
new file mode 100644
index 000000000000..bb05ff66b45b
--- /dev/null
+++ b/devel/rubygem-bindata24/pkg-descr
@@ -0,0 +1,6 @@
+BinData is a declarative way to read and write binary file formats.
+
+This means the programmer specifies *what* the format of the binary
+data is, and BinData works out *how* to read and write data in this
+format. It is an easier (and more readable) alternative to Ruby's
+#pack and #unpack methods.