aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/brotli/Makefile
blob: 46974d2507147b05ec4bfd6389ee798b0bb9b3f8 (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
# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
# $FreeBSD$

PORTNAME=   brotli
PORTVERSION=    0.4.0
DISTVERSIONPREFIX=  v
CATEGORIES= archivers

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

LICENSE=    APACHE20
LICENSE_FILE=   ${WRKSRC}/LICENSE

USE_PYTHON= autoplist distutils
USES=       compiler:c++0x python

PLIST_FILES=    bin/brotli

GH_ACCOUNT= google
USE_GITHUB= yes

post-install:
    ${INSTALL_SCRIPT} ${WRKSRC}/python/bro.py ${STAGEDIR}${PREFIX}/bin/brotli
    ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/brotli.so

.include <bsd.port.mk>