# Created by: O. Hartmann # $FreeBSD: head/devel/opencl/Makefile 568805 2021-03-19 16:46:49Z mat $ PORTNAME= opencl PORTVERSION= 3.0 CATEGORIES= devel PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ PATCHFILES+= d7283be010f2.patch:-p2 # https://github.com/KhronosGroup/OpenCL-Headers/pull/93 MAINTAINER= ohartmann@walstatt.org COMMENT= Open Computing Language (OpenCL) specifications V3.0 (header files) LICENSE= APACHE20 USE_GITHUB= yes GH_ACCOUNT= KhronosGroup GH_PROJECT= OpenCL-Headers OpenCL-CLHPP:clhpp GH_TAGNAME= ${HEADER_TAG} ${CLHPP_TAG}:clhpp # the header releases don't have tags yet, so use git commit for now HEADER_TAG= b04034a CLHPP_TAG= 64c206f # include missing CL/opencl.hpp NO_BUILD= yes NO_ARCH= yes WRKSRC_SUBDIR= CL do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/include/CL ${INSTALL_DATA} ${WRKSRC}/*.h ${STAGEDIR}${PREFIX}/include/CL ${INSTALL_DATA} ${WRKSRC_clhpp}/include/CL/*.hpp \ ${STAGEDIR}${PREFIX}/include/CL .include