PORTNAME=	git-workspace
DISTVERSIONPREFIX=	v
DISTVERSION=	1.2.1
PORTREVISION=	5
CATEGORIES=	devel

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Sync personal and work git repositories from multiple providers
WWW=		https://github.com/orf/git-workspace

LICENSE=	MIT

USES=		cargo

USE_GITHUB=	yes
GH_ACCOUNT=	orf

CARGO_CRATES=	adler-1.0.2 \
		aho-corasick-0.7.20 \
		ansi_term-0.12.1 \
		anyhow-1.0.69 \
		arrayref-0.3.6 \
		arrayvec-0.5.2 \
		ascii-0.9.3 \
		atomic-counter-1.0.1 \
		atty-0.2.14 \
		autocfg-1.1.0 \
		base64-0.13.1 \
		bitflags-1.3.2 \
		blake2b_simd-0.5.11 \
		bstr-1.3.0 \
		bumpalo-3.12.0 \
		byteorder-1.4.3 \
		cc-1.0.79 \
		cfg-if-1.0.0 \
		clap-2.34.0 \
		combine-3.8.1 \
		console-0.15.5 \
		constant_time_eq-0.1.5 \
		crc32fast-1.3.2 \
		crossbeam-channel-0.5.7 \
		crossbeam-deque-0.8.3 \
		crossbeam-epoch-0.9.14 \
		crossbeam-utils-0.8.15 \
		dirs-1.0.5 \
		either-1.8.1 \
		encode_unicode-0.3.6 \
		expanduser-1.2.2 \
		flate2-1.0.25 \
		fnv-1.0.7 \
		form_urlencoded-1.1.0 \
		fs_extra-1.3.0 \
		getrandom-0.1.16 \
		git2-0.16.1 \
		globset-0.4.10 \
		graphql-introspection-query-0.2.0 \
		graphql-parser-0.4.0 \
		graphql_client-0.12.0 \
		graphql_client_codegen-0.12.0 \
		graphql_query_derive-0.12.0 \
		hashbrown-0.12.3 \
		heck-0.3.3 \
		heck-0.4.1 \
		hermit-abi-0.1.19 \
		hermit-abi-0.2.6 \
		idna-0.3.0 \
		indexmap-1.9.2 \
		indicatif-0.17.3 \
		itoa-1.0.6 \
		jobserver-0.1.26 \
		js-sys-0.3.61 \
		lazy_static-1.4.0 \
		libc-0.2.139 \
		libgit2-sys-0.14.2+1.5.1 \
		libz-sys-1.1.8 \
		log-0.4.17 \
		memchr-2.5.0 \
		memoffset-0.8.0 \
		miniz_oxide-0.6.2 \
		num_cpus-1.15.0 \
		number_prefix-0.4.0 \
		once_cell-1.17.1 \
		percent-encoding-2.2.0 \
		pkg-config-0.3.26 \
		portable-atomic-0.3.19 \
		proc-macro-error-1.0.4 \
		proc-macro-error-attr-1.0.4 \
		proc-macro2-1.0.51 \
		pwd-1.4.0 \
		quote-1.0.23 \
		rayon-1.7.0 \
		rayon-core-1.11.0 \
		redox_syscall-0.1.57 \
		redox_users-0.3.5 \
		regex-1.7.1 \
		regex-syntax-0.6.28 \
		ring-0.16.20 \
		rust-argon2-0.8.3 \
		rustls-0.20.8 \
		ryu-1.0.13 \
		same-file-1.0.6 \
		scopeguard-1.1.0 \
		sct-0.7.0 \
		serde-1.0.152 \
		serde_derive-1.0.152 \
		serde_json-1.0.93 \
		serde_spanned-0.6.1 \
		spin-0.5.2 \
		strsim-0.8.0 \
		structopt-0.3.26 \
		structopt-derive-0.4.18 \
		syn-1.0.109 \
		textwrap-0.11.0 \
		thiserror-1.0.38 \
		thiserror-impl-1.0.38 \
		tinyvec-1.6.0 \
		tinyvec_macros-0.1.1 \
		toml-0.7.2 \
		toml_datetime-0.6.1 \
		toml_edit-0.19.4 \
		unicode-bidi-0.3.10 \
		unicode-ident-1.0.7 \
		unicode-normalization-0.1.22 \
		unicode-segmentation-1.10.1 \
		unicode-width-0.1.10 \
		unreachable-1.0.0 \
		untrusted-0.7.1 \
		ureq-2.6.2 \
		url-2.3.1 \
		vcpkg-0.2.15 \
		vec_map-0.8.2 \
		version_check-0.9.4 \
		void-1.0.2 \
		walkdir-2.3.2 \
		wasi-0.9.0+wasi-snapshot-preview1 \
		wasm-bindgen-0.2.84 \
		wasm-bindgen-backend-0.2.84 \
		wasm-bindgen-macro-0.2.84 \
		wasm-bindgen-macro-support-0.2.84 \
		wasm-bindgen-shared-0.2.84 \
		web-sys-0.3.61 \
		webpki-0.22.0 \
		webpki-roots-0.22.6 \
		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 \
		winnow-0.3.3

PLIST_FILES=	bin/${PORTNAME}

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

.include <bsd.port.mk>
