aboutsummaryrefslogtreecommitdiffstats
path: root/devel/libbrotli/Makefile
blob: e97229ce01c5ae4d33533af21aa5ec235c068d2a (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
30
31
32
33
34
35
# Created by: Sergey A. Osokin <osa@FreeBSD.org>
# $FreeBSD$

PORTNAME=   libbrotli
PORTVERSION=    1.0
PORTREVISION=   1
MASTER_SITES=   https://github.com/bagder/libbrotli/archive/
DISTFILES=  ${DISTNAME}${EXTRACT_SUFX}
CATEGORIES= devel archivers

MAINTAINER= osa@FreeBSD.org
COMMENT=    Library for generic-purpose lossless compression algorithm

LICENSE=    MIT

BROTLI_VERSION= 3a77ebe

USE_GITHUB= nodefault
GH_ACCOUNT= google:brotli
GH_PROJECT= brotli:brotli
GH_TAGNAME= ${BROTLI_VERSION}:brotli

USES=       pkgconfig autoreconf libtool compiler:c++0x
GNU_CONFIGURE=  yes
MAKE_JOBS_UNSAFE=   yes
USE_LDCONFIG=   yes
WRKSRC=     ${WRKDIR}/${PORTNAME}-${PORTNAME}-${PORTVERSION}

post-extract:
    ${RMDIR} ${WRKSRC}/brotli && ${MV} ${WRKDIR}/brotli-${BROTLI_VERSION} ${WRKSRC}/brotli

pre-configure:
    cd ${WRKSRC} && ./autogen.sh

.include <bsd.port.mk>