freebsd-ports/devel/git-branchless/Makefile
2023-04-23 15:14:05 +02:00

396 lines
8.6 KiB
Makefile

PORTNAME= git-branchless
DISTVERSIONPREFIX= v
DISTVERSION= 0.7.1
PORTREVISION= 1
CATEGORIES= devel
MAINTAINER= yuri@FreeBSD.org
COMMENT= High-velocity, monorepo-scale workflow for Git
WWW= https://github.com/arxanas/git-branchless
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= cargo
USE_GITHUB= yes
GH_ACCOUNT= arxanas
CARGO_BUILD_ARGS= --package=git-branchless
CARGO_INSTALL_PATH= git-branchless
CARGO_CRATES= addr2line-0.19.0 \
adler-1.0.2 \
ahash-0.7.6 \
ahash-0.8.3 \
aho-corasick-0.7.20 \
android_system_properties-0.1.5 \
anes-0.1.6 \
ansi_term-0.12.1 \
anstyle-0.3.5 \
anyhow-1.0.70 \
arrayvec-0.7.2 \
ascii-canvas-3.0.0 \
assert_cmd-2.0.10 \
async-trait-0.1.67 \
atty-0.2.14 \
autocfg-1.1.0 \
backtrace-0.3.67 \
beef-0.5.2 \
bit-set-0.5.3 \
bit-vec-0.6.3 \
bitflags-1.3.2 \
bitflags-2.0.1 \
bstr-1.4.0 \
bugreport-0.5.0 \
bumpalo-3.12.0 \
byteorder-1.4.3 \
bytes-1.4.0 \
cassowary-0.3.0 \
cast-0.3.0 \
cc-1.0.73 \
cfg-if-1.0.0 \
chashmap-2.2.2 \
chrono-0.4.24 \
chrono-english-0.1.7 \
chronoutil-0.2.3 \
ciborium-0.2.0 \
ciborium-io-0.2.0 \
ciborium-ll-0.2.0 \
clap-3.2.23 \
clap-4.1.11 \
clap_derive-4.1.9 \
clap_lex-0.2.4 \
clap_lex-0.3.3 \
clap_mangen-0.2.10 \
codespan-reporting-0.11.1 \
color-eyre-0.6.2 \
color-spantrace-0.2.0 \
concolor-0.0.12 \
concolor-query-0.1.0 \
console-0.15.5 \
core-foundation-sys-0.8.3 \
criterion-0.4.0 \
criterion-plot-0.5.0 \
crossbeam-0.8.2 \
crossbeam-channel-0.5.7 \
crossbeam-deque-0.8.3 \
crossbeam-epoch-0.9.14 \
crossbeam-queue-0.3.8 \
crossbeam-utils-0.8.15 \
crossterm-0.25.0 \
crossterm-0.26.1 \
crossterm_winapi-0.9.0 \
crunchy-0.2.2 \
cursive-0.20.0 \
cursive_buffered_backend-0.6.1 \
cursive_core-0.3.7 \
cxx-1.0.93 \
cxx-build-1.0.93 \
cxxbridge-flags-1.0.93 \
cxxbridge-macro-1.0.93 \
darling-0.14.4 \
darling_core-0.14.4 \
darling_macro-0.14.4 \
defer-drop-1.3.0 \
derive_builder-0.11.2 \
derive_builder_core-0.11.2 \
derive_builder_macro-0.11.2 \
diff-0.1.13 \
difflib-0.4.0 \
dirs-next-2.0.0 \
dirs-sys-next-0.1.2 \
doc-comment-0.3.3 \
downcast-rs-1.2.0 \
either-1.8.1 \
ena-0.14.2 \
encode_unicode-0.3.6 \
enum-map-2.5.0 \
enum-map-derive-0.11.0 \
enumset-1.0.12 \
enumset_derive-0.6.1 \
env_logger-0.9.3 \
errno-0.2.8 \
errno-dragonfly-0.1.2 \
esl01-atomicfile-0.3.0 \
esl01-dag-0.3.0 \
esl01-dag-types-0.3.0 \
esl01-drawdag-0.3.0 \
esl01-indexedlog-0.3.0 \
esl01-mincode-0.3.0 \
esl01-minibytes-0.3.0 \
esl01-nonblocking-0.3.0 \
esl01-renderdag-0.3.0 \
esl01-vlqencoding-0.3.0 \
eyre-0.6.8 \
fail-0.4.0 \
fallible-iterator-0.2.0 \
fallible-streaming-iterator-0.1.9 \
fastrand-1.9.0 \
filedescriptor-0.8.2 \
fixedbitset-0.4.2 \
fnv-1.0.7 \
form_urlencoded-1.1.0 \
fs2-0.4.3 \
fslock-0.2.1 \
fuchsia-cprng-0.1.1 \
futures-0.3.27 \
futures-channel-0.3.27 \
futures-core-0.3.27 \
futures-executor-0.3.27 \
futures-io-0.3.27 \
futures-macro-0.3.27 \
futures-sink-0.3.27 \
futures-task-0.3.27 \
futures-util-0.3.27 \
fuzzy-matcher-0.3.7 \
getrandom-0.1.16 \
getrandom-0.2.8 \
gimli-0.27.2 \
git-version-0.3.5 \
git-version-macro-0.3.5 \
git2-0.16.1 \
glob-0.3.1 \
half-1.8.2 \
hashbrown-0.12.3 \
hashlink-0.8.1 \
heck-0.4.1 \
hermit-abi-0.1.19 \
hermit-abi-0.2.6 \
hermit-abi-0.3.1 \
hex-0.4.3 \
humantime-2.1.0 \
iana-time-zone-0.1.53 \
iana-time-zone-haiku-0.1.1 \
ident_case-1.0.1 \
idna-0.3.0 \
indenter-0.3.3 \
indexmap-1.9.2 \
indicatif-0.17.3 \
insta-1.28.0 \
instant-0.1.12 \
io-lifetimes-1.0.8 \
ioctl-rs-0.1.6 \
is-terminal-0.4.5 \
itertools-0.10.5 \
itoa-1.0.6 \
jobserver-0.1.26 \
js-sys-0.3.61 \
json-0.12.4 \
lalrpop-0.19.8 \
lalrpop-util-0.19.8 \
lazy_static-1.4.0 \
libc-0.2.140 \
libgit2-sys-0.14.2+1.5.1 \
libm-0.2.6 \
libsqlite3-sys-0.25.2 \
libz-sys-1.1.8 \
link-cplusplus-1.0.8 \
linked-hash-map-0.5.6 \
linux-raw-sys-0.1.4 \
lock_api-0.4.9 \
log-0.4.17 \
man-0.3.0 \
maplit-1.0.2 \
matchers-0.1.0 \
maybe-uninit-2.0.0 \
memchr-2.5.0 \
memmap-0.7.0 \
memoffset-0.6.5 \
memoffset-0.8.0 \
miniz_oxide-0.6.2 \
mio-0.8.6 \
new_debug_unreachable-1.0.4 \
nix-0.24.3 \
nix-0.25.1 \
num-0.4.0 \
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 \
num_cpus-1.15.0 \
num_threads-0.1.6 \
number_prefix-0.4.0 \
object-0.30.3 \
once_cell-1.17.1 \
oorandom-11.1.3 \
os_str_bytes-6.4.1 \
owning_ref-0.3.3 \
owning_ref-0.4.1 \
owo-colors-3.5.0 \
parking_lot-0.4.8 \
parking_lot-0.12.1 \
parking_lot_core-0.2.14 \
parking_lot_core-0.9.7 \
path-slash-0.2.1 \
percent-encoding-2.2.0 \
petgraph-0.6.3 \
phf_shared-0.10.0 \
pico-args-0.4.2 \
pin-project-lite-0.2.9 \
pin-utils-0.1.0 \
pkg-config-0.3.26 \
plotters-0.3.4 \
plotters-backend-0.3.4 \
plotters-svg-0.3.3 \
portable-atomic-0.3.19 \
portable-pty-0.8.1 \
ppv-lite86-0.2.17 \
precomputed-hash-0.1.1 \
predicates-3.0.1 \
predicates-core-1.0.6 \
predicates-tree-1.0.9 \
proc-macro-error-1.0.4 \
proc-macro-error-attr-1.0.4 \
proc-macro-hack-0.5.20+deprecated \
proc-macro2-1.0.52 \
proptest-1.1.0 \
quick-error-1.2.3 \
quick-error-2.0.1 \
quote-1.0.26 \
rand-0.4.6 \
rand-0.7.3 \
rand-0.8.5 \
rand_chacha-0.2.2 \
rand_chacha-0.3.1 \
rand_core-0.3.1 \
rand_core-0.4.2 \
rand_core-0.5.1 \
rand_core-0.6.4 \
rand_hc-0.2.0 \
rand_xorshift-0.3.0 \
rayon-1.7.0 \
rayon-core-1.11.0 \
rdrand-0.4.0 \
redox_syscall-0.2.16 \
redox_users-0.4.3 \
regex-1.7.1 \
regex-automata-0.1.10 \
regex-syntax-0.6.28 \
roff-0.1.0 \
roff-0.2.1 \
rusqlite-0.28.0 \
rustc-demangle-0.1.21 \
rustix-0.36.10 \
rustversion-1.0.12 \
rusty-fork-0.3.0 \
ryu-1.0.13 \
same-file-1.0.6 \
scanlex-0.1.4 \
scopeguard-1.1.0 \
scratch-1.0.5 \
serde-1.0.157 \
serde_derive-1.0.157 \
serde_json-1.0.94 \
serial-0.4.0 \
serial-core-0.4.0 \
serial-unix-0.4.0 \
serial-windows-0.4.0 \
sharded-slab-0.1.4 \
shared_library-0.1.9 \
shell-escape-0.1.5 \
shell-words-1.1.0 \
shlex-1.1.0 \
signal-hook-0.3.15 \
signal-hook-mio-0.2.3 \
signal-hook-registry-1.4.1 \
similar-2.2.1 \
siphasher-0.3.10 \
skim-0.10.4 \
slab-0.4.8 \
smallvec-0.6.14 \
smallvec-1.10.0 \
smawk-0.3.1 \
stable_deref_trait-1.2.0 \
static_assertions-1.1.0 \
string_cache-0.8.7 \
strsim-0.10.0 \
syn-1.0.109 \
syn-2.0.2 \
sys-info-0.9.1 \
tempfile-3.4.0 \
term-0.7.0 \
termcolor-1.2.0 \
termios-0.2.2 \
termtree-0.4.1 \
textwrap-0.16.0 \
thiserror-1.0.40 \
thiserror-impl-1.0.40 \
thread_local-1.1.7 \
time-0.1.45 \
time-0.3.20 \
time-core-0.1.0 \
time-macros-0.2.8 \
timer-0.2.0 \
tiny-keccak-2.0.2 \
tinytemplate-1.2.1 \
tinyvec-1.6.0 \
tinyvec_macros-0.1.1 \
tracing-0.1.37 \
tracing-attributes-0.1.23 \
tracing-chrome-0.6.0 \
tracing-core-0.1.30 \
tracing-error-0.2.0 \
tracing-log-0.1.3 \
tracing-subscriber-0.3.11 \
tui-0.19.0 \
tuikit-0.5.0 \
twox-hash-1.6.3 \
unarray-0.1.4 \
unicode-bidi-0.3.12 \
unicode-ident-1.0.8 \
unicode-linebreak-0.1.4 \
unicode-normalization-0.1.22 \
unicode-segmentation-1.10.1 \
unicode-width-0.1.10 \
unicode-xid-0.2.4 \
url-2.3.1 \
utf8parse-0.2.1 \
valuable-0.1.0 \
vcpkg-0.2.15 \
version_check-0.9.4 \
vt100-0.15.2 \
vte-0.11.0 \
vte_generate_state_changes-0.1.1 \
wait-timeout-0.2.0 \
walkdir-2.3.3 \
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.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 \
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-sys-0.45.0 \
windows-targets-0.42.2 \
windows_aarch64_gnullvm-0.42.2 \
windows_aarch64_msvc-0.42.2 \
windows_i686_gnu-0.42.2 \
windows_i686_msvc-0.42.2 \
windows_x86_64_gnu-0.42.2 \
windows_x86_64_gnullvm-0.42.2 \
windows_x86_64_msvc-0.42.2 \
winreg-0.10.1 \
xi-unicode-0.3.0 \
yaml-rust-0.4.5
PLIST_FILES= bin/${PORTNAME}
# sys-info-0.9.1 crate fix: https://github.com/FillZpp/sys-info-rs/issues/80 (same as in devel/git-delta)
post-patch:
@${REINPLACE_CMD} \
-e '/get_cpu/s|unsigned long|uint64_t|' \
-e '/get_proc_total/s|unsigned long|uint64_t|' \
${WRKSRC}/cargo-crates/sys-info-*/c/*.[ch]
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
.include <bsd.port.mk>