PORTNAME=	gitu
DISTVERSIONPREFIX=	v
DISTVERSION=	0.38.0
CATEGORIES=	devel

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	TUI Git client inspired by Magit
WWW=		https://github.com/altsem/gitu

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE

USES=		cargo

USE_GITHUB=	yes
GH_ACCOUNT=	altsem

CARGO_CRATES=	ahash-0.8.12 \
		aho-corasick-1.1.3 \
		allocator-api2-0.2.18 \
		android_system_properties-0.1.5 \
		anes-0.1.6 \
		anstream-0.6.15 \
		anstyle-1.0.8 \
		anstyle-parse-0.2.5 \
		anstyle-query-1.1.1 \
		anstyle-wincon-3.0.4 \
		arboard-3.6.1 \
		atomic-0.6.0 \
		autocfg-1.4.0 \
		bitflags-1.3.2 \
		bitflags-2.6.0 \
		block-buffer-0.10.4 \
		bstr-1.10.0 \
		bumpalo-3.16.0 \
		bytemuck-1.19.0 \
		cached-0.55.1 \
		cached_proc_macro-0.24.0 \
		cached_proc_macro_types-0.1.1 \
		cassowary-0.3.0 \
		cast-0.3.0 \
		castaway-0.2.3 \
		cc-1.2.26 \
		cfg-if-1.0.0 \
		chrono-0.4.42 \
		ciborium-0.2.2 \
		ciborium-io-0.2.2 \
		ciborium-ll-0.2.2 \
		clap-4.5.47 \
		clap_builder-4.5.47 \
		clap_derive-4.5.47 \
		clap_lex-0.7.4 \
		clipboard-win-5.4.0 \
		colorchoice-1.0.2 \
		compact_str-0.8.0 \
		console-0.15.8 \
		core-foundation-sys-0.8.7 \
		cpufeatures-0.2.17 \
		criterion-0.5.1 \
		criterion-plot-0.5.0 \
		crossbeam-deque-0.8.5 \
		crossbeam-epoch-0.9.18 \
		crossbeam-utils-0.8.20 \
		crossterm-0.28.1 \
		crossterm_winapi-0.9.1 \
		crunchy-0.2.2 \
		crypto-common-0.1.6 \
		darling-0.20.11 \
		darling_core-0.20.11 \
		darling_macro-0.20.11 \
		diff-0.1.13 \
		digest-0.10.7 \
		dispatch2-0.3.0 \
		displaydoc-0.2.5 \
		either-1.13.0 \
		encode_unicode-0.3.6 \
		equivalent-1.0.1 \
		errno-0.3.10 \
		error-code-3.3.1 \
		etcetera-0.10.0 \
		figment-0.10.19 \
		filetime-0.2.25 \
		fnv-1.0.7 \
		foldhash-0.1.3 \
		form_urlencoded-1.2.1 \
		fsevent-sys-4.1.0 \
		futures-0.3.31 \
		futures-channel-0.3.31 \
		futures-core-0.3.31 \
		futures-executor-0.3.31 \
		futures-io-0.3.31 \
		futures-macro-0.3.31 \
		futures-sink-0.3.31 \
		futures-task-0.3.31 \
		futures-timer-3.0.3 \
		futures-util-0.3.31 \
		generic-array-0.14.7 \
		gethostname-0.4.3 \
		git-version-0.3.9 \
		git-version-macro-0.3.9 \
		git2-0.20.2 \
		glob-0.3.3 \
		half-2.4.1 \
		hashbrown-0.14.5 \
		hashbrown-0.15.0 \
		heck-0.5.0 \
		hermit-abi-0.3.9 \
		hermit-abi-0.4.0 \
		home-0.5.9 \
		iana-time-zone-0.1.61 \
		iana-time-zone-haiku-0.1.2 \
		icu_collections-1.5.0 \
		icu_locid-1.5.0 \
		icu_locid_transform-1.5.0 \
		icu_locid_transform_data-1.5.1 \
		icu_normalizer-1.5.0 \
		icu_normalizer_data-1.5.1 \
		icu_properties-1.5.1 \
		icu_properties_data-1.5.1 \
		icu_provider-1.5.0 \
		icu_provider_macros-1.5.0 \
		ident_case-1.0.1 \
		idna-1.0.3 \
		idna_adapter-1.2.0 \
		indexmap-2.11.4 \
		indoc-2.0.5 \
		inotify-0.10.2 \
		inotify-sys-0.1.5 \
		insta-1.43.2 \
		instability-0.3.2 \
		instant-0.1.13 \
		is-terminal-0.4.13 \
		is_terminal_polyfill-1.70.1 \
		itertools-0.10.5 \
		itertools-0.13.0 \
		itertools-0.14.0 \
		itoa-1.0.11 \
		jobserver-0.1.32 \
		js-sys-0.3.77 \
		kqueue-1.0.8 \
		kqueue-sys-1.0.4 \
		lazy_static-1.5.0 \
		libc-0.2.168 \
		libgit2-sys-0.18.1+1.9.0 \
		libredox-0.1.3 \
		libz-sys-1.1.20 \
		linux-raw-sys-0.4.14 \
		litemap-0.7.5 \
		lock_api-0.4.12 \
		log-0.4.28 \
		lru-0.12.5 \
		memchr-2.7.4 \
		minimal-lexical-0.2.1 \
		mio-1.0.2 \
		nom-7.1.3 \
		notify-7.0.0 \
		notify-types-1.0.0 \
		num-traits-0.2.19 \
		objc2-0.6.2 \
		objc2-app-kit-0.3.1 \
		objc2-core-foundation-0.3.1 \
		objc2-core-graphics-0.3.1 \
		objc2-encode-4.1.0 \
		objc2-foundation-0.3.1 \
		objc2-io-surface-0.3.1 \
		once_cell-1.20.2 \
		oorandom-11.1.4 \
		parking_lot-0.12.3 \
		parking_lot_core-0.9.10 \
		paste-1.0.15 \
		percent-encoding-2.3.1 \
		pest-2.8.3 \
		pest_derive-2.8.3 \
		pest_generator-2.8.3 \
		pest_meta-2.8.3 \
		pin-project-lite-0.2.16 \
		pin-utils-0.1.0 \
		pkg-config-0.3.31 \
		plotters-0.3.7 \
		plotters-backend-0.3.7 \
		plotters-svg-0.3.7 \
		pretty_assertions-1.4.1 \
		proc-macro-crate-3.4.0 \
		proc-macro2-1.0.88 \
		quote-1.0.37 \
		ratatui-0.29.0 \
		ratatui-macros-0.6.0 \
		rayon-1.10.0 \
		rayon-core-1.12.1 \
		redox_syscall-0.1.57 \
		redox_syscall-0.5.7 \
		regex-1.11.2 \
		regex-automata-0.4.8 \
		regex-syntax-0.8.5 \
		relative-path-1.9.3 \
		rstest-0.23.0 \
		rstest_macros-0.23.0 \
		rustc_version-0.4.1 \
		rustix-0.38.42 \
		rustversion-1.0.18 \
		ryu-1.0.18 \
		same-file-1.0.6 \
		scopeguard-1.2.0 \
		semver-1.0.27 \
		serde-1.0.225 \
		serde_core-1.0.225 \
		serde_derive-1.0.225 \
		serde_json-1.0.140 \
		serde_spanned-0.6.9 \
		sha2-0.10.9 \
		shlex-1.3.0 \
		signal-hook-0.3.17 \
		signal-hook-mio-0.2.4 \
		signal-hook-registry-1.4.2 \
		similar-2.7.0 \
		simple-logging-2.0.2 \
		slab-0.4.11 \
		smallvec-1.13.2 \
		stable_deref_trait-1.2.0 \
		static_assertions-1.1.0 \
		streaming-iterator-0.1.9 \
		strip-ansi-escapes-0.2.1 \
		strsim-0.11.1 \
		strum-0.26.3 \
		strum_macros-0.26.4 \
		syn-2.0.87 \
		synstructure-0.13.1 \
		temp-dir-0.1.16 \
		temp-env-0.3.6 \
		thiserror-2.0.12 \
		thiserror-impl-2.0.12 \
		thread-id-3.3.0 \
		tinystr-0.7.6 \
		tinytemplate-1.2.1 \
		toml-0.8.23 \
		toml_datetime-0.6.11 \
		toml_datetime-0.7.2 \
		toml_edit-0.22.27 \
		toml_edit-0.23.6 \
		toml_parser-1.0.3 \
		toml_write-0.1.2 \
		tree-sitter-0.25.6 \
		tree-sitter-bash-0.25.0 \
		tree-sitter-c-0.24.1 \
		tree-sitter-c-sharp-0.23.1 \
		tree-sitter-cpp-0.23.4 \
		tree-sitter-elixir-0.3.4 \
		tree-sitter-go-0.23.4 \
		tree-sitter-haskell-0.23.1 \
		tree-sitter-highlight-0.25.6 \
		tree-sitter-html-0.23.2 \
		tree-sitter-java-0.23.5 \
		tree-sitter-javascript-0.23.1 \
		tree-sitter-json-0.24.8 \
		tree-sitter-language-0.1.5 \
		tree-sitter-ocaml-0.24.2 \
		tree-sitter-php-0.23.11 \
		tree-sitter-python-0.23.6 \
		tree-sitter-ruby-0.23.1 \
		tree-sitter-rust-0.24.0 \
		tree-sitter-scala-0.23.4 \
		tree-sitter-toml-ng-0.7.0 \
		tree-sitter-typescript-0.23.2 \
		tui-prompts-0.5.0 \
		typenum-1.19.0 \
		ucd-trie-0.1.7 \
		uncased-0.9.10 \
		unicode-ident-1.0.13 \
		unicode-segmentation-1.12.0 \
		unicode-truncate-1.1.0 \
		unicode-width-0.1.14 \
		unicode-width-0.2.0 \
		url-2.5.4 \
		utf16_iter-1.0.5 \
		utf8_iter-1.0.4 \
		utf8parse-0.2.2 \
		vcpkg-0.2.15 \
		version_check-0.9.5 \
		vte-0.14.1 \
		walkdir-2.5.0 \
		wasi-0.11.0+wasi-snapshot-preview1 \
		wasm-bindgen-0.2.100 \
		wasm-bindgen-backend-0.2.100 \
		wasm-bindgen-macro-0.2.100 \
		wasm-bindgen-macro-support-0.2.100 \
		wasm-bindgen-shared-0.2.100 \
		web-sys-0.3.72 \
		web-time-1.1.0 \
		winapi-0.3.9 \
		winapi-i686-pc-windows-gnu-0.4.0 \
		winapi-util-0.1.9 \
		winapi-x86_64-pc-windows-gnu-0.4.0 \
		windows-core-0.52.0 \
		windows-link-0.2.0 \
		windows-sys-0.52.0 \
		windows-sys-0.59.0 \
		windows-targets-0.48.5 \
		windows-targets-0.52.6 \
		windows_aarch64_gnullvm-0.48.5 \
		windows_aarch64_gnullvm-0.52.6 \
		windows_aarch64_msvc-0.48.5 \
		windows_aarch64_msvc-0.52.6 \
		windows_i686_gnu-0.48.5 \
		windows_i686_gnu-0.52.6 \
		windows_i686_gnullvm-0.52.6 \
		windows_i686_msvc-0.48.5 \
		windows_i686_msvc-0.52.6 \
		windows_x86_64_gnu-0.48.5 \
		windows_x86_64_gnu-0.52.6 \
		windows_x86_64_gnullvm-0.48.5 \
		windows_x86_64_gnullvm-0.52.6 \
		windows_x86_64_msvc-0.48.5 \
		windows_x86_64_msvc-0.52.6 \
		winnow-0.7.13 \
		write16-1.0.0 \
		writeable-0.5.5 \
		x11rb-0.13.1 \
		x11rb-protocol-0.13.1 \
		yansi-1.0.1 \
		yoke-0.7.5 \
		yoke-derive-0.7.5 \
		zerocopy-0.8.26 \
		zerocopy-derive-0.8.26 \
		zerofrom-0.1.6 \
		zerofrom-derive-0.1.6 \
		zerovec-0.10.4 \
		zerovec-derive-0.10.3

PLIST_FILES=	bin/${PORTNAME}

.include <bsd.port.mk>
