aboutsummaryrefslogtreecommitdiffstats
path: root/devel/opencl/Makefile
blob: 46ce036c833b4131374ed51907c0c995c0e913b6 (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
# Created by: Oliver Hartmann <ohartman@zedat.fu-berlin.de>
# $FreeBSD$

PORTNAME=   opencl
PORTVERSION=    1.2
PORTREVISION=   2
CATEGORIES= devel
MASTER_SITES=   http://www.khronos.org/registry/cl/api/${PORTVERSION}/
DISTFILES=  opencl.h cl_platform.h cl.h cl_ext.h cl_dx9_media_sharing.h \
        cl_d3d10.h cl_d3d11.h  cl_gl.h cl_gl_ext.h cl.hpp
DIST_SUBDIR=    ${PORTNAME}
EXTRACT_ONLY=

MAINTAINER= ohartman@zedat.fu-berlin.de
COMMENT=    Open Computing Language (OpenCL) specifications V1.2

CONFLICTS=  opencl-1.[0-1]

NO_BUILD=   yes
NO_WRKSUBDIR=   yes

PLIST_DIRS= include/CL
.for f in ${DISTFILES}
PLIST_FILES+=include/CL/$f
.endfor

do-install:
        ${MKDIR} ${PREFIX}/include/CL
        ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/*.h  ${PREFIX}/include/CL
        ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/*.hpp  ${PREFIX}/include/CL

.include <bsd.port.mk>