PORTNAME=	cocogitto
DISTVERSION=	5.3.1
PORTREVISION=	2
CATEGORIES=	devel

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Conventional commits toolbox
WWW=		https://github.com/cocogitto/cocogitto

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE

USES=		cargo
USE_GITHUB=	yes

CARGO_CRATES=	aho-corasick-0.7.20 \
		android_system_properties-0.1.5 \
		anyhow-1.0.68 \
		assert_cmd-1.0.8 \
		async-trait-0.1.63 \
		atty-0.2.14 \
		autocfg-1.1.0 \
		bitflags-1.3.2 \
		block-buffer-0.10.3 \
		bstr-0.2.17 \
		bstr-1.1.0 \
		bumpalo-3.12.0 \
		cc-1.0.78 \
		cfg-if-1.0.0 \
		chrono-0.4.23 \
		chrono-tz-0.6.3 \
		chrono-tz-build-0.0.3 \
		clap-4.1.1 \
		clap_complete-4.1.0 \
		clap_complete_nushell-0.1.8 \
		clap_derive-4.1.0 \
		clap_lex-0.3.1 \
		clap_mangen-0.2.7 \
		cmd_lib-1.3.0 \
		cmd_lib_macros-1.3.0 \
		codespan-reporting-0.11.1 \
		colored-2.0.0 \
		config-0.12.0 \
		conventional_commit_parser-0.9.4 \
		core-foundation-sys-0.8.3 \
		cpufeatures-0.2.5 \
		crypto-common-0.1.6 \
		ctor-0.1.26 \
		cxx-1.0.87 \
		cxx-build-1.0.87 \
		cxxbridge-flags-1.0.87 \
		cxxbridge-macro-1.0.87 \
		deunicode-0.4.3 \
		diff-0.1.13 \
		difference-2.0.0 \
		difflib-0.4.0 \
		digest-0.10.6 \
		doc-comment-0.3.3 \
		edit-0.1.4 \
		either-1.8.0 \
		errno-0.2.8 \
		errno-dragonfly-0.1.2 \
		faccess-0.2.4 \
		fastrand-1.8.0 \
		float-cmp-0.8.0 \
		fnv-1.0.7 \
		form_urlencoded-1.1.0 \
		fs_extra-1.2.0 \
		generic-array-0.14.6 \
		getrandom-0.1.16 \
		getrandom-0.2.8 \
		git2-0.16.1 \
		globset-0.4.10 \
		globwalk-0.8.1 \
		heck-0.4.0 \
		hermit-abi-0.1.19 \
		hermit-abi-0.2.6 \
		humansize-1.1.1 \
		iana-time-zone-0.1.53 \
		iana-time-zone-haiku-0.1.1 \
		idna-0.3.0 \
		ignore-0.4.20 \
		indoc-1.0.8 \
		instant-0.1.12 \
		io-lifetimes-1.0.4 \
		is-terminal-0.4.2 \
		itertools-0.10.5 \
		itoa-1.0.5 \
		jobserver-0.1.25 \
		js-sys-0.3.60 \
		lazy_static-1.4.0 \
		libc-0.2.139 \
		libgit2-sys-0.14.2+1.5.1 \
		libz-sys-1.1.8 \
		link-cplusplus-1.0.8 \
		linux-raw-sys-0.1.4 \
		log-0.4.17 \
		memchr-2.5.0 \
		minimal-lexical-0.2.1 \
		nom-7.1.3 \
		normalize-line-endings-0.3.0 \
		num-0.4.0 \
		num-bigint-0.4.3 \
		num-complex-0.4.3 \
		num-integer-0.1.45 \
		num-iter-0.1.43 \
		num-rational-0.4.1 \
		num-traits-0.2.15 \
		once_cell-1.17.0 \
		os_pipe-0.9.2 \
		os_str_bytes-6.4.1 \
		output_vt100-0.1.3 \
		parse-zoneinfo-0.3.0 \
		pathdiff-0.2.1 \
		percent-encoding-2.2.0 \
		pest-2.5.3 \
		pest_derive-2.5.3 \
		pest_generator-2.5.3 \
		pest_meta-2.5.3 \
		phf-0.11.1 \
		phf_codegen-0.11.1 \
		phf_generator-0.11.1 \
		phf_shared-0.11.1 \
		pkg-config-0.3.26 \
		ppv-lite86-0.2.17 \
		predicates-1.0.8 \
		predicates-2.1.5 \
		predicates-core-1.0.5 \
		predicates-tree-1.0.7 \
		pretty_assertions-1.3.0 \
		proc-macro-error-1.0.4 \
		proc-macro-error-attr-1.0.4 \
		proc-macro2-1.0.50 \
		quick-error-1.2.3 \
		quote-1.0.23 \
		rand-0.7.3 \
		rand-0.8.5 \
		rand_chacha-0.2.2 \
		rand_chacha-0.3.1 \
		rand_core-0.5.1 \
		rand_core-0.6.4 \
		rand_hc-0.2.0 \
		redox_syscall-0.2.16 \
		regex-1.7.1 \
		regex-automata-0.1.10 \
		regex-syntax-0.6.28 \
		remove_dir_all-0.5.3 \
		roff-0.2.1 \
		rustix-0.36.7 \
		rusty-forkfork-0.4.0 \
		ryu-1.0.12 \
		same-file-1.0.6 \
		scratch-1.0.3 \
		sealed_test-1.0.0 \
		sealed_test_derive-1.0.0 \
		semver-1.0.16 \
		serde-1.0.152 \
		serde_derive-1.0.152 \
		serde_json-1.0.91 \
		sha2-0.10.6 \
		shell-words-1.1.0 \
		siphasher-0.3.10 \
		slug-0.1.4 \
		speculoos-0.11.0 \
		stderrlog-0.5.4 \
		strsim-0.10.0 \
		syn-1.0.107 \
		tempfile-3.3.0 \
		tera-1.17.1 \
		termcolor-1.1.3 \
		termtree-0.4.0 \
		thiserror-1.0.38 \
		thiserror-impl-1.0.38 \
		thread_local-1.1.4 \
		time-0.1.45 \
		tinyvec-1.6.0 \
		tinyvec_macros-0.1.0 \
		toml-0.5.11 \
		typenum-1.16.0 \
		ucd-trie-0.1.5 \
		uncased-0.9.7 \
		unic-char-property-0.9.0 \
		unic-char-range-0.9.0 \
		unic-common-0.9.0 \
		unic-segment-0.9.0 \
		unic-ucd-segment-0.9.0 \
		unic-ucd-version-0.9.0 \
		unicode-bidi-0.3.10 \
		unicode-ident-1.0.6 \
		unicode-normalization-0.1.22 \
		unicode-width-0.1.10 \
		url-2.3.1 \
		vcpkg-0.2.15 \
		version_check-0.9.4 \
		wait-timeout-0.2.0 \
		walkdir-2.3.2 \
		wasi-0.9.0+wasi-snapshot-preview1 \
		wasi-0.10.0+wasi-snapshot-preview1 \
		wasi-0.11.0+wasi-snapshot-preview1 \
		wasm-bindgen-0.2.83 \
		wasm-bindgen-backend-0.2.83 \
		wasm-bindgen-macro-0.2.83 \
		wasm-bindgen-macro-support-0.2.83 \
		wasm-bindgen-shared-0.2.83 \
		which-4.4.0 \
		winapi-0.3.9 \
		winapi-i686-pc-windows-gnu-0.4.0 \
		winapi-util-0.1.5 \
		winapi-x86_64-pc-windows-gnu-0.4.0 \
		windows-sys-0.42.0 \
		windows_aarch64_gnullvm-0.42.1 \
		windows_aarch64_msvc-0.42.1 \
		windows_i686_gnu-0.42.1 \
		windows_i686_msvc-0.42.1 \
		windows_x86_64_gnu-0.42.1 \
		windows_x86_64_gnullvm-0.42.1 \
		windows_x86_64_msvc-0.42.1 \
		yansi-0.5.1

PLIST_FILES=	bin/cog

post-install:
	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/cog

.include <bsd.port.mk>
