summaryrefslogtreecommitdiff
path: root/devel/level-zero/Makefile
blob: 00fd8dba16597dbccd516045e0439a9dfc21b496 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23

PORTNAME=	level-zero
DISTVERSIONPREFIX=	v
DISTVERSION=	1.2.3
CATEGORIES=	devel

MAINTAINER=	jbeich@FreeBSD.org
COMMENT=	oneAPI Level Zero Specification Headers and Loader

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE

BUILD_DEPENDS=	${LOCALBASE}/include/CL/cl.h:devel/opencl

USES=		cmake compiler:c++14-lang
USE_GITHUB=	yes
USE_LDCONFIG=	yes
GH_ACCOUNT=	oneapi-src

post-extract:
	@${ECHO_CMD} ${DISTVERSION:E} >${WRKSRC}/VERSION_PATCH

.include <bsd.port.mk>