summaryrefslogtreecommitdiff
path: root/archivers/php-brotli/Makefile
blob: 3df403beffcd595d2780e1675601e7f1f9ece5a8 (plain)
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
PORTNAME=	brotli
DISTVERSION=	0.13.1
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>