Lines 1-5
Link Here
|
1 |
PORTNAME= libclc |
1 |
PORTNAME= libclc |
2 |
DISTVERSION= ${DISTVERSION_${FLAVOR}} |
2 |
DISTVERSION= ${DISTVERSION_${FLAVOR}} |
|
|
3 |
DISTVERSION_llvm19= 19.1.2 |
3 |
DISTVERSION_llvm18= 18.1.8 |
4 |
DISTVERSION_llvm18= 18.1.8 |
4 |
DISTVERSION_llvm17= 17.0.6 |
5 |
DISTVERSION_llvm17= 17.0.6 |
5 |
DISTVERSION_llvm16= 16.0.6 |
6 |
DISTVERSION_llvm16= 16.0.6 |
Lines 21-27
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
Link Here
|
21 |
BUILD_DEPENDS= spirv-llvm-translator-${FLAVOR}>0:devel/spirv-llvm-translator@${FLAVOR} \ |
22 |
BUILD_DEPENDS= spirv-llvm-translator-${FLAVOR}>0:devel/spirv-llvm-translator@${FLAVOR} \ |
22 |
libedit>=0:devel/libedit |
23 |
libedit>=0:devel/libedit |
23 |
|
24 |
|
24 |
FLAVORS= ${15 16 17 18:L:S/^/llvm/} |
25 |
FLAVORS= ${15 16 17 18 19:L:S/^/llvm/} |
25 |
|
26 |
|
26 |
USES= cmake compiler:c++11-lib llvm:${FLAVOR:S/llvm//},build python:build tar:xz |
27 |
USES= cmake compiler:c++11-lib llvm:${FLAVOR:S/llvm//},build python:build tar:xz |
27 |
USE_LDCONFIG= ${PREFIX}/${FLAVOR}/lib |
28 |
USE_LDCONFIG= ${PREFIX}/${FLAVOR}/lib |
Lines 35-42
NO_ARCH= yes
Link Here
|
35 |
|
36 |
|
36 |
.include <bsd.port.pre.mk> |
37 |
.include <bsd.port.pre.mk> |
37 |
|
38 |
|
38 |
PLIST_SUB+= ${FLAVORS:N${FLAVOR}:@v@${v:tu}="\@comment "@} |
39 |
.for i in ${FLAVORS:S/llvm//} |
39 |
PLIST_SUB+= ${FLAVOR:tu}="" |
40 |
.if ${i} <= ${FLAVOR:S/llvm//} |
|
|
41 |
PLIST_SUB+= ${i:S/^/llvm/:tu}="" |
42 |
.else |
43 |
PLIST_SUB+= ${i:S/^/llvm/:tu}="@comment " |
44 |
.endif |
45 |
.endfor |
40 |
PLIST_SUB+= LLVM_VERSION=${FLAVOR} |
46 |
PLIST_SUB+= LLVM_VERSION=${FLAVOR} |
41 |
|
47 |
|
42 |
.include <bsd.port.post.mk> |
48 |
.include <bsd.port.post.mk> |