aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2015-10-16 02:32:08 +0800
committerjkim <jkim@FreeBSD.org>2015-10-16 02:32:08 +0800
commit0bceb0f2815e5d91945694d89af2912e5bc0473e (patch)
tree1400abaa57e9d5aa85a0728eb91b0e190deebbdd /devel
parentf5a018352371f423b1cc0066fb57ff55c1acce1f (diff)
downloadfreebsd-ports-gnome-0bceb0f2815e5d91945694d89af2912e5bc0473e.tar.gz
freebsd-ports-gnome-0bceb0f2815e5d91945694d89af2912e5bc0473e.tar.zst
freebsd-ports-gnome-0bceb0f2815e5d91945694d89af2912e5bc0473e.zip
Prefer package name references over file names.
Requested by: koobs
Diffstat (limited to 'devel')
-rw-r--r--devel/py-pyopencl/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/devel/py-pyopencl/Makefile b/devel/py-pyopencl/Makefile
index 3ed25a0fe3f8..bc1f141c5057 100644
--- a/devel/py-pyopencl/Makefile
+++ b/devel/py-pyopencl/Makefile
@@ -12,11 +12,11 @@ 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
+ ${PYTHON_PKGNAMEPREFIX}numpy>0:${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
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytools>0:${PORTSDIR}/devel/py-pytools \
+ ${PYTHON_PKGNAMEPREFIX}numpy>0:${PORTSDIR}/math/py-numpy \
+ ${PYTHON_PKGNAMEPREFIX}mako>0:${PORTSDIR}/textproc/py-mako
USE_PYTHON= autoplist distutils
USES= python