diff options
Diffstat (limited to 'science/py-h5py/Makefile')
-rw-r--r-- | science/py-h5py/Makefile | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/science/py-h5py/Makefile b/science/py-h5py/Makefile index d0a1d92af4f1..d6881c5de55b 100644 --- a/science/py-h5py/Makefile +++ b/science/py-h5py/Makefile @@ -2,26 +2,37 @@ # $FreeBSD$ PORTNAME= h5py -PORTVERSION= 2.1.1 +PORTVERSION= 2.2.0 CATEGORIES= science python MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} -MAINTAINER= fmysh@iijmio-mail.jp +MAINTAINER= xmj@chaot.net COMMENT= General-purpose Python interface to the HDF5 library +LICENSE= BSD + BUILD_DEPENDS= ${PYNUMPY} RUN_DEPENDS= ${PYNUMPY} LIB_DEPENDS= libhdf5.so:${PORTSDIR}/science/hdf5-18 USE_PYTHON= yes USE_PYDISTUTILS= yes + PYDISTUTILS_AUTOPLIST= yes +PORTDOCS= README.rst + +OPTIONS_DEFINE= DOCS + post-patch: ${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \ ${WRKSRC}/setup.py +post-install: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} + regression-test: build @cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test |