PORTNAME=	gitu
DISTVERSIONPREFIX=	v
DISTVERSION=	0.25.0
PORTREVISION=	1
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.11 \
		aho-corasick-1.1.3 \
		allocator-api2-0.2.16 \
		android-tzdata-0.1.1 \
		android_system_properties-0.1.5 \
		anes-0.1.6 \
		anstream-0.6.13 \
		anstyle-1.0.8 \
		anstyle-parse-0.2.3 \
		anstyle-query-1.0.2 \
		anstyle-wincon-3.0.2 \
		arboard-3.4.0 \
		atomic-0.6.0 \
		autocfg-1.2.0 \
		bitflags-1.3.2 \
		bitflags-2.5.0 \
		block2-0.5.1 \
		bstr-1.10.0 \
		bumpalo-3.15.4 \
		bytemuck-1.15.0 \
		cassowary-0.3.0 \
		cast-0.3.0 \
		castaway-0.2.2 \
		cc-1.0.95 \
		cfg-if-1.0.0 \
		chrono-0.4.38 \
		ciborium-0.2.2 \
		ciborium-io-0.2.2 \
		ciborium-ll-0.2.2 \
		clap-4.5.16 \
		clap_builder-4.5.15 \
		clap_derive-4.5.13 \
		clap_lex-0.7.0 \
		clipboard-win-5.3.1 \
		colorchoice-1.0.0 \
		compact_str-0.7.1 \
		console-0.15.8 \
		convert_case-0.4.0 \
		core-foundation-sys-0.8.6 \
		criterion-0.5.1 \
		criterion-plot-0.5.0 \
		crossbeam-deque-0.8.5 \
		crossbeam-epoch-0.9.18 \
		crossbeam-utils-0.8.19 \
		crossterm-0.27.0 \
		crossterm_winapi-0.9.1 \
		crunchy-0.2.2 \
		ctor-0.2.8 \
		derive_more-0.99.18 \
		diff-0.1.13 \
		either-1.10.0 \
		encode_unicode-0.3.6 \
		equivalent-1.0.1 \
		errno-0.3.8 \
		error-code-3.2.0 \
		etcetera-0.8.0 \
		figment-0.10.19 \
		form_urlencoded-1.2.1 \
		futures-0.3.30 \
		futures-channel-0.3.30 \
		futures-core-0.3.30 \
		futures-executor-0.3.30 \
		futures-io-0.3.30 \
		futures-macro-0.3.30 \
		futures-sink-0.3.30 \
		futures-task-0.3.30 \
		futures-timer-3.0.3 \
		futures-util-0.3.30 \
		gethostname-0.4.3 \
		git-version-0.3.9 \
		git-version-macro-0.3.9 \
		git2-0.19.0 \
		glob-0.3.1 \
		half-2.4.0 \
		hashbrown-0.14.3 \
		heck-0.5.0 \
		hermit-abi-0.3.9 \
		home-0.5.9 \
		iana-time-zone-0.1.60 \
		iana-time-zone-haiku-0.1.2 \
		idna-0.5.0 \
		indexmap-2.2.6 \
		insta-1.39.0 \
		is-terminal-0.4.12 \
		itertools-0.10.5 \
		itertools-0.12.1 \
		itertools-0.13.0 \
		itoa-1.0.11 \
		jobserver-0.1.30 \
		js-sys-0.3.69 \
		lazy_static-1.4.0 \
		libc-0.2.153 \
		libgit2-sys-0.17.0+1.8.1 \
		libz-sys-1.1.16 \
		linked-hash-map-0.5.6 \
		linux-raw-sys-0.4.13 \
		lock_api-0.4.11 \
		log-0.4.22 \
		lru-0.12.3 \
		memchr-2.7.2 \
		minimal-lexical-0.2.1 \
		mio-0.8.11 \
		nom-7.1.3 \
		num-traits-0.2.18 \
		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.19.0 \
		oorandom-11.1.3 \
		parking_lot-0.12.1 \
		parking_lot_core-0.9.9 \
		paste-1.0.14 \
		percent-encoding-2.3.1 \
		pin-project-lite-0.2.14 \
		pin-utils-0.1.0 \
		pkg-config-0.3.30 \
		plotters-0.3.5 \
		plotters-backend-0.3.5 \
		plotters-svg-0.3.5 \
		pretty_assertions-1.4.0 \
		proc-macro-crate-3.1.0 \
		proc-macro2-1.0.79 \
		quote-1.0.35 \
		ratatui-0.27.0 \
		ratatui-macros-0.4.2 \
		rayon-1.10.0 \
		rayon-core-1.12.1 \
		redox_syscall-0.1.57 \
		redox_syscall-0.4.1 \
		regex-1.10.6 \
		regex-automata-0.4.6 \
		regex-syntax-0.8.3 \
		relative-path-1.9.3 \
		rstest-0.21.0 \
		rstest_macros-0.21.0 \
		rustc_version-0.4.0 \
		rustix-0.38.32 \
		rustversion-1.0.14 \
		ryu-1.0.17 \
		same-file-1.0.6 \
		scopeguard-1.2.0 \
		semver-1.0.22 \
		serde-1.0.209 \
		serde_derive-1.0.209 \
		serde_json-1.0.115 \
		serde_spanned-0.6.6 \
		signal-hook-0.3.17 \
		signal-hook-mio-0.2.3 \
		signal-hook-registry-1.4.1 \
		similar-2.6.0 \
		simple-logging-2.0.2 \
		slab-0.4.9 \
		smallvec-1.13.2 \
		stability-0.2.0 \
		static_assertions-1.1.0 \
		strsim-0.11.0 \
		strum-0.26.2 \
		strum_macros-0.26.4 \
		syn-2.0.55 \
		temp-dir-0.1.13 \
		thiserror-1.0.58 \
		thiserror-impl-1.0.58 \
		thread-id-3.3.0 \
		tinytemplate-1.2.1 \
		tinyvec-1.6.0 \
		tinyvec_macros-0.1.1 \
		toml-0.8.15 \
		toml_datetime-0.6.6 \
		toml_edit-0.21.1 \
		toml_edit-0.22.16 \
		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.3.20 \
		uncased-0.9.10 \
		unicode-bidi-0.3.15 \
		unicode-ident-1.0.12 \
		unicode-normalization-0.1.23 \
		unicode-segmentation-1.11.0 \
		unicode-truncate-1.0.0 \
		unicode-width-0.1.13 \
		url-2.5.0 \
		utf8parse-0.2.1 \
		vcpkg-0.2.15 \
		version_check-0.9.4 \
		walkdir-2.5.0 \
		wasi-0.11.0+wasi-snapshot-preview1 \
		wasm-bindgen-0.2.92 \
		wasm-bindgen-backend-0.2.92 \
		wasm-bindgen-macro-0.2.92 \
		wasm-bindgen-macro-support-0.2.92 \
		wasm-bindgen-shared-0.2.92 \
		web-sys-0.3.69 \
		winapi-0.3.9 \
		winapi-i686-pc-windows-gnu-0.4.0 \
		winapi-util-0.1.6 \
		winapi-x86_64-pc-windows-gnu-0.4.0 \
		windows-core-0.52.0 \
		windows-sys-0.48.0 \
		windows-sys-0.52.0 \
		windows-targets-0.48.5 \
		windows-targets-0.52.4 \
		windows_aarch64_gnullvm-0.48.5 \
		windows_aarch64_gnullvm-0.52.4 \
		windows_aarch64_msvc-0.48.5 \
		windows_aarch64_msvc-0.52.4 \
		windows_i686_gnu-0.48.5 \
		windows_i686_gnu-0.52.4 \
		windows_i686_msvc-0.48.5 \
		windows_i686_msvc-0.52.4 \
		windows_x86_64_gnu-0.48.5 \
		windows_x86_64_gnu-0.52.4 \
		windows_x86_64_gnullvm-0.48.5 \
		windows_x86_64_gnullvm-0.52.4 \
		windows_x86_64_msvc-0.48.5 \
		windows_x86_64_msvc-0.52.4 \
		winnow-0.5.40 \
		winnow-0.6.5 \
		x11rb-0.13.0 \
		x11rb-protocol-0.13.0 \
		yansi-0.5.1 \
		zerocopy-0.7.32 \
		zerocopy-derive-0.7.32

PLIST_FILES=	bin/${PORTNAME}

.include <bsd.port.mk>
