blob: a6e08e4163bb6648fa96b45890c3a8672b5d8b15 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
|
PORTNAME= inko
DISTVERSIONPREFIX= v
DISTVERSION= 0.17.1
PORTREVISION= 3
CATEGORIES= lang devel
MAINTAINER= yuri@FreeBSD.org
COMMENT= Language for building concurrent software
WWW= https://inko-lang.org/ \
https://github.com/inko-lang/inko
LICENSE= MPL20
LICENSE_FILE= ${WRKSRC}/LICENSE
NOT_FOR_ARCHS= armv6 armv7 i386 mips powerpc # build fails on non-64-bit architectures: Inko requires a 64-bits architecture
LIB_DEPENDS= libffi.so:devel/libffi
USES= cargo llvm:17,lib localbase:ldflags
USE_GITHUB= yes
GH_ACCOUNT= inko-lang
MAKE_ENV= LLVM_SYS_170_PREFIX=${LLVM_PREFIX} \
INKO_RT=${PREFIX}/lib/inko/runtime \
INKO_STD=${PREFIX}/lib/inko
CARGO_CRATES= addr2line-0.24.1 \
adler2-2.0.0 \
anyhow-1.0.88 \
arrayref-0.3.8 \
arrayvec-0.7.6 \
autocfg-1.3.0 \
backtrace-0.3.74 \
base64-0.22.1 \
bitflags-2.6.0 \
blake3-1.5.4 \
bstr-1.10.0 \
byteorder-1.5.0 \
cc-1.1.18 \
cfg-if-1.0.0 \
console-0.15.8 \
constant_time_eq-0.3.1 \
core-foundation-0.9.4 \
core-foundation-sys-0.8.7 \
crc32fast-1.4.2 \
crossbeam-queue-0.3.11 \
crossbeam-utils-0.8.20 \
either-1.13.0 \
encode_unicode-0.3.6 \
equivalent-1.0.1 \
errno-0.3.9 \
filetime-0.2.25 \
flate2-1.0.33 \
fnv-1.0.7 \
form_urlencoded-1.2.1 \
getopts-0.2.21 \
getrandom-0.2.15 \
gimli-0.31.0 \
hashbrown-0.15.0 \
idna-0.5.0 \
indexmap-2.6.0 \
inkwell-0.5.0 \
inkwell_internals-0.10.0 \
lazy_static-1.5.0 \
libc-0.2.158 \
libredox-0.1.3 \
linux-raw-sys-0.4.14 \
llvm-sys-170.2.0 \
log-0.4.22 \
memchr-2.7.4 \
miniz_oxide-0.8.0 \
num-bigint-0.4.6 \
num-integer-0.1.46 \
num-traits-0.2.19 \
object-0.36.4 \
once_cell-1.19.0 \
openssl-probe-0.1.5 \
percent-encoding-2.3.1 \
ppv-lite86-0.2.20 \
proc-macro2-1.0.86 \
quote-1.0.37 \
rand-0.8.5 \
rand_chacha-0.3.1 \
rand_core-0.6.4 \
redox_syscall-0.5.4 \
regex-automata-0.4.7 \
regex-lite-0.1.6 \
ring-0.17.8 \
rustc-demangle-0.1.24 \
rustix-0.38.37 \
rustls-0.23.13 \
rustls-native-certs-0.7.3 \
rustls-pemfile-2.1.3 \
rustls-pki-types-1.8.0 \
rustls-webpki-0.102.8 \
schannel-0.1.24 \
security-framework-2.11.1 \
security-framework-sys-2.11.1 \
semver-1.0.23 \
serde-1.0.210 \
serde_derive-1.0.210 \
shlex-1.3.0 \
similar-2.6.0 \
similar-asserts-1.6.0 \
spin-0.9.8 \
subtle-2.6.1 \
syn-2.0.77 \
tar-0.4.41 \
thiserror-1.0.63 \
thiserror-impl-1.0.63 \
tinyvec-1.8.0 \
tinyvec_macros-0.1.1 \
unicode-bidi-0.3.15 \
unicode-ident-1.0.13 \
unicode-normalization-0.1.23 \
unicode-segmentation-1.11.0 \
unicode-width-0.1.13 \
untrusted-0.9.0 \
ureq-2.10.1 \
url-2.5.2 \
wasi-0.11.0+wasi-snapshot-preview1 \
webpki-roots-0.26.5 \
windows-sys-0.52.0 \
windows-sys-0.59.0 \
windows-targets-0.52.6 \
windows_aarch64_gnullvm-0.52.6 \
windows_aarch64_msvc-0.52.6 \
windows_i686_gnu-0.52.6 \
windows_i686_gnullvm-0.52.6 \
windows_i686_msvc-0.52.6 \
windows_x86_64_gnu-0.52.6 \
windows_x86_64_gnullvm-0.52.6 \
windows_x86_64_msvc-0.52.6 \
zerocopy-0.7.35 \
zerocopy-derive-0.7.35 \
zeroize-1.8.1
do-install:
# executable
${INSTALL_PROGRAM} ${WRKDIR}/target/release/inko ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
# runtime library
${MKDIR} ${STAGEDIR}${PREFIX}/lib/inko/runtime
${INSTALL_DATA} ${WRKDIR}/target/release/libinko.a ${STAGEDIR}${PREFIX}/lib/inko/runtime
# standard library
cd ${WRKSRC}/std/src && ${COPYTREE_SHARE} std ${STAGEDIR}${PREFIX}/lib/inko
.include <bsd.port.mk>
|