Lines 1-6
Link Here
|
1 |
PORTNAME= pocl |
1 |
PORTNAME= pocl |
2 |
DISTVERSIONPREFIX= v |
2 |
DISTVERSIONPREFIX= v |
3 |
DISTVERSION= 3.1 |
3 |
DISTVERSION= 4.0 |
4 |
CATEGORIES= lang |
4 |
CATEGORIES= lang |
5 |
|
5 |
|
6 |
MAINTAINER= ohartmann@walstatt.org |
6 |
MAINTAINER= ohartmann@walstatt.org |
Lines 22-28
USES= cmake localbase:ldflags ncurses pkgconfig
Link Here
|
22 |
USE_GITHUB= yes |
22 |
USE_GITHUB= yes |
23 |
USE_LDCONFIG= yes |
23 |
USE_LDCONFIG= yes |
24 |
|
24 |
|
25 |
LLVM_VERSION= ${MESA_LLVM_VER:U15} |
25 |
LLVM_VERSION= ${MESA_LLVM_VER:U16} |
26 |
CMAKE_ARGS= -DWITH_LLVM_CONFIG="${LOCALBASE}/llvm${LLVM_VERSION}/bin/llvm-config" \ |
26 |
CMAKE_ARGS= -DWITH_LLVM_CONFIG="${LOCALBASE}/llvm${LLVM_VERSION}/bin/llvm-config" \ |
27 |
-DPOCL_INSTALL_PKGCONFIG_DIR="${PREFIX}/libdata/pkgconfig" \ |
27 |
-DPOCL_INSTALL_PKGCONFIG_DIR="${PREFIX}/libdata/pkgconfig" \ |
28 |
-DSINGLE_LLVM_LIB=ON \ |
28 |
-DSINGLE_LLVM_LIB=ON \ |
Lines 40-46
OPTIONS_DEFINE= DOCS
Link Here
|
40 |
DOCS_DESC= Build documentation (needs textproc/py-sphinx) |
40 |
DOCS_DESC= Build documentation (needs textproc/py-sphinx) |
41 |
DOCS_CMAKE_ON= -DENABLE_DOCS=ON |
41 |
DOCS_CMAKE_ON= -DENABLE_DOCS=ON |
42 |
DOCS_CMAKE_OFF= -DENABLE_DOCS=OFF |
42 |
DOCS_CMAKE_OFF= -DENABLE_DOCS=OFF |
43 |
DOCS_USES= python |
43 |
DOCS_USES= python:3.6+ |
44 |
DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=0:textproc/py-sphinx@${PY_FLAVOR} |
44 |
DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=0:textproc/py-sphinx@${PY_FLAVOR} |
45 |
|
45 |
|
46 |
.include <bsd.port.options.mk> |
46 |
.include <bsd.port.options.mk> |