blob: 3ed25a0fe3f89fcb02593ac86b82eff15bd6e37a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# $FreeBSD$
PORTNAME= pyopencl
PORTVERSION= 2015.1
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= python@FreeBSD.org
COMMENT= Python wrapper for OpenCL
LICENSE= MIT
BUILD_DEPENDS= ${LOCALBASE}/include/CL/cl.h:${PORTSDIR}/devel/opencl \
${PYTHON_SITELIBDIR}/numpy/__init__.py:${PORTSDIR}/math/py-numpy
LIB_DEPENDS= libOpenCL.so:${PORTSDIR}/devel/ocl-icd
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/pytools/__init__.py:${PORTSDIR}/devel/py-pytools \
${PYTHON_SITELIBDIR}/numpy/__init__.py:${PORTSDIR}/math/py-numpy \
${PYTHON_SITELIBDIR}/mako/__init__.py:${PORTSDIR}/textproc/py-mako
USE_PYTHON= autoplist distutils
USES= python
CPPFLAGS+= -isystem ${LOCALBASE}/include
post-install:
${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME} -name '*.so' \
-exec ${STRIP_CMD} {} \;
.include <bsd.port.mk>
|