# Created by: ijliao@FreeBSD.org # $FreeBSD: head/devel/py-tables/Makefile 413700 2016-04-20 20:42:39Z sunpoet $ PORTNAME= tables PORTVERSION= 3.2.2 PORTREVISION= 1 CATEGORIES= devel python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= wen@FreeBSD.org COMMENT= Hierarchical database for Python LICENSE= BSD3CLAUSE BUILD_DEPENDS= ${PYNUMPY} \ ${LOCALBASE}/bin/cython:lang/cython \ ${PYTHON_PKGNAMEPREFIX}numexpr>=1.4.1:math/py-numexpr LIB_DEPENDS= libhdf5.so:science/hdf5 \ liblzo2.so:archivers/lzo2 \ libucl.so:archivers/ucl RUN_DEPENDS:= ${BUILD_DEPENDS} USES= fortran python USE_PYTHON= autoplist distutils PORTEXAMPLES= * OPTIONS_DEFINE= PYREX EXAMPLES PYREX_DESC= Use code generated by Pyrex to build PYREX_BUILD_DEPENDS= pyrex>0:devel/pyrex post-patch: @${REINPLACE_CMD} -e "s,%%LOCALBASE%%,${LOCALBASE}," ${WRKSRC}/setup.py post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/tables/*.so post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/examples/*.py ${STAGEDIR}${EXAMPLESDIR} .include