svn commit: r496204 - in head/archivers: . php-brotli
Tobias C. Berner
tcberner at FreeBSD.org
Mon Mar 18 20:24:59 UTC 2019
Author: tcberner
Date: Mon Mar 18 20:24:57 2019
New Revision: 496204
URL: https://svnweb.freebsd.org/changeset/ports/496204
Log:
[NEW PORT] archivers/php-brotli: PHP Extension for Brotli
Brotli is a generic-purpose lossless compression algorithm that compresses
data using a combination of a modern variant of the LZ77 algorithm, Huffman
coding and 2nd order context modeling, with a compression ratio comparable
to the best currently available general-purpose compression methods. It is
similar in speed with deflate but offers more dense compression.
This is the Brotli Extension for PHP
WWW: https://github.com/kjdev/php-ext-brotli
PR: 236610
Submitted by: Daniel Shafer <daniel at shafer.cc>
Differential_Revision: https://reviews.freebsd.org/D19619
Added:
head/archivers/php-brotli/
head/archivers/php-brotli/Makefile (contents, props changed)
head/archivers/php-brotli/distinfo (contents, props changed)
head/archivers/php-brotli/pkg-descr (contents, props changed)
Modified:
head/archivers/Makefile
Modified: head/archivers/Makefile
==============================================================================
--- head/archivers/Makefile Mon Mar 18 20:23:54 2019 (r496203)
+++ head/archivers/Makefile Mon Mar 18 20:24:57 2019 (r496204)
@@ -148,6 +148,7 @@
SUBDIR += peazip
SUBDIR += pecl-lzf
SUBDIR += pecl-rar
+ SUBDIR += php-brotli
SUBDIR += php-horde_lz4
SUBDIR += php-snappy
SUBDIR += php71-bz2
Added: head/archivers/php-brotli/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/archivers/php-brotli/Makefile Mon Mar 18 20:24:57 2019 (r496204)
@@ -0,0 +1,29 @@
+# $FreeBSD$
+
+PORTNAME= brotli
+DISTVERSION= 0.6.2
+CATEGORIES= archivers
+PKGNAMEPREFIX= ${PHP_PKGNAMEPREFIX}
+
+MAINTAINER= daniel at shafer.cc
+COMMENT= Brotli extension for PHP
+
+LICENSE= MIT
+
+BUILD_DEPENDS= re2c>0:devel/re2c
+LIB_DEPENDS= libbrotlienc.so:archivers/brotli
+
+USES= dos2unix libtool php:ext pkgconfig
+
+USE_GITHUB= yes
+GH_ACCOUNT= kjdev
+GH_PROJECT= php-ext-brotli
+
+USE_LDCONFIG= yes
+
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --with-libbrotli
+
+PHP_MODNAME= brotli
+
+.include <bsd.port.mk>
Added: head/archivers/php-brotli/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/archivers/php-brotli/distinfo Mon Mar 18 20:24:57 2019 (r496204)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1552932530
+SHA256 (kjdev-php-ext-brotli-0.6.2_GH0.tar.gz) = 8f2d816177f00a784af7afcc6e04b41a8ce4f42725a57130bf5d9682715016d5
+SIZE (kjdev-php-ext-brotli-0.6.2_GH0.tar.gz) = 10043
Added: head/archivers/php-brotli/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/archivers/php-brotli/pkg-descr Mon Mar 18 20:24:57 2019 (r496204)
@@ -0,0 +1,9 @@
+Brotli is a generic-purpose lossless compression algorithm that compresses
+data using a combination of a modern variant of the LZ77 algorithm, Huffman
+coding and 2nd order context modeling, with a compression ratio comparable
+to the best currently available general-purpose compression methods. It is
+similar in speed with deflate but offers more dense compression.
+
+This is the Brotli Extension for PHP
+
+WWW: https://github.com/kjdev/php-ext-brotli
More information about the svn-ports-all
mailing list