mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-22 00:35:15 +00:00
ad5dabfa21
PR: ports/187897 Submitted by: maintainer
43 lines
1.1 KiB
Makefile
43 lines
1.1 KiB
Makefile
# Created by: Oliver Hartmann <ohartman@zedat.fu-berlin.de>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= opencl
|
|
PORTVERSION= 2.0
|
|
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 V2.0 (header files)
|
|
|
|
LICENSE= unknown
|
|
LICENSE_NAME= BSD-esque license agreement
|
|
LICENSE_TEXT= License is included in each of the header files of this port
|
|
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
|
|
|
|
CONFLICTS= opencl-1.[0-1]
|
|
|
|
NO_BUILD= yes
|
|
|
|
PLIST_DIRS+= include/CL
|
|
.for f in ${DISTFILES}
|
|
PLIST_FILES+=include/CL/$f
|
|
.endfor
|
|
|
|
pre-patch:
|
|
@${MKDIR} ${WRKSRC}
|
|
.for f in ${DISTFILES}
|
|
${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/$f ${WRKSRC}/
|
|
.endfor
|
|
|
|
do-install:
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/include/CL
|
|
.for f in ${DISTFILES}
|
|
${INSTALL_DATA} ${WRKSRC}/$f ${STAGEDIR}${PREFIX}/include/CL
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|