1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-13 07:34:50 +00:00
freebsd-ports/math/py-yt/Makefile
Kirill Ponomarev 9ee3418b7e Update math/py-yt to 3.3.5
PR:		217942
Submitted by:	maintainer
Approved by:	mat (mentor)
Differential Revision:	https://reviews.freebsd.org/D10076
2017-03-22 18:10:50 +00:00

33 lines
867 B
Makefile

# Created by: Yuri Victorovich <yuri@rawbw.com>
# $FreeBSD$
PORTNAME= yt
PORTVERSION= 3.3.5
CATEGORIES= math astro python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= yuri@rawbw.com
COMMENT= Analysis and visualization toolkit for volumetric data
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/COPYING.txt
BUILD_DEPENDS= cython:lang/cython \
${PYNUMPY}
RUN_DEPENDS= isympy:math/py-sympy \
${PYNUMPY} \
${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib \
${PYTHON_PKGNAMEPREFIX}ipython>0:devel/ipython
LIB_DEPENDS= libembree.so:graphics/embree \
libomp.so:devel/openmp
USES= dos2unix localbase python
USE_PYTHON= autoplist distutils
post-patch:
@${REINPLACE_CMD} -e "s|\['-fopenmp', filename\]|['-I${LOCALBASE}/include', '-L${LOCALBASE}/lib', '-lm', '-fopenmp', filename]|" \
${WRKSRC}/setupext.py
.include <bsd.port.mk>