Lines 3-29
Link Here
|
3 |
|
3 |
|
4 |
PORTNAME= freeocl |
4 |
PORTNAME= freeocl |
5 |
PORTVERSION= 0.3.6 |
5 |
PORTVERSION= 0.3.6 |
6 |
PORTREVISION= 5 |
6 |
PORTREVISION= 6 |
7 |
CATEGORIES= devel |
7 |
CATEGORIES= devel |
8 |
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} |
8 |
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} |
9 |
DISTNAME= FreeOCL-${PORTVERSION}-src |
9 |
DISTNAME= FreeOCL-${PORTVERSION}-src |
10 |
|
10 |
|
11 |
MAINTAINER= ohartman@zedat.fu-berlin.de |
11 |
MAINTAINER= ohartman@zedat.fu-berlin.de |
12 |
COMMENT= Free Open Computing Language (OpenCL) implementation for CPU |
12 |
COMMENT= Free implementation of OpenCL 1.2 for CPUs |
13 |
|
13 |
|
|
|
14 |
LICENSE= LGPL3 |
15 |
|
16 |
CONFLICTS= ocl-icd[0-9]* opencl-icd[0-9]* pocl[0-9]* |
17 |
|
14 |
BUILD_DEPENDS= ${LOCALBASE}/lib/libatomic_ops.a:${PORTSDIR}/devel/libatomic_ops \ |
18 |
BUILD_DEPENDS= ${LOCALBASE}/lib/libatomic_ops.a:${PORTSDIR}/devel/libatomic_ops \ |
15 |
${LOCALBASE}/include/CL/opencl.h:${PORTSDIR}/devel/opencl |
19 |
${LOCALBASE}/include/CL/opencl.h:${PORTSDIR}/devel/opencl |
16 |
|
20 |
|
17 |
LICENSE= LGPL3 |
|
|
18 |
|
19 |
WRKSRC= ${WRKDIR}/FreeOCL-${PORTVERSION}-Source |
21 |
WRKSRC= ${WRKDIR}/FreeOCL-${PORTVERSION}-Source |
20 |
|
22 |
|
21 |
USE_GCC= yes |
23 |
USE_GCC= any |
22 |
USES= cmake |
24 |
USES= cmake |
23 |
USE_LDCONFIG= yes |
25 |
USE_LDCONFIG= yes |
24 |
|
26 |
|
|
|
27 |
CXXFLAGS+= -pthread -std=gnu++0x |
28 |
CMAKE_ENV+= FREEOCL_CXX_COMPILER="${CXX}" |
29 |
|
25 |
post-patch: |
30 |
post-patch: |
26 |
${REINPLACE_CMD} -e 's:%%PREFIX%%:${PREFIX}:g' ${WRKSRC}/src/icd/icd_loader.cpp \ |
31 |
@${REINPLACE_CMD} -e 's:%%PREFIX%%:${PREFIX}:g' ${WRKSRC}/src/icd/icd_loader.cpp \ |
27 |
${WRKSRC}/CMakeLists.txt |
32 |
${WRKSRC}/CMakeLists.txt |
28 |
|
33 |
|
29 |
.include <bsd.port.mk> |
34 |
.include <bsd.port.mk> |