aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/brotli/Makefile
blob: 404f2f3837b878cea198c84763a5342e4130fe35 (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
# Created by: Sergey A. Osokin <osa@FreeBSD.org>
# $FreeBSD$

PORTNAME=   brotli
PORTVERSION=    0.6.0
DISTVERSIONPREFIX=  v
PORTEPOCH=  1
CATEGORIES= archivers devel

MAINTAINER= osa@FreeBSD.org
COMMENT=    Generic-purpose lossless compression algorithm

LICENSE=    MIT

USE_GITHUB= yes
GH_ACCOUNT= google

USES=       cmake compiler:c++0x pkgconfig
USE_LDCONFIG=   yes

CMAKE_ARGS=     -DBUILD_TESTING:BOOL=OFF

post-install:
    @${LN} -s libbrotlicommon.so.${PORTVERSION} ${STAGEDIR}${PREFIX}/lib/libbrotlicommon.so.0
    @${LN} -s libbrotlidec.so.${PORTVERSION} ${STAGEDIR}${PREFIX}/lib/libbrotlidec.so.0
    @${LN} -s libbrotlienc.so.${PORTVERSION} ${STAGEDIR}${PREFIX}/lib/libbrotlienc.so.0

.include <bsd.port.mk>