mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-05 06:27:37 +00:00
29 lines
680 B
Makefile
29 lines
680 B
Makefile
# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= brotli
|
|
PORTVERSION= 0.6.0
|
|
CATEGORIES= archivers
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
DISTNAME= Brotli-${PORTVERSION}
|
|
|
|
MAINTAINER= sunpoet@FreeBSD.org
|
|
COMMENT= Generic-purpose lossless compression algorithm
|
|
|
|
LICENSE= APACHE20
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
USE_PYTHON= autoplist concurrent distutils
|
|
USES= compiler:c++0x python shebangfix zip
|
|
|
|
PLIST_FILES= bin/brotli
|
|
|
|
SHEBANG_FILES= python/bro.py
|
|
|
|
post-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/python/bro.py ${STAGEDIR}${PREFIX}/bin/brotli
|
|
${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/_brotli.so
|
|
|
|
.include <bsd.port.mk>
|