blob: a0db5ecc5e12d34a86a256a1be9a908f77ed810e (
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
|
# Created by: Koop Mast <kwm@FreeBSD.org>
# $FreeBSD$
PORTNAME= ocl-icd
PORTVERSION= 2.2.7
CATEGORIES= devel
MASTER_SITES= https://forge.imag.fr/frs/download.php/667/
MAINTAINER= ohartman@zedat.fu-berlin.de
COMMENT= OpenCL Installable Client Driver
LICENSE= BSD2CLAUSE
BUILD_DEPENDS= opencl>=0:devel/opencl
CONFLICTS= freeocl-[0-9]* opencl-icd-[0-9]*
USE_RUBY= yes
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
RUBY_NO_RUN_DEPENDS=yes
USES= gmake libtool pathfix
INSTALL_TARGET= install-strip
CONFIGURE_ARGS+=--disable-official-khronos-headers
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
OPTIONS_DEFINE= 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
.include <bsd.port.mk>
|