aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/php-brotli/Makefile
blob: 539e0fbea0ff4dc812d0c5974c3b4c159beee298 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# $FreeBSD$

PORTNAME=   brotli
DISTVERSION=    0.7.0
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>