freebsd-ports/archivers/php-brotli/Makefile
Tobias C. Berner 6dc94a1c8d [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@shafer.cc>
Differential_Revision:	https://reviews.freebsd.org/D19619
2019-03-18 20:24:57 +00:00

29 lines
487 B
Makefile

# $FreeBSD$
PORTNAME= brotli
DISTVERSION= 0.6.2
CATEGORIES= archivers
PKGNAMEPREFIX= ${PHP_PKGNAMEPREFIX}
MAINTAINER= daniel@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>