PORTNAME=	otree
DISTVERSIONPREFIX=	v
DISTVERSION=	0.6.4
PORTREVISION=	1
CATEGORIES=	textproc

MAINTAINER=	olgeni@FreeBSD.org
COMMENT=	Command line tool to view objects (JSON/YAML/TOML) in TUI tree widget
WWW=		https://github.com/fioncat/otree

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE

USES=		cargo
USE_GITHUB=	yes
GH_ACCOUNT=	fioncat

CARGO_CRATES=	aho-corasick-1.1.4 \
		allocator-api2-0.2.21 \
		anstream-0.6.21 \
		anstyle-1.0.13 \
		anstyle-parse-0.2.7 \
		anstyle-query-1.1.5 \
		anstyle-wincon-3.0.11 \
		anyhow-1.0.100 \
		bitflags-1.3.2 \
		bitflags-2.10.0 \
		camino-1.2.1 \
		cargo-platform-0.1.9 \
		cargo_metadata-0.19.2 \
		cassowary-0.3.0 \
		castaway-0.2.4 \
		cfg-if-1.0.4 \
		clap-4.5.53 \
		clap_builder-4.5.53 \
		clap_derive-4.5.49 \
		clap_lex-0.7.6 \
		colorchoice-1.0.4 \
		compact_str-0.8.1 \
		console-0.16.2 \
		convert_case-0.7.1 \
		crossterm-0.28.1 \
		crossterm-0.29.0 \
		crossterm_winapi-0.9.1 \
		darling-0.20.11 \
		darling_core-0.20.11 \
		darling_macro-0.20.11 \
		deranged-0.5.5 \
		derive_builder-0.20.2 \
		derive_builder_core-0.20.2 \
		derive_builder_macro-0.20.2 \
		derive_more-2.0.1 \
		derive_more-impl-2.0.1 \
		dirs-6.0.0 \
		dirs-sys-0.5.0 \
		document-features-0.2.12 \
		either-1.15.0 \
		encode_unicode-1.0.0 \
		equivalent-1.0.2 \
		errno-0.3.14 \
		filedescriptor-0.8.3 \
		fnv-1.0.7 \
		foldhash-0.1.5 \
		fsevent-sys-4.1.0 \
		getrandom-0.2.16 \
		hashbrown-0.15.5 \
		hashbrown-0.16.1 \
		hcl-edit-0.9.3 \
		hcl-primitives-0.1.11 \
		hcl-rs-0.19.4 \
		heck-0.5.0 \
		humansize-2.1.3 \
		ident_case-1.0.1 \
		indexmap-2.12.1 \
		indoc-2.0.7 \
		inotify-0.11.0 \
		inotify-sys-0.1.5 \
		instability-0.3.9 \
		is_terminal_polyfill-1.70.2 \
		itertools-0.13.0 \
		itoa-1.0.15 \
		kqueue-1.1.1 \
		kqueue-sys-1.0.4 \
		kstring-2.0.2 \
		libc-0.2.177 \
		libm-0.2.15 \
		libredox-0.1.10 \
		libyml-0.0.5 \
		linux-raw-sys-0.4.15 \
		linux-raw-sys-0.11.0 \
		litrs-1.0.0 \
		lock_api-0.4.14 \
		log-0.4.28 \
		lru-0.12.5 \
		memchr-2.7.6 \
		mio-1.1.0 \
		notify-8.2.0 \
		notify-types-2.0.0 \
		ntapi-0.4.1 \
		num-conv-0.1.0 \
		num_threads-0.1.7 \
		objc2-core-foundation-0.3.2 \
		once_cell-1.21.3 \
		once_cell_polyfill-1.70.2 \
		option-ext-0.2.0 \
		parking_lot-0.12.5 \
		parking_lot_core-0.9.12 \
		paste-1.0.15 \
		powerfmt-0.2.0 \
		pratt-0.4.0 \
		proc-macro2-1.0.103 \
		quick-xml-0.38.4 \
		quote-1.0.42 \
		ratatui-0.29.0 \
		redox_syscall-0.5.18 \
		redox_users-0.5.2 \
		regex-1.12.2 \
		regex-automata-0.4.13 \
		regex-syntax-0.8.8 \
		rustc_version-0.4.1 \
		rustix-0.38.44 \
		rustix-1.1.2 \
		rustversion-1.0.22 \
		ryu-1.0.20 \
		same-file-1.0.6 \
		scopeguard-1.2.0 \
		semver-1.0.27 \
		serde-1.0.228 \
		serde_core-1.0.228 \
		serde_derive-1.0.228 \
		serde_json-1.0.145 \
		serde_spanned-1.0.4 \
		serde_yml-0.0.12 \
		signal-hook-0.3.18 \
		signal-hook-mio-0.2.5 \
		signal-hook-registry-1.4.6 \
		simple-error-0.3.2 \
		smallvec-1.15.1 \
		static_assertions-1.1.0 \
		strsim-0.11.1 \
		strum-0.26.3 \
		strum-0.27.2 \
		strum_macros-0.26.4 \
		strum_macros-0.27.2 \
		syn-2.0.110 \
		sysinfo-0.34.2 \
		thiserror-1.0.69 \
		thiserror-2.0.17 \
		thiserror-impl-1.0.69 \
		thiserror-impl-2.0.17 \
		time-0.3.44 \
		time-core-0.1.6 \
		time-macros-0.2.24 \
		toml-0.9.10+spec-1.1.0 \
		toml_datetime-0.7.5+spec-1.1.0 \
		toml_parser-1.0.6+spec-1.1.0 \
		toml_writer-1.0.6+spec-1.1.0 \
		tui-textarea-0.7.0 \
		tui-tree-widget-0.23.1 \
		unicode-ident-1.0.22 \
		unicode-segmentation-1.12.0 \
		unicode-truncate-1.1.0 \
		unicode-width-0.1.14 \
		unicode-width-0.2.0 \
		utf8parse-0.2.2 \
		vecmap-rs-0.2.4 \
		vergen-9.0.6 \
		vergen-lib-0.1.6 \
		version_check-0.9.5 \
		walkdir-2.5.0 \
		wasi-0.11.1+wasi-snapshot-preview1 \
		winapi-0.3.9 \
		winapi-i686-pc-windows-gnu-0.4.0 \
		winapi-util-0.1.11 \
		winapi-x86_64-pc-windows-gnu-0.4.0 \
		windows-0.57.0 \
		windows-core-0.57.0 \
		windows-implement-0.57.0 \
		windows-interface-0.57.0 \
		windows-link-0.2.1 \
		windows-result-0.1.2 \
		windows-sys-0.59.0 \
		windows-sys-0.60.2 \
		windows-sys-0.61.2 \
		windows-targets-0.52.6 \
		windows-targets-0.53.5 \
		windows_aarch64_gnullvm-0.52.6 \
		windows_aarch64_gnullvm-0.53.1 \
		windows_aarch64_msvc-0.52.6 \
		windows_aarch64_msvc-0.53.1 \
		windows_i686_gnu-0.52.6 \
		windows_i686_gnu-0.53.1 \
		windows_i686_gnullvm-0.52.6 \
		windows_i686_gnullvm-0.53.1 \
		windows_i686_msvc-0.52.6 \
		windows_i686_msvc-0.53.1 \
		windows_x86_64_gnu-0.52.6 \
		windows_x86_64_gnu-0.53.1 \
		windows_x86_64_gnullvm-0.52.6 \
		windows_x86_64_gnullvm-0.53.1 \
		windows_x86_64_msvc-0.52.6 \
		windows_x86_64_msvc-0.53.1 \
		winnow-0.7.13

PLIST_FILES=	bin/otree

.include <bsd.port.mk>
