PORTNAME=	fclones
DISTVERSIONPREFIX=	v
DISTVERSION=	0.35.0
PORTREVISION=	7
CATEGORIES=	sysutils

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Efficient duplicate file finder
WWW=		https://github.com/pkolaczk/fclones

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/../LICENSE

USES=		cargo

USE_GITHUB=	yes
GH_ACCOUNT=	pkolaczk

WRKSRC_SUBDIR=	fclones

CARGO_CRATES=	aho-corasick-1.1.3 \
		android-tzdata-0.1.1 \
		android_system_properties-0.1.5 \
		ansi-escapes-0.1.1 \
		anstream-0.6.18 \
		anstyle-1.0.10 \
		anstyle-parse-0.2.6 \
		anstyle-query-1.1.2 \
		anstyle-wincon-3.0.7 \
		arrayref-0.3.9 \
		arrayvec-0.7.6 \
		assert_matches-1.5.0 \
		atty-0.2.14 \
		autocfg-1.4.0 \
		bincode-1.3.3 \
		bitflags-1.3.2 \
		bitflags-2.9.0 \
		blake3-1.6.1 \
		block-buffer-0.10.4 \
		bstr-1.11.3 \
		bumpalo-3.17.0 \
		byte-unit-4.0.19 \
		byteorder-1.5.0 \
		bytesize-1.3.2 \
		cc-1.2.16 \
		cfg-if-1.0.0 \
		cfg_aliases-0.2.1 \
		chrono-0.4.40 \
		clap-4.5.31 \
		clap_builder-4.5.31 \
		clap_complete-4.5.46 \
		clap_derive-4.5.28 \
		clap_lex-0.7.4 \
		colorchoice-1.0.3 \
		console-0.15.11 \
		constant_time_eq-0.3.1 \
		core-foundation-sys-0.8.7 \
		cpufeatures-0.2.17 \
		crc32fast-1.4.2 \
		crossbeam-channel-0.5.14 \
		crossbeam-deque-0.8.6 \
		crossbeam-epoch-0.9.18 \
		crossbeam-utils-0.8.21 \
		crypto-common-0.1.6 \
		csv-1.3.1 \
		csv-core-0.1.12 \
		dashmap-5.5.3 \
		digest-0.10.7 \
		dirs-5.0.1 \
		dirs-sys-0.4.1 \
		dtparse-2.0.1 \
		dunce-1.0.5 \
		either-1.14.0 \
		encode_unicode-1.0.0 \
		equivalent-1.0.2 \
		errno-0.3.10 \
		fallible-iterator-0.3.0 \
		fastrand-2.3.0 \
		fiemap-0.1.2 \
		file-owner-0.1.2 \
		filetime-0.2.25 \
		fs2-0.4.3 \
		fxhash-0.2.1 \
		generic-array-0.14.7 \
		getrandom-0.2.15 \
		getrandom-0.3.1 \
		globset-0.4.16 \
		hashbrown-0.12.3 \
		hashbrown-0.14.5 \
		hashbrown-0.15.2 \
		heck-0.5.0 \
		hermit-abi-0.1.19 \
		hermit-abi-0.3.9 \
		hex-0.4.3 \
		iana-time-zone-0.1.61 \
		iana-time-zone-haiku-0.1.2 \
		ignore-0.4.23 \
		indexmap-1.9.3 \
		indexmap-2.7.1 \
		instant-0.1.13 \
		is_terminal_polyfill-1.70.1 \
		itertools-0.11.0 \
		itoa-1.0.15 \
		js-sys-0.3.77 \
		keccak-0.1.5 \
		lazy-init-0.5.1 \
		lazy_static-1.5.0 \
		libc-0.2.170 \
		libredox-0.1.3 \
		linux-raw-sys-0.4.15 \
		lock_api-0.4.12 \
		log-0.4.26 \
		maplit-1.0.2 \
		memchr-2.7.4 \
		metrohash-1.0.7 \
		minimal-lexical-0.2.1 \
		nix-0.27.1 \
		nix-0.29.0 \
		nom-7.1.3 \
		nom-regex-0.2.0 \
		ntapi-0.4.1 \
		num-traits-0.2.19 \
		num_cpus-1.16.0 \
		once_cell-1.20.3 \
		option-ext-0.2.0 \
		parking_lot-0.11.2 \
		parking_lot_core-0.8.6 \
		parking_lot_core-0.9.10 \
		pin-project-1.1.10 \
		pin-project-internal-1.1.10 \
		ppv-lite86-0.2.20 \
		priority-queue-1.4.0 \
		proc-macro2-1.0.94 \
		quote-1.0.39 \
		rand-0.8.5 \
		rand_chacha-0.3.1 \
		rand_core-0.6.4 \
		rayon-1.10.0 \
		rayon-core-1.12.1 \
		redox_syscall-0.2.16 \
		redox_syscall-0.5.10 \
		redox_users-0.4.6 \
		reflink-0.1.3 \
		regex-1.11.1 \
		regex-automata-0.4.9 \
		regex-syntax-0.8.5 \
		rust_decimal-1.36.0 \
		rustix-0.38.44 \
		rustversion-1.0.20 \
		ryu-1.0.20 \
		same-file-1.0.6 \
		scopeguard-1.2.0 \
		serde-1.0.218 \
		serde_derive-1.0.218 \
		serde_json-1.0.140 \
		serde_test-1.0.177 \
		sha2-0.10.8 \
		sha3-0.10.8 \
		shlex-1.3.0 \
		sled-0.34.7 \
		smallvec-1.14.0 \
		status-line-0.2.0 \
		stfu8-0.2.7 \
		strsim-0.11.1 \
		syn-2.0.99 \
		sysinfo-0.29.11 \
		tempfile-3.17.1 \
		terminal_size-0.4.1 \
		thiserror-1.0.69 \
		thiserror-impl-1.0.69 \
		thread_local-1.1.8 \
		typed-sled-0.2.3 \
		typenum-1.18.0 \
		unicode-ident-1.0.18 \
		unicode-width-0.2.0 \
		utf8-width-0.1.7 \
		utf8parse-0.2.2 \
		uuid-1.15.1 \
		version_check-0.9.5 \
		walkdir-2.5.0 \
		wasi-0.11.0+wasi-snapshot-preview1 \
		wasi-0.13.3+wasi-0.2.2 \
		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 \
		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.0 \
		windows-sys-0.48.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 \
		wit-bindgen-rt-0.33.0 \
		xattr-1.4.0 \
		xxhash-rust-0.8.15 \
		zerocopy-0.7.35 \
		zerocopy-derive-0.7.35

PLIST_FILES=	bin/${PORTNAME}

.include <bsd.port.mk>
