Lines 1-42
Link Here
|
1 |
# Created by: Koop Mast <kwm@FreeBSD.org> |
1 |
PORTNAME= ocl-icd |
2 |
# $FreeBSD$ |
2 |
PORTVERSION= 2.2.13 |
|
|
3 |
DISTVERSIONPREFIX= v |
4 |
CATEGORIES= devel |
3 |
|
5 |
|
4 |
PORTNAME= ocl-icd |
6 |
MAINTAINER= ohartmann@walstatt.org |
5 |
PORTVERSION= 2.2.12 |
7 |
COMMENT= OpenCL Installable Client Driver |
6 |
CATEGORIES= devel |
|
|
7 |
MASTER_SITES= https://forge.imag.fr/frs/download.php/${REVID}/ |
8 |
|
8 |
|
9 |
MAINTAINER= ohartmann@walstatt.org |
9 |
LICENSE= BSD2CLAUSE |
10 |
COMMENT= OpenCL Installable Client Driver |
10 |
LICENSE_FILE= ${WRKSRC}/COPYING |
11 |
|
11 |
|
12 |
LICENSE= BSD2CLAUSE |
12 |
BUILD_DEPENDS= opencl>=3.0:devel/opencl |
13 |
|
13 |
|
14 |
BUILD_DEPENDS= opencl>=2.1:devel/opencl |
14 |
USE_GITHUB= yes |
|
|
15 |
GH_ACCOUNT= OCL-dev |
16 |
GH_PROJECT= ocl-icd |
15 |
|
17 |
|
16 |
CONFLICTS= freeocl-[0-9]* opencl-icd-[0-9]* |
18 |
USES= autoreconf gmake libtool localbase:ldflags pathfix |
17 |
|
19 |
|
18 |
USES= gmake libtool localbase:ldflags pathfix |
20 |
USE_RUBY= yes |
19 |
|
21 |
RUBY_NO_RUN_DEPENDS=yes |
20 |
USE_GITHUB= yes |
22 |
USE_LDCONFIG= yes |
21 |
USE_RUBY= yes |
|
|
22 |
RUBY_NO_RUN_DEPENDS= yes |
23 |
USE_LDCONFIG= yes |
24 |
GNU_CONFIGURE= yes |
23 |
GNU_CONFIGURE= yes |
25 |
REVID= 836 |
24 |
CPPFLAGS+= -DCL_TARGET_OPENCL_VERSION=300 |
26 |
|
25 |
|
27 |
INSTALL_TARGET= install-strip |
26 |
INSTALL_TARGET= install-strip |
28 |
|
27 |
|
29 |
CONFIGURE_ARGS+=--disable-official-khronos-headers \ |
28 |
CONFIGURE_ARGS+=--disable-official-khronos-headers \ |
30 |
--enable-custom-vendordir \ |
29 |
--enable-custom-vendordir \ |
31 |
--enable-pthread-once |
30 |
--enable-pthread-once |
32 |
|
31 |
|
33 |
OPTIONS_DEFINE= DOCS MANPAGES |
32 |
OPTIONS_DEFINE= DOCS YAMLUPD |
34 |
OPTIONS_DEFAULT=MANPAGES |
33 |
YAMLUPD_DESC= Check for inst. ICD, update YAML Db |
35 |
OPTIONS_SUB= yes |
34 |
OPTIONS_SUB= yes |
36 |
|
35 |
|
37 |
MANPAGES_BUILD_DEPENDS= xmlto:textproc/xmlto \ |
36 |
MANPAGES_BUILD_DEPENDS= xmlto:textproc/xmlto \ |
38 |
asciidoc:textproc/asciidoc |
37 |
asciidoc:textproc/asciidoc |
39 |
|
38 |
|
|
|
39 |
YAMLUPD_CONFIGURE_ENABLE= update-database |
40 |
|
40 |
post-patch: |
41 |
post-patch: |
41 |
@${REINPLACE_CMD} -e 's|/etc/|${LOCALBASE}/etc/|g' \ |
42 |
@${REINPLACE_CMD} -e 's|/etc/|${LOCALBASE}/etc/|g' \ |
42 |
${WRKSRC}/doc/libOpenCL.7.txt.in |
43 |
${WRKSRC}/doc/libOpenCL.7.txt.in |