2015-10-01 17:55:06 +02:00
|
|
|
# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= brotli
|
2016-11-21 00:54:17 +01:00
|
|
|
PORTVERSION= 0.5.2
|
2017-02-25 05:23:16 +01:00
|
|
|
PORTREVISION= 3
|
2015-10-01 17:55:06 +02:00
|
|
|
CATEGORIES= archivers
|
2016-11-24 16:34:11 +01:00
|
|
|
MASTER_SITES= CHEESESHOP
|
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
DISTNAME= Brotli-${PORTVERSION}
|
2015-10-01 17:55:06 +02:00
|
|
|
|
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
|
|
|
COMMENT= Generic-purpose lossless compression algorithm
|
|
|
|
|
|
|
|
LICENSE= APACHE20
|
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
|
2016-12-03 09:31:37 +01:00
|
|
|
USE_PYTHON= autoplist concurrent distutils
|
2017-02-25 05:23:16 +01:00
|
|
|
USES= compiler:c++0x python shebangfix zip
|
2015-10-01 17:55:06 +02:00
|
|
|
|
|
|
|
PLIST_FILES= bin/brotli
|
|
|
|
|
2017-02-25 05:23:16 +01:00
|
|
|
SHEBANG_FILES= python/bro.py
|
|
|
|
|
2015-10-01 17:55:06 +02:00
|
|
|
post-install:
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/python/bro.py ${STAGEDIR}${PREFIX}/bin/brotli
|
|
|
|
${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/brotli.so
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|