blob: adbfabc833f12bc726450bc3eb4ef5cade96c049 (
plain)
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
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
|
# $FreeBSD$
PORTNAME= rust-analyzer
DISTVERSION= 2020-07-27
PORTREVISION= 2
CATEGORIES= devel
MAINTAINER= tobik@FreeBSD.org
COMMENT= Experimental Rust compiler front-end for IDEs
LICENSE= APACHE20 MIT
LICENSE_COMB= dual
LICENSE_FILE_APACHE20= ${WRKSRC}/LICENSE-APACHE
LICENSE_FILE_MIT= ${WRKSRC}/LICENSE-MIT
USES= cargo
USE_GITHUB= yes
CARGO_CRATES= addr2line-0.13.0 \
adler-0.2.3 \
aho-corasick-0.7.13 \
ansi_term-0.12.1 \
anyhow-1.0.32 \
anymap-0.12.1 \
arrayvec-0.5.1 \
atty-0.2.14 \
autocfg-1.0.0 \
backtrace-0.3.50 \
base64-0.12.3 \
bitflags-1.2.1 \
byteorder-1.3.4 \
cargo_metadata-0.10.0 \
cc-1.0.58 \
cfg-if-0.1.10 \
chalk-derive-0.18.0 \
chalk-ir-0.18.0 \
chalk-recursive-0.18.0 \
chalk-solve-0.18.0 \
chrono-0.4.13 \
cloudabi-0.1.0 \
cmake-0.1.44 \
crc32fast-1.2.0 \
crossbeam-channel-0.4.3 \
crossbeam-deque-0.7.3 \
crossbeam-epoch-0.8.2 \
crossbeam-queue-0.2.3 \
crossbeam-utils-0.7.2 \
difference-2.0.0 \
drop_bomb-0.1.4 \
either-1.5.3 \
ena-0.14.0 \
env_logger-0.7.1 \
filetime-0.2.10 \
fixedbitset-0.2.0 \
flate2-1.0.16 \
fsevent-2.0.2 \
fsevent-sys-3.0.2 \
fst-0.4.4 \
fuchsia-zircon-0.3.3 \
fuchsia-zircon-sys-0.3.3 \
getrandom-0.1.14 \
gimli-0.22.0 \
goblin-0.2.3 \
hashbrown-0.8.1 \
heck-0.3.1 \
hermit-abi-0.1.15 \
home-0.5.3 \
idna-0.2.0 \
indexmap-1.5.0 \
inotify-0.8.3 \
inotify-sys-0.1.3 \
instant-0.1.6 \
iovec-0.1.4 \
itertools-0.9.0 \
itoa-0.4.6 \
jod-thread-0.1.2 \
kernel32-sys-0.2.2 \
lazy_static-1.4.0 \
lazycell-1.2.1 \
libc-0.2.73 \
libloading-0.6.2 \
libmimalloc-sys-0.1.15 \
lock_api-0.4.1 \
log-0.4.11 \
lsp-server-0.3.3 \
lsp-types-0.78.0 \
matchers-0.0.1 \
matches-0.1.8 \
maybe-uninit-2.0.0 \
memchr-2.3.3 \
memmap-0.7.0 \
memoffset-0.5.5 \
mimalloc-0.1.19 \
miniz_oxide-0.4.0 \
mio-0.6.22 \
mio-extras-2.0.6 \
miow-0.2.1 \
net2-0.2.34 \
notify-5.0.0-pre.3 \
num-integer-0.1.43 \
num-traits-0.2.12 \
num_cpus-1.13.0 \
object-0.20.0 \
once_cell-1.4.0 \
parking_lot-0.11.0 \
parking_lot_core-0.8.0 \
percent-encoding-2.1.0 \
petgraph-0.5.1 \
pico-args-0.3.3 \
plain-0.2.3 \
ppv-lite86-0.2.8 \
proc-macro2-1.0.19 \
quote-1.0.7 \
rand-0.7.3 \
rand_chacha-0.2.2 \
rand_core-0.5.1 \
rand_hc-0.2.0 \
rand_pcg-0.2.1 \
rayon-1.3.1 \
rayon-core-1.7.1 \
redox_syscall-0.1.57 \
regex-1.3.9 \
regex-automata-0.1.9 \
regex-syntax-0.6.18 \
rowan-0.10.0 \
rustc-ap-rustc_lexer-669.0.0 \
rustc-demangle-0.1.16 \
rustc-hash-1.1.0 \
ryu-1.0.5 \
salsa-0.15.0 \
salsa-macros-0.15.0 \
same-file-1.0.6 \
scoped-tls-1.0.0 \
scopeguard-1.1.0 \
scroll-0.10.1 \
scroll_derive-0.10.2 \
semver-0.9.0 \
semver-parser-0.7.0 \
serde-1.0.114 \
serde_derive-1.0.114 \
serde_json-1.0.57 \
serde_repr-0.1.6 \
sharded-slab-0.0.9 \
slab-0.4.2 \
smallvec-1.4.1 \
smol_str-0.1.16 \
syn-1.0.36 \
synstructure-0.12.4 \
termcolor-1.1.0 \
text-size-1.0.0 \
thin-dst-1.1.0 \
thread_local-1.0.1 \
threadpool-1.8.1 \
time-0.1.43 \
tinyvec-0.3.3 \
tracing-0.1.17 \
tracing-attributes-0.1.9 \
tracing-core-0.1.11 \
tracing-log-0.1.1 \
tracing-serde-0.1.1 \
tracing-subscriber-0.2.9 \
tracing-tree-0.1.4 \
unicode-bidi-0.3.4 \
unicode-normalization-0.1.13 \
unicode-segmentation-1.6.0 \
unicode-xid-0.2.1 \
url-2.1.1 \
walkdir-2.3.1 \
wasi-0.9.0+wasi-snapshot-preview1 \
winapi-0.2.8 \
winapi-0.3.9 \
winapi-build-0.1.1 \
winapi-i686-pc-windows-gnu-0.4.0 \
winapi-util-0.1.5 \
winapi-x86_64-pc-windows-gnu-0.4.0 \
ws2_32-sys-0.2.1
CARGO_INSTALL_PATH= crates/rust-analyzer
# attempts to install rustup toolchains
NO_TEST= yes
PLIST_FILES= bin/rust-analyzer
PORTDOCS= *
OPTIONS_DEFINE= DOCS
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/rust-analyzer
post-install-DOCS-on:
@cd ${WRKSRC}/docs && \
${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|