Changes: https://github.com/rust-lang/rust/releases/tag/1.49.0 Tested by: mikael, pkubaj Differential Revision: https://reviews.freebsd.org/D27940
211 lines
4.3 KiB
Makefile
211 lines
4.3 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= rust-analyzer
|
|
DISTVERSION= 2020-12-28
|
|
PORTREVISION= 1
|
|
CATEGORIES= devel
|
|
|
|
MAINTAINER= rust@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
|
|
|
|
GH_TUPLE= matklad:lsp-types:87219c336e90c389c4d5a114e33559f35fd80563:lsptypes
|
|
CARGO_CRATES= addr2line-0.14.0 \
|
|
adler-0.2.3 \
|
|
ansi_term-0.12.1 \
|
|
anyhow-1.0.36 \
|
|
anymap-0.12.1 \
|
|
arrayvec-0.5.2 \
|
|
atty-0.2.14 \
|
|
autocfg-1.0.1 \
|
|
backtrace-0.3.55 \
|
|
base64-0.12.3 \
|
|
bitflags-1.2.1 \
|
|
byteorder-1.3.4 \
|
|
cargo_metadata-0.12.0 \
|
|
cc-1.0.66 \
|
|
cfg-if-0.1.10 \
|
|
cfg-if-1.0.0 \
|
|
chalk-derive-0.45.0 \
|
|
chalk-ir-0.45.0 \
|
|
chalk-recursive-0.45.0 \
|
|
chalk-solve-0.45.0 \
|
|
chrono-0.4.19 \
|
|
cmake-0.1.45 \
|
|
const_fn-0.4.4 \
|
|
crc32fast-1.2.1 \
|
|
crossbeam-channel-0.4.4 \
|
|
crossbeam-channel-0.5.0 \
|
|
crossbeam-deque-0.8.0 \
|
|
crossbeam-epoch-0.9.1 \
|
|
crossbeam-utils-0.7.2 \
|
|
crossbeam-utils-0.8.1 \
|
|
difference-2.0.0 \
|
|
drop_bomb-0.1.5 \
|
|
either-1.6.1 \
|
|
ena-0.14.0 \
|
|
env_logger-0.8.2 \
|
|
expect-test-1.0.2 \
|
|
filetime-0.2.13 \
|
|
fixedbitset-0.2.0 \
|
|
flate2-1.0.19 \
|
|
form_urlencoded-1.0.0 \
|
|
fsevent-2.0.2 \
|
|
fsevent-sys-3.0.2 \
|
|
fst-0.4.5 \
|
|
fuchsia-zircon-0.3.3 \
|
|
fuchsia-zircon-sys-0.3.3 \
|
|
generator-0.6.23 \
|
|
gimli-0.23.0 \
|
|
hashbrown-0.9.1 \
|
|
heck-0.3.2 \
|
|
hermit-abi-0.1.17 \
|
|
home-0.5.3 \
|
|
idna-0.2.0 \
|
|
indexmap-1.6.1 \
|
|
inotify-0.8.3 \
|
|
inotify-sys-0.1.4 \
|
|
instant-0.1.9 \
|
|
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.3.0 \
|
|
libc-0.2.81 \
|
|
libloading-0.6.6 \
|
|
libmimalloc-sys-0.1.18 \
|
|
lock_api-0.4.2 \
|
|
log-0.4.11 \
|
|
loom-0.3.6 \
|
|
lsp-server-0.5.0 \
|
|
lsp-types-0.86.0 \
|
|
matchers-0.0.1 \
|
|
matches-0.1.8 \
|
|
maybe-uninit-2.0.0 \
|
|
memchr-2.3.4 \
|
|
memmap-0.7.0 \
|
|
memoffset-0.6.1 \
|
|
mimalloc-0.1.22 \
|
|
miniz_oxide-0.4.3 \
|
|
mio-0.6.23 \
|
|
mio-extras-2.0.6 \
|
|
miow-0.2.2 \
|
|
net2-0.2.37 \
|
|
notify-5.0.0-pre.4 \
|
|
num-integer-0.1.44 \
|
|
num-traits-0.2.14 \
|
|
num_cpus-1.13.0 \
|
|
object-0.22.0 \
|
|
object-0.23.0 \
|
|
once_cell-1.5.2 \
|
|
oorandom-11.1.3 \
|
|
parking_lot-0.11.1 \
|
|
parking_lot_core-0.8.2 \
|
|
percent-encoding-2.1.0 \
|
|
perf-event-0.4.6 \
|
|
perf-event-open-sys-1.0.1 \
|
|
pest-2.1.3 \
|
|
petgraph-0.5.1 \
|
|
pico-args-0.3.4 \
|
|
pin-project-lite-0.2.0 \
|
|
proc-macro2-1.0.24 \
|
|
pulldown-cmark-0.8.0 \
|
|
pulldown-cmark-to-cmark-6.0.0 \
|
|
quote-1.0.8 \
|
|
rayon-1.5.0 \
|
|
rayon-core-1.9.0 \
|
|
redox_syscall-0.1.57 \
|
|
regex-1.4.2 \
|
|
regex-automata-0.1.9 \
|
|
regex-syntax-0.6.21 \
|
|
rowan-0.10.0 \
|
|
rustc-ap-rustc_lexer-695.0.0 \
|
|
rustc-demangle-0.1.18 \
|
|
rustc-hash-1.1.0 \
|
|
rustc_version-0.2.3 \
|
|
ryu-1.0.5 \
|
|
salsa-0.16.0 \
|
|
salsa-macros-0.16.0 \
|
|
same-file-1.0.6 \
|
|
scoped-tls-1.0.0 \
|
|
scopeguard-1.1.0 \
|
|
semver-0.9.0 \
|
|
semver-0.11.0 \
|
|
semver-parser-0.7.0 \
|
|
semver-parser-0.10.1 \
|
|
serde-1.0.118 \
|
|
serde_derive-1.0.118 \
|
|
serde_json-1.0.60 \
|
|
serde_path_to_error-0.1.4 \
|
|
serde_repr-0.1.6 \
|
|
sharded-slab-0.1.0 \
|
|
slab-0.4.2 \
|
|
smallvec-1.5.1 \
|
|
smol_str-0.1.17 \
|
|
syn-1.0.55 \
|
|
synstructure-0.12.4 \
|
|
termcolor-1.1.2 \
|
|
text-size-1.0.0 \
|
|
thin-dst-1.1.0 \
|
|
thread_local-1.0.1 \
|
|
threadpool-1.8.1 \
|
|
time-0.1.44 \
|
|
tinyvec-1.1.0 \
|
|
tinyvec_macros-0.1.0 \
|
|
tracing-0.1.22 \
|
|
tracing-attributes-0.1.11 \
|
|
tracing-core-0.1.17 \
|
|
tracing-log-0.1.1 \
|
|
tracing-serde-0.1.2 \
|
|
tracing-subscriber-0.2.15 \
|
|
tracing-tree-0.1.6 \
|
|
ucd-trie-0.1.3 \
|
|
ungrammar-1.5.0 \
|
|
unicase-2.6.0 \
|
|
unicode-bidi-0.3.4 \
|
|
unicode-normalization-0.1.16 \
|
|
unicode-segmentation-1.7.1 \
|
|
unicode-xid-0.2.1 \
|
|
url-2.2.0 \
|
|
version_check-0.9.2 \
|
|
walkdir-2.3.1 \
|
|
wasi-0.10.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 \
|
|
write-json-0.1.2 \
|
|
ws2_32-sys-0.2.1 \
|
|
xshell-0.1.8 \
|
|
xshell-macros-0.1.8
|
|
CARGO_USE_GITHUB= yes
|
|
|
|
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>
|