PORTNAME=	svls
DISTVERSIONPREFIX=	v
DISTVERSION=	0.2.12
PORTREVISION=	1
CATEGORIES=	cad

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	SystemVerilog language server
WWW=		https://github.com/dalance/svls

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE

USES=		cargo

USE_GITHUB=	yes
GH_ACCOUNT=	dalance

CARGO_CRATES=	addr2line-0.22.0 \
		adler-1.0.2 \
		aho-corasick-1.1.3 \
		anyhow-1.0.86 \
		async-trait-0.1.80 \
		atty-0.2.14 \
		auto_impl-1.2.0 \
		autocfg-1.3.0 \
		backtrace-0.3.72 \
		bitflags-1.3.2 \
		bitflags-2.5.0 \
		bytecount-0.6.8 \
		bytes-1.6.0 \
		cc-1.0.98 \
		cfg-if-1.0.0 \
		clap-3.2.25 \
		clap_complete-3.2.5 \
		clap_derive-3.2.25 \
		clap_lex-0.2.4 \
		colored-2.1.0 \
		dashmap-5.5.3 \
		deranged-0.3.11 \
		dirs-next-2.0.0 \
		dirs-sys-next-0.1.2 \
		enquote-1.1.0 \
		equivalent-1.0.1 \
		form_urlencoded-1.2.1 \
		futures-0.3.30 \
		futures-channel-0.3.30 \
		futures-core-0.3.30 \
		futures-io-0.3.30 \
		futures-macro-0.3.30 \
		futures-sink-0.3.30 \
		futures-task-0.3.30 \
		futures-util-0.3.30 \
		getrandom-0.2.15 \
		gimli-0.29.0 \
		hashbrown-0.12.3 \
		hashbrown-0.14.5 \
		heck-0.4.1 \
		hermit-abi-0.1.19 \
		httparse-1.8.0 \
		idna-0.5.0 \
		indexmap-1.9.3 \
		indexmap-2.2.6 \
		itoa-1.0.11 \
		lazy_static-1.4.0 \
		libc-0.2.155 \
		libloading-0.8.3 \
		libredox-0.1.3 \
		lock_api-0.4.12 \
		log-0.4.21 \
		lsp-types-0.94.1 \
		memchr-2.7.2 \
		minimal-lexical-0.2.1 \
		miniz_oxide-0.7.3 \
		nom-7.1.3 \
		nom-greedyerror-0.5.0 \
		nom-packrat-0.7.0 \
		nom-packrat-macros-0.7.0 \
		nom-recursive-0.5.1 \
		nom-recursive-macros-0.5.1 \
		nom-tracable-0.9.1 \
		nom-tracable-macros-0.9.1 \
		nom_locate-4.2.0 \
		num-conv-0.1.0 \
		num_threads-0.1.7 \
		object-0.35.0 \
		once_cell-1.19.0 \
		os_str_bytes-6.6.1 \
		parking_lot_core-0.9.10 \
		percent-encoding-2.3.1 \
		pin-project-1.1.5 \
		pin-project-internal-1.1.5 \
		pin-project-lite-0.2.14 \
		pin-utils-0.1.0 \
		powerfmt-0.2.0 \
		proc-macro-error-1.0.4 \
		proc-macro-error-attr-1.0.4 \
		proc-macro2-1.0.85 \
		quote-1.0.36 \
		redox_syscall-0.5.1 \
		redox_users-0.4.5 \
		regex-1.10.4 \
		regex-automata-0.4.6 \
		regex-syntax-0.8.3 \
		rustc-demangle-0.1.24 \
		rustversion-1.0.17 \
		ryu-1.0.18 \
		same-file-1.0.6 \
		scopeguard-1.2.0 \
		serde-1.0.203 \
		serde_derive-1.0.203 \
		serde_json-1.0.117 \
		serde_regex-1.1.0 \
		serde_repr-0.1.19 \
		serde_spanned-0.6.6 \
		simplelog-0.12.2 \
		slab-0.4.9 \
		smallvec-1.13.2 \
		str-concat-0.2.0 \
		strsim-0.10.0 \
		sv-filelist-parser-0.1.3 \
		sv-parser-0.13.3 \
		sv-parser-error-0.13.3 \
		sv-parser-macros-0.13.3 \
		sv-parser-parser-0.13.3 \
		sv-parser-pp-0.13.3 \
		sv-parser-syntaxtree-0.13.3 \
		svlint-0.9.3 \
		syn-1.0.109 \
		syn-2.0.66 \
		term-0.7.0 \
		termcolor-1.4.1 \
		textwrap-0.16.1 \
		thiserror-1.0.61 \
		thiserror-impl-1.0.61 \
		time-0.3.36 \
		time-core-0.1.2 \
		time-macros-0.2.18 \
		tinyvec-1.6.0 \
		tinyvec_macros-0.1.1 \
		tokio-1.38.0 \
		tokio-macros-2.3.0 \
		tokio-util-0.7.11 \
		toml-0.8.13 \
		toml_datetime-0.6.6 \
		toml_edit-0.22.13 \
		tower-0.4.13 \
		tower-layer-0.3.2 \
		tower-lsp-0.20.0 \
		tower-lsp-macros-0.9.0 \
		tower-service-0.3.2 \
		tracing-0.1.40 \
		tracing-attributes-0.1.27 \
		tracing-core-0.1.32 \
		unicode-bidi-0.3.15 \
		unicode-ident-1.0.12 \
		unicode-normalization-0.1.23 \
		url-2.5.0 \
		version_check-0.9.4 \
		walkdir-2.5.0 \
		wasi-0.11.0+wasi-snapshot-preview1 \
		winapi-0.3.9 \
		winapi-i686-pc-windows-gnu-0.4.0 \
		winapi-util-0.1.8 \
		winapi-x86_64-pc-windows-gnu-0.4.0 \
		windows-sys-0.48.0 \
		windows-sys-0.52.0 \
		windows-targets-0.48.5 \
		windows-targets-0.52.5 \
		windows_aarch64_gnullvm-0.48.5 \
		windows_aarch64_gnullvm-0.52.5 \
		windows_aarch64_msvc-0.48.5 \
		windows_aarch64_msvc-0.52.5 \
		windows_i686_gnu-0.48.5 \
		windows_i686_gnu-0.52.5 \
		windows_i686_gnullvm-0.52.5 \
		windows_i686_msvc-0.48.5 \
		windows_i686_msvc-0.52.5 \
		windows_x86_64_gnu-0.48.5 \
		windows_x86_64_gnu-0.52.5 \
		windows_x86_64_gnullvm-0.48.5 \
		windows_x86_64_gnullvm-0.52.5 \
		windows_x86_64_msvc-0.48.5 \
		windows_x86_64_msvc-0.52.5 \
		winnow-0.6.9

PLIST_FILES=	bin/${PORTNAME}

post-install:
	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}

.include <bsd.port.mk>
