aboutsummaryrefslogtreecommitdiff
path: root/net/py-pysendfile
diff options
context:
space:
mode:
authorLi-Wen Hsu <lwhsu@FreeBSD.org>2017-03-30 02:40:48 +0000
committerLi-Wen Hsu <lwhsu@FreeBSD.org>2017-03-30 02:40:48 +0000
commit76253b56f1f0fc22ba1e9e8b2fcba46676f161f7 (patch)
treef2c94c5689711f3e9fd8cfbf87fcf620192c66bb /net/py-pysendfile
parentd544c46db120a383f9733c684c4562d2260481b0 (diff)
downloadports-76253b56f1f0fc22ba1e9e8b2fcba46676f161f7.tar.gz
ports-76253b56f1f0fc22ba1e9e8b2fcba46676f161f7.zip
Notes
Diffstat (limited to 'net/py-pysendfile')
-rw-r--r--net/py-pysendfile/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/net/py-pysendfile/Makefile b/net/py-pysendfile/Makefile
index 84dbfad1bb87..95a9881d98cd 100644
--- a/net/py-pysendfile/Makefile
+++ b/net/py-pysendfile/Makefile
@@ -3,6 +3,7 @@
PORTNAME= pysendfile
PORTVERSION= 2.0.1
+PORTREVISION= 1
CATEGORIES= net python devel
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -11,10 +12,14 @@ MAINTAINER= koobs@FreeBSD.org
COMMENT= Python interface to sendfile(2)
LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
CONFLICTS_INSTALL= py*-sendfile-[0-9]*
USES= python
USE_PYTHON= distutils autoplist
+post-install:
+ @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/sendfile.so
+
.include <bsd.port.mk>