- Update MAINTAINER address - Define LICENSE as standard - Drop CONFLICTS against itself PR: 250562 Submitted by: O. Hartmann (maintainer)
36 lines
992 B
Makefile
36 lines
992 B
Makefile
# Created by: O. Hartmann <ohartmann@walstatt.org>
|
|
# $FreeBSD$
|
|
|
|
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= ${WRKDIR}/${GH_PROJECT}-${GH_TAGNAME}/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 <bsd.port.mk>
|