summaryrefslogtreecommitdiff
path: root/math/clfft/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'math/clfft/Makefile')
-rw-r--r--math/clfft/Makefile34
1 files changed, 34 insertions, 0 deletions
diff --git a/math/clfft/Makefile b/math/clfft/Makefile
new file mode 100644
index 000000000000..78a22fad9ea7
--- /dev/null
+++ b/math/clfft/Makefile
@@ -0,0 +1,34 @@
+# Created by: Johannes Dieterich <dieterich@ogolem.org>
+# $FreeBSD$
+
+PORTNAME= clfft
+PORTVERSION= 2.6.1
+DISTVERSIONPREFIX= v
+CATEGORIES= math
+
+MAINTAINER= dieterich@ogolem.org
+COMMENT= Software library containing FFT functions written in OpenCL
+
+LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= opencl>=0:${PORTSDIR}/devel/opencl
+LIB_DEPENDS= libOpenCL.so:${PORTSDIR}/devel/ocl-icd
+RUN_DEPENDS= opencl>=0:${PORTSDIR}/devel/opencl
+
+ONLY_FOR_ARCHS= amd64
+
+USE_GITHUB= yes
+GH_ACCOUNT= clMathLibraries
+GH_PROJECT= clFFT
+
+USE_LDCONFIG= yes
+USES= cmake
+
+CMAKE_ARGS+= -DBUILD_CLIENT=OFF \
+ -DBUILD_TEST=OFF \
+ -DSUFFIX_LIB=""
+
+CMAKE_SOURCE_PATH= ${WRKSRC}/src
+
+.include <bsd.port.mk>