blob: 7a44fb72b744091b44faf43116821f089442a0d1 (
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
33
34
35
36
37
38
39
40
41
|
PORTNAME= ocl-icd
DISTVERSIONPREFIX= v
PORTVERSION= 2.3.1
CATEGORIES= devel
MAINTAINER= ohartmann@walstatt.org
COMMENT= OpenCL Installable Client Driver
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= opencl>3.0:devel/opencl
USES= autoreconf gmake libtool localbase:ldflags pathfix
USE_GITHUB= yes
GH_ACCOUNT= OCL-dev
USE_RUBY= yes
RUBY_NO_RUN_DEPENDS= yes
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CPPFLAGS+= -DCL_TARGET_OPENCL_VERSION=300
INSTALL_TARGET= install-strip
CONFIGURE_ARGS+=--disable-official-khronos-headers \
--enable-custom-vendordir \
--enable-pthread-once
OPTIONS_DEFINE= DOCS MANPAGES
OPTIONS_DEFAULT=MANPAGES
OPTIONS_SUB= yes
MANPAGES_BUILD_DEPENDS= xmlto:textproc/xmlto \
asciidoc:textproc/asciidoc
post-patch:
@${REINPLACE_CMD} -e 's|/etc/|${LOCALBASE}/etc/|g' \
${WRKSRC}/doc/libOpenCL.7.txt.in
.include <bsd.port.mk>
|