aboutsummaryrefslogtreecommitdiff
path: root/science/py-h5py/Makefile
diff options
context:
space:
mode:
authorTobias C. Berner <tcberner@FreeBSD.org>2017-06-03 18:03:40 +0000
committerTobias C. Berner <tcberner@FreeBSD.org>2017-06-03 18:03:40 +0000
commit0e927c0281d5ceb4049a4d5cbc66d7e33cb966fa (patch)
treea7cbb9f5f17166781d8db8ccf59ade4fe6a849b8 /science/py-h5py/Makefile
parentb39be632ee2b66424cf171d92cb0a6c38b0dde4b (diff)
downloadports-0e927c0281d5ceb4049a4d5cbc66d7e33cb966fa.tar.gz
ports-0e927c0281d5ceb4049a4d5cbc66d7e33cb966fa.zip
Notes
Diffstat (limited to 'science/py-h5py/Makefile')
-rw-r--r--science/py-h5py/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/science/py-h5py/Makefile b/science/py-h5py/Makefile
index 37d6be8e27c0..6e0e4ae7ed4c 100644
--- a/science/py-h5py/Makefile
+++ b/science/py-h5py/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= h5py
-PORTVERSION= 2.6.0
-PORTREVISION= 1
+PORTVERSION= 2.7.0
CATEGORIES= science python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -32,6 +31,9 @@ PORTEXAMPLES= multiprocessing_example.py swmr_multiprocess.py \
OPTIONS_DEFINE= DOCS EXAMPLES
+post-patch:
+ ${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/setup_build.py
+
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.rst ${STAGEDIR}${DOCSDIR}