aboutsummaryrefslogtreecommitdiffstats
path: root/math/clfft/Makefile
blob: 2f2c049bab620cc9846002d51c735c12e120ab9a (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
31
32
33
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>