git: a467fdaf329f - main - archivers/php-bzip3: [NEW PORT] bzip3 compression extension
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 30 Oct 2025 23:55:23 UTC
The branch main has been updated by alven:
URL: https://cgit.FreeBSD.org/ports/commit/?id=a467fdaf329f9eea6c0b196065496a2e09dc97dc
commit a467fdaf329f9eea6c0b196065496a2e09dc97dc
Author: Paavo-Einari Kaipila <pave@freebsd.org>
AuthorDate: 2025-08-21 05:07:30 +0000
Commit: Älven <alven@FreeBSD.org>
CommitDate: 2025-10-30 23:55:08 +0000
archivers/php-bzip3: [NEW PORT] bzip3 compression extension
PR: 288888
Tested by: gatekeeper <tiago.gasiba@gmail.com>
Approved by: yuri@ (Mentor)
---
archivers/Makefile | 1 +
archivers/php-bzip3/Makefile | 23 +++++++++++++++++++++++
archivers/php-bzip3/distinfo | 3 +++
archivers/php-bzip3/pkg-descr | 3 +++
4 files changed, 30 insertions(+)
diff --git a/archivers/Makefile b/archivers/Makefile
index 68500f8bf96b..d3bd2765c3ee 100644
--- a/archivers/Makefile
+++ b/archivers/Makefile
@@ -156,6 +156,7 @@
SUBDIR += pecl-rar
SUBDIR += pecl-zstd
SUBDIR += php-brotli
+ SUBDIR += php-bzip3
SUBDIR += php-horde_lz4
SUBDIR += php-lz4
SUBDIR += php-snappy
diff --git a/archivers/php-bzip3/Makefile b/archivers/php-bzip3/Makefile
new file mode 100644
index 000000000000..3a6dc8cfdd8b
--- /dev/null
+++ b/archivers/php-bzip3/Makefile
@@ -0,0 +1,23 @@
+PORTNAME= bzip3
+DISTVERSION= 0.1.1
+CATEGORIES= archivers
+PKGNAMEPREFIX= ${PHP_PKGNAMEPREFIX}
+
+MAINTAINER= pkaipila@gmail.com
+COMMENT= BZip3 extension for PHP
+WWW= https://github.com/kjdev/php-ext-bzip3
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+LIB_DEPENDS= libbzip3.so:archivers/bzip3
+
+USES= localbase php:ext pkgconfig
+
+USE_GITHUB= yes
+GH_ACCOUNT= kjdev
+GH_PROJECT= php-ext-bzip3
+
+CONFIGURE_ARGS= --with-libbzip3
+
+.include <bsd.port.mk>
diff --git a/archivers/php-bzip3/distinfo b/archivers/php-bzip3/distinfo
new file mode 100644
index 000000000000..01e265bede37
--- /dev/null
+++ b/archivers/php-bzip3/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1755279676
+SHA256 (kjdev-php-ext-bzip3-0.1.1_GH0.tar.gz) = 1a395c628332af57d8be84831c33fdd6d6b6b0b7a3f03568a75c294715f11bbb
+SIZE (kjdev-php-ext-bzip3-0.1.1_GH0.tar.gz) = 6930
diff --git a/archivers/php-bzip3/pkg-descr b/archivers/php-bzip3/pkg-descr
new file mode 100644
index 000000000000..f8dc6b36041d
--- /dev/null
+++ b/archivers/php-bzip3/pkg-descr
@@ -0,0 +1,3 @@
+This is the PHP extension for BZip3, a spiritual successor to BZip2. Compared to
+BZip2, BZip3 offers better speed as well as better compression ratios. Like its
+predecessor, BZip3 excels at compressing text or code.