Lines 11-24
Link Here
|
11 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
11 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
12 |
|
12 |
|
13 |
BUILD_DEPENDS= clang${LLVM_VERSION}:devel/llvm${LLVM_VERSION} |
13 |
BUILD_DEPENDS= clang${LLVM_VERSION}:devel/llvm${LLVM_VERSION} |
|
|
14 |
BUILD_DEPENDS+= ${LOCALBASE}/lib/cmake/libxml2/libxml2-config.cmake:textproc/libxml |
14 |
RUN_DEPENDS= clang${LLVM_VERSION}:devel/llvm${LLVM_VERSION} |
15 |
RUN_DEPENDS= clang${LLVM_VERSION}:devel/llvm${LLVM_VERSION} |
|
|
16 |
RUN_DEPENDS+= ${LOCALBASE}/lib/libxml2.so:textproc/libxml2 |
15 |
|
17 |
|
|
|
18 |
OPTIONS_DEFINE= DOCS |
19 |
OPTIONS_SUB= yes |
20 |
|
21 |
LLVM_DESC?= LLVM Version |
22 |
OPTIONS_RADIO= LLVM |
23 |
OPTIONS_RADIO_LLVM= LLVM_DEVEL LLVM_70 LLVM_60 LLVM_50 LLVM_40 |
24 |
|
25 |
LLVM_DEVEL_DESC= llvm-devel |
26 |
LLVM_DEVEL_VARS= LLVM_VERSION=-devel |
27 |
|
28 |
LLVM_70_DESC= LLVM 7 |
29 |
LLVM_70_VARS= LLVM_VERSION=70 |
30 |
|
31 |
LLVM_60_DESC= LLVM 6 |
32 |
LLVM_60_VARS= LLVM_VERSION=60 |
33 |
|
34 |
LLVM_50_DESC= LLVM 5 |
35 |
LLVM_50_VARS= LLVM_VERSION=50 |
36 |
|
37 |
LLVM_40_DESC= LLVM 4 |
38 |
LLVM_40_VARS= LLVM_VERSION=40 |
39 |
|
40 |
DOCS_BUILD_DEPENDS= ${LOCALBASE}/bin/sphinx-build:textproc/py-sphinx |
41 |
DOCS_CMAKE_BOOL= SPHINX_MAN |
42 |
DOCS_CMAKE_ON= -DSPHINX_EXECUTABLE=${LOCALBASE}/bin/sphinx-build |
43 |
|
44 |
OPTIONS_DEFAULT= DOCS LLVM_60 |
45 |
|
16 |
USES= cmake:outsource |
46 |
USES= cmake:outsource |
17 |
USE_GITHUB= yes |
47 |
USE_GITHUB= yes |
18 |
GH_ACCOUNT= CastXML |
48 |
GH_ACCOUNT= CastXML |
19 |
GH_PROJECT= CastXML |
49 |
GH_PROJECT= CastXML |
20 |
GH_TAGNAME= a345f62 |
50 |
GH_TAGNAME= a345f62 |
21 |
LLVM_VERSION= 60 |
|
|
22 |
|
51 |
|
23 |
CMAKE_ARGS= -DLLVM_DIR:STRING=${LOCALBASE}/llvm${LLVM_VERSION}/lib/cmake/llvm |
52 |
CMAKE_ARGS= -DLLVM_DIR:STRING=${LOCALBASE}/llvm${LLVM_VERSION}/lib/cmake/llvm |
24 |
|
53 |
|