summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2025-02-28 18:33:21 +0800
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2025-02-28 18:33:21 +0800
commitddc06c01d6ebfee7d471928221fd8d3b02a0819a (patch)
tree363d6d3c6b05d6163d19386693ac9875f5b4e817
parentdatabases/rubygem-red-arrow-flight: Add rubygem-red-arrow-flight 19.0.0 (diff)
devel/rubygem-bindata24: Add rubygem-bindata24 2.4.15 (copied from rubygem-bindata)
- Add PORTSCOUT
-rw-r--r--devel/Makefile1
-rw-r--r--devel/rubygem-bindata24/Makefile22
-rw-r--r--devel/rubygem-bindata24/distinfo3
-rw-r--r--devel/rubygem-bindata24/pkg-descr6
4 files changed, 32 insertions, 0 deletions
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.