|
Lines 2-10
Link Here
|
| 2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
| 3 |
|
3 |
|
| 4 |
PORTNAME= clpeak |
4 |
PORTNAME= clpeak |
| 5 |
DISTVERSION= 1.1.0-rc2 |
5 |
DISTVERSION= 1.1.0 |
| 6 |
CATEGORIES= benchmarks |
6 |
CATEGORIES= benchmarks |
| 7 |
|
7 |
|
|
|
8 |
PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ |
| 9 |
PATCHFILES+= db42d30028ba.patch:-p1 # https://github.com/krrishnarraj/clpeak/issues/73 |
| 10 |
|
| 8 |
MAINTAINER= jmd@FreeBSD.org |
11 |
MAINTAINER= jmd@FreeBSD.org |
| 9 |
COMMENT= Benchmarking tool to measure peak capabilities of opencl devices |
12 |
COMMENT= Benchmarking tool to measure peak capabilities of opencl devices |
| 10 |
|
13 |
|
|
Lines 20-25
GH_ACCOUNT= krrishnarraj
Link Here
|
| 20 |
USE_LDCONFIG= yes |
23 |
USE_LDCONFIG= yes |
| 21 |
PLIST_FILES= bin/clpeak |
24 |
PLIST_FILES= bin/clpeak |
| 22 |
|
25 |
|
|
|
26 |
.if !empty(PATCHFILES:Mdb42d30028ba*) |
| 27 |
pre-patch: |
| 28 |
@${REINPLACE_CMD} -e '/GIT_TAG/s/master/opencl21/' \ |
| 29 |
${WRKSRC}/cmake/BuildCLHpp.cmake |
| 30 |
.endif |
| 31 |
|
| 23 |
post-patch: |
32 |
post-patch: |
| 24 |
@${REINPLACE_CMD} '/install.*LICENSE/d' ${WRKSRC}/CMakeLists.txt |
33 |
@${REINPLACE_CMD} '/install.*LICENSE/d' ${WRKSRC}/CMakeLists.txt |
| 25 |
|
34 |
|