git: 57262feb3b07 - main - archivers/rubygem-bzip2-ffi: New port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 21 Jan 2024 12:51:29 UTC
The branch main has been updated by bofh:
URL: https://cgit.FreeBSD.org/ports/commit/?id=57262feb3b07c1335ce53f2b4914aceb68faf390
commit 57262feb3b07c1335ce53f2b4914aceb68faf390
Author: Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-01-21 09:51:28 +0000
Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-01-21 12:51:15 +0000
archivers/rubygem-bzip2-ffi: New port
Bzip2::FFI is a Ruby wrapper for libbz2 using FFI bindings. The
Bzip2::FFI Reader and Writer classes support reading and writing bzip2
compressed data as an IO-like stream.
---
archivers/Makefile | 1 +
archivers/rubygem-bzip2-ffi/Makefile | 16 ++++++++++++++++
archivers/rubygem-bzip2-ffi/distinfo | 3 +++
archivers/rubygem-bzip2-ffi/pkg-descr | 3 +++
4 files changed, 23 insertions(+)
diff --git a/archivers/Makefile b/archivers/Makefile
index f46a370e2f26..35ecf91c7bb8 100644
--- a/archivers/Makefile
+++ b/archivers/Makefile
@@ -218,6 +218,7 @@
SUBDIR += rpm4
SUBDIR += rubygem-archive-tar-minitar
SUBDIR += rubygem-archive-zip
+ SUBDIR += rubygem-bzip2-ffi
SUBDIR += rubygem-bzip2-ruby
SUBDIR += rubygem-fpm
SUBDIR += rubygem-libarchive
diff --git a/archivers/rubygem-bzip2-ffi/Makefile b/archivers/rubygem-bzip2-ffi/Makefile
new file mode 100644
index 000000000000..02ce525ab1d3
--- /dev/null
+++ b/archivers/rubygem-bzip2-ffi/Makefile
@@ -0,0 +1,16 @@
+PORTNAME= bzip2-ffi
+PORTVERSION= 1.1.0
+CATEGORIES= archivers rubygems
+MASTER_SITES= RG
+
+MAINTAINER= bofh@FreeBSD.org
+COMMENT= Ruby FFI bindings to libbzip2
+WWW= https://github.com/philr/bzip2-ffi
+
+LICENSE= MIT
+
+RUN_DEPENDS= rubygem-ffi>0:devel/rubygem-ffi
+
+USES= gem
+
+.include <bsd.port.mk>
diff --git a/archivers/rubygem-bzip2-ffi/distinfo b/archivers/rubygem-bzip2-ffi/distinfo
new file mode 100644
index 000000000000..11f2d610a788
--- /dev/null
+++ b/archivers/rubygem-bzip2-ffi/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1705830016
+SHA256 (rubygem/bzip2-ffi-1.1.0.gem) = d03c720361d4957598494afd5b2547b830b5caefb3616a56cc3cab33eddbda22
+SIZE (rubygem/bzip2-ffi-1.1.0.gem) = 217088
diff --git a/archivers/rubygem-bzip2-ffi/pkg-descr b/archivers/rubygem-bzip2-ffi/pkg-descr
new file mode 100644
index 000000000000..8885cf10bcf9
--- /dev/null
+++ b/archivers/rubygem-bzip2-ffi/pkg-descr
@@ -0,0 +1,3 @@
+Bzip2::FFI is a Ruby wrapper for libbz2 using FFI bindings. The Bzip2::FFI
+Reader and Writer classes support reading and writing bzip2 compressed data as
+an IO-like stream.