mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-20 08:27:15 +00:00
28 lines
584 B
Makefile
28 lines
584 B
Makefile
# 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>
|