aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/py-brotli
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2017-02-25 12:23:16 +0800
committersunpoet <sunpoet@FreeBSD.org>2017-02-25 12:23:16 +0800
commitb125c19eeb6b0e4a2e92d779db504e4bfbf215cf (patch)
tree8db05c4a01500eb411d36feb918b951bccfbb234 /archivers/py-brotli
parentfdd688523642736cb1dbd27fb6fad064f26cad45 (diff)
downloadfreebsd-ports-gnome-b125c19eeb6b0e4a2e92d779db504e4bfbf215cf.tar.gz
freebsd-ports-gnome-b125c19eeb6b0e4a2e92d779db504e4bfbf215cf.tar.zst
freebsd-ports-gnome-b125c19eeb6b0e4a2e92d779db504e4bfbf215cf.zip
Fix shebang
- Bump PORTREVISION for package change PR: 217332 Submitted by: lifanov
Diffstat (limited to 'archivers/py-brotli')
-rw-r--r--archivers/py-brotli/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/archivers/py-brotli/Makefile b/archivers/py-brotli/Makefile
index 9ea68d44c7ff..cd3d07934699 100644
--- a/archivers/py-brotli/Makefile
+++ b/archivers/py-brotli/Makefile
@@ -3,7 +3,7 @@
PORTNAME= brotli
PORTVERSION= 0.5.2
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= archivers
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -16,10 +16,12 @@ LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
USE_PYTHON= autoplist concurrent distutils
-USES= compiler:c++0x python zip
+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