Page MenuHomeFreeBSD

D19619.id55181.diff
No OneTemporary

D19619.id55181.diff

Index: archivers/Makefile
===================================================================
--- archivers/Makefile
+++ archivers/Makefile
@@ -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
Index: archivers/php-brotli/Makefile
===================================================================
--- /dev/null
+++ archivers/php-brotli/Makefile
@@ -0,0 +1,31 @@
+# $FreeBSD$
+
+PORTNAME= brotli
+DISTVERSION= 0.6.2
+CATEGORIES= archivers
+PKGNAMEPREFIX= ${PHP_PKGNAMEPREFIX}
+
+MAINTAINER= daniel@shafer.cc
+COMMENT= Brotli extension for PHP
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKDIR}/brotli-d6d9895/LICENSE
+
+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
+GH_TUPLE= google:brotli:d6d9895:brotli
+
+USE_LDCONFIG= yes
+
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --with-libbrotli
+
+PHP_MODNAME= brotli
+
+.include <bsd.port.mk>
Index: archivers/php-brotli/distinfo
===================================================================
--- /dev/null
+++ archivers/php-brotli/distinfo
@@ -0,0 +1,5 @@
+TIMESTAMP = 1552689585
+SHA256 (kjdev-php-ext-brotli-0.6.2_GH0.tar.gz) = 8f2d816177f00a784af7afcc6e04b41a8ce4f42725a57130bf5d9682715016d5
+SIZE (kjdev-php-ext-brotli-0.6.2_GH0.tar.gz) = 10043
+SHA256 (google-brotli-d6d9895_GH0.tar.gz) = af93b878313c8dbc2a8deab1049a7d070b81df652cecbedeff1b3722e6a15928
+SIZE (google-brotli-d6d9895_GH0.tar.gz) = 23827916
Index: archivers/php-brotli/pkg-descr
===================================================================
--- /dev/null
+++ archivers/php-brotli/pkg-descr
@@ -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

File Metadata

Mime Type
text/plain
Expires
Thu, Jul 23, 1:32 PM (7 h, 25 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
35403609
Default Alt Text
D19619.id55181.diff (2 KB)

Event Timeline