PORTNAME=	gitu
DISTVERSIONPREFIX=	v
DISTVERSION=	0.32.0
PORTREVISION=	2
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=	aho-corasick-1.1.3 \
		allocator-api2-0.2.18 \
		android-tzdata-0.1.1 \
		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.4.1 \
		atomic-0.6.0 \
		autocfg-1.4.0 \
		bitflags-1.3.2 \
		bitflags-2.6.0 \
		block2-0.5.1 \
		bstr-1.10.0 \
		bumpalo-3.16.0 \
		bytemuck-1.19.0 \
		cassowary-0.3.0 \
		cast-0.3.0 \
		castaway-0.2.3 \
		cc-1.0.106 \
		cfg-if-1.0.0 \
		chrono-0.4.40 \
		ciborium-0.2.2 \
		ciborium-io-0.2.2 \
		ciborium-ll-0.2.2 \
		clap-4.5.34 \
		clap_builder-4.5.34 \
		clap_derive-4.5.32 \
		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 \
		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 \
		diff-0.1.13 \
		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 \
		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 \
		gethostname-0.4.3 \
		git-version-0.3.9 \
		git-version-macro-0.3.9 \
		git2-0.20.1 \
		glob-0.3.1 \
		half-2.4.1 \
		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 \
		idna-1.0.3 \
		idna_adapter-1.2.0 \
		indexmap-2.6.0 \
		indoc-2.0.5 \
		inotify-0.10.2 \
		inotify-sys-0.1.5 \
		insta-1.42.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.72 \
		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 \
		linked-hash-map-0.5.6 \
		linux-raw-sys-0.4.14 \
		litemap-0.7.5 \
		lock_api-0.4.12 \
		log-0.4.27 \
		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 \
		objc-sys-0.3.5 \
		objc2-0.5.2 \
		objc2-app-kit-0.2.2 \
		objc2-core-data-0.2.2 \
		objc2-core-image-0.2.2 \
		objc2-encode-4.0.3 \
		objc2-foundation-0.2.2 \
		objc2-metal-0.2.2 \
		objc2-quartz-core-0.2.2 \
		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 \
		pin-project-1.1.10 \
		pin-project-internal-1.1.10 \
		pin-project-lite-0.2.14 \
		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.2.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.1 \
		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.23 \
		serde-1.0.219 \
		serde_derive-1.0.219 \
		serde_json-1.0.128 \
		serde_spanned-0.6.8 \
		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.9 \
		smallvec-1.13.2 \
		stable_deref_trait-1.2.0 \
		static_assertions-1.1.0 \
		strip-ansi-escapes-0.2.1 \
		strsim-0.11.1 \
		strum-0.26.3 \
		strum_macros-0.26.4 \
		syn-2.0.85 \
		synstructure-0.13.1 \
		temp-dir-0.1.14 \
		thiserror-1.0.64 \
		thiserror-impl-1.0.64 \
		thread-id-3.3.0 \
		tinystr-0.7.6 \
		tinytemplate-1.2.1 \
		toml-0.8.20 \
		toml_datetime-0.6.8 \
		toml_edit-0.22.24 \
		tree-sitter-0.20.10 \
		tree-sitter-bash-0.20.5 \
		tree-sitter-c-0.20.8 \
		tree-sitter-c-sharp-0.20.0 \
		tree-sitter-cpp-0.20.5 \
		tree-sitter-elixir-0.1.1 \
		tree-sitter-go-0.20.0 \
		tree-sitter-haskell-0.15.0 \
		tree-sitter-highlight-0.20.1 \
		tree-sitter-html-0.20.0 \
		tree-sitter-java-0.20.2 \
		tree-sitter-javascript-0.20.4 \
		tree-sitter-json-0.20.2 \
		tree-sitter-ocaml-0.20.4 \
		tree-sitter-php-0.20.0 \
		tree-sitter-python-0.20.4 \
		tree-sitter-ruby-0.20.1 \
		tree-sitter-rust-0.20.4 \
		tree-sitter-scala-0.20.3 \
		tree-sitter-toml-0.20.0 \
		tree-sitter-typescript-0.20.5 \
		tui-prompts-0.5.0 \
		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.95 \
		wasm-bindgen-backend-0.2.95 \
		wasm-bindgen-macro-0.2.95 \
		wasm-bindgen-macro-support-0.2.95 \
		wasm-bindgen-shared-0.2.95 \
		web-sys-0.3.72 \
		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.1.1 \
		windows-sys-0.48.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.4 \
		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 \
		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>
