mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-17 03:25:46 +00:00
9a1f45d861
- Add LICENSE_FILE - Remove outdated PORTSCOUT - Re-enable SZIP option by default: it was changed unintentionally in r398300 Changes: https://www.hdfgroup.org/ftp/HDF5/releases/hdf5-1.10/hdf5-1.10.0/src/hdf5-1.10.0-RELEASE.txt https://www.hdfgroup.org/HDF5/doc/ADGuide/Changes.html
44 lines
1.0 KiB
Makefile
44 lines
1.0 KiB
Makefile
# Created by: ijliao@FreeBSD.org
|
|
# $FreeBSD$
|
|
|
|
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 <bsd.port.mk>
|