ports/devel/git-branchless/Makefile
Siva Mahadevan c0d07f1127 */*: remove STRIP_CMD calls in rust based ports
This is not needed after bc4fedc1fe

PR:		246993
Differential Revision:	https://reviews.freebsd.org/D46503
2024-09-10 12:58:07 +02:00

438 lines
9.6 KiB
Makefile

PORTNAME= git-branchless
DISTVERSIONPREFIX= v
DISTVERSION= 0.9.0
PORTREVISION= 2
CATEGORIES= devel
MAINTAINER= yuri@FreeBSD.org
COMMENT= High-velocity, monorepo-scale workflow for Git
WWW= https://github.com/arxanas/git-branchless
LICENSE= APACHE20 MIT
LICENSE_COMB= dual
LICENSE_FILE_APACHE20= ${WRKSRC}/LICENSE-APACHE
LICENSE_FILE_MIT= ${WRKSRC}/LICENSE-MIT
USES= cargo
USE_GITHUB= yes
GH_ACCOUNT= arxanas
CARGO_BUILD_ARGS= --package=git-branchless
CARGO_INSTALL_PATH= git-branchless
CARGO_CRATES= addr2line-0.21.0 \
adler-1.0.2 \
ahash-0.8.11 \
aho-corasick-1.1.3 \
allocator-api2-0.2.18 \
android-tzdata-0.1.1 \
android_system_properties-0.1.5 \
anes-0.1.6 \
ansi_term-0.12.1 \
anstream-0.6.13 \
anstyle-1.0.6 \
anstyle-parse-0.2.3 \
anstyle-query-1.0.2 \
anstyle-wincon-3.0.2 \
anyhow-1.0.82 \
arrayvec-0.7.4 \
ascii-canvas-3.0.0 \
assert_cmd-2.0.14 \
async-trait-0.1.80 \
atty-0.2.14 \
autocfg-1.2.0 \
backtrace-0.3.71 \
beef-0.5.2 \
bit-set-0.5.3 \
bit-vec-0.6.3 \
bitflags-1.3.2 \
bitflags-2.5.0 \
block-buffer-0.10.4 \
bstr-1.9.1 \
bugreport-0.5.0 \
bumpalo-3.16.0 \
byteorder-1.5.0 \
bytes-1.6.0 \
cassowary-0.3.0 \
cast-0.3.0 \
castaway-0.2.2 \
cc-1.0.94 \
cfg-if-1.0.0 \
chashmap-2.2.2 \
chrono-0.4.34 \
chrono-english-0.1.7 \
chronoutil-0.2.7 \
ciborium-0.2.2 \
ciborium-io-0.2.2 \
ciborium-ll-0.2.2 \
clap-3.2.25 \
clap-4.5.4 \
clap_builder-4.5.2 \
clap_derive-4.5.4 \
clap_lex-0.2.4 \
clap_lex-0.7.0 \
clap_mangen-0.2.20 \
color-eyre-0.6.3 \
color-spantrace-0.2.1 \
colorchoice-1.0.0 \
compact_str-0.7.1 \
concolor-0.1.1 \
concolor-query-0.3.3 \
console-0.15.8 \
core-foundation-sys-0.8.6 \
cpufeatures-0.2.12 \
criterion-0.5.1 \
criterion-plot-0.5.0 \
crossbeam-0.8.4 \
crossbeam-channel-0.5.12 \
crossbeam-deque-0.8.5 \
crossbeam-epoch-0.9.18 \
crossbeam-queue-0.3.11 \
crossbeam-utils-0.8.19 \
crossterm-0.25.0 \
crossterm-0.27.0 \
crossterm_winapi-0.9.1 \
crunchy-0.2.2 \
crypto-common-0.1.6 \
cursive-0.20.0 \
cursive_buffered_backend-0.6.1 \
cursive_core-0.3.7 \
darling-0.14.4 \
darling-0.20.8 \
darling_core-0.14.4 \
darling_core-0.20.8 \
darling_macro-0.14.4 \
darling_macro-0.20.8 \
defer-drop-1.3.0 \
deranged-0.3.11 \
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 \
diffy-0.3.0 \
digest-0.10.7 \
dirs-next-2.0.0 \
dirs-sys-next-0.1.2 \
doc-comment-0.3.3 \
downcast-rs-1.2.1 \
either-1.11.0 \
ena-0.14.2 \
encode_unicode-0.3.6 \
enum-map-2.7.3 \
enum-map-derive-0.17.0 \
enumset-1.1.3 \
enumset_derive-0.8.1 \
env_logger-0.9.3 \
equivalent-1.0.1 \
errno-0.3.8 \
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.12 \
fail-0.4.0 \
fallible-iterator-0.2.0 \
fallible-streaming-iterator-0.1.9 \
fastrand-2.0.2 \
filedescriptor-0.8.2 \
fixedbitset-0.4.2 \
fnv-1.0.7 \
form_urlencoded-1.2.1 \
fs2-0.4.3 \
fslock-0.2.1 \
fuchsia-cprng-0.1.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-util-0.3.30 \
fuzzy-matcher-0.3.7 \
generic-array-0.14.7 \
getrandom-0.1.16 \
getrandom-0.2.14 \
gimli-0.28.1 \
git-version-0.3.9 \
git-version-macro-0.3.9 \
git2-0.18.3 \
glob-0.3.1 \
half-2.4.1 \
hashbrown-0.12.3 \
hashbrown-0.14.3 \
hashlink-0.8.4 \
heck-0.4.1 \
heck-0.5.0 \
hermit-abi-0.1.19 \
hermit-abi-0.3.9 \
hex-0.4.3 \
humantime-2.1.0 \
iana-time-zone-0.1.60 \
iana-time-zone-haiku-0.1.2 \
ident_case-1.0.1 \
idna-0.5.0 \
indenter-0.3.3 \
indexmap-1.9.3 \
indexmap-2.2.6 \
indicatif-0.17.8 \
insta-1.38.0 \
instant-0.1.12 \
ioctl-rs-0.1.6 \
is-terminal-0.4.12 \
itertools-0.10.5 \
itertools-0.12.1 \
itoa-1.0.11 \
jobserver-0.1.30 \
js-sys-0.3.69 \
json-0.12.4 \
lalrpop-0.19.12 \
lalrpop-util-0.19.12 \
lazy_static-1.4.0 \
libc-0.2.153 \
libgit2-sys-0.16.2+1.7.2 \
libm-0.2.8 \
libredox-0.1.3 \
libsqlite3-sys-0.26.0 \
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.21 \
lru-0.12.3 \
man-0.3.0 \
maplit-1.0.2 \
matchers-0.1.0 \
maybe-uninit-2.0.0 \
memchr-2.7.2 \
memmap-0.7.0 \
memoffset-0.6.5 \
miniz_oxide-0.7.2 \
mio-0.8.11 \
new_debug_unreachable-1.0.6 \
nix-0.24.3 \
nix-0.25.1 \
nu-ansi-term-0.46.0 \
num-0.4.2 \
num-complex-0.4.5 \
num-conv-0.1.0 \
num-integer-0.1.46 \
num-iter-0.1.44 \
num-rational-0.4.1 \
num-traits-0.2.18 \
num_cpus-1.16.0 \
num_threads-0.1.7 \
number_prefix-0.4.0 \
object-0.32.2 \
once_cell-1.19.0 \
oorandom-11.1.3 \
os_str_bytes-6.6.1 \
overload-0.1.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.9 \
paste-1.0.14 \
path-slash-0.2.1 \
percent-encoding-2.3.1 \
petgraph-0.6.4 \
phf_shared-0.10.0 \
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 \
portable-atomic-1.6.0 \
portable-pty-0.8.1 \
powerfmt-0.2.0 \
ppv-lite86-0.2.17 \
precomputed-hash-0.1.1 \
predicates-3.1.0 \
predicates-core-1.0.6 \
predicates-tree-1.0.9 \
proc-macro2-1.0.79 \
proptest-1.4.0 \
quick-error-1.2.3 \
quote-1.0.36 \
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 \
ratatui-0.26.3 \
rayon-1.10.0 \
rayon-core-1.12.1 \
rdrand-0.4.0 \
redox_syscall-0.4.1 \
redox_users-0.4.5 \
regex-1.10.4 \
regex-automata-0.1.10 \
regex-automata-0.4.6 \
regex-syntax-0.6.29 \
regex-syntax-0.8.3 \
roff-0.1.0 \
roff-0.2.1 \
rusqlite-0.29.0 \
rustc-demangle-0.1.23 \
rustix-0.38.32 \
rustversion-1.0.15 \
rusty-fork-0.3.0 \
ryu-1.0.17 \
same-file-1.0.6 \
scanlex-0.1.4 \
scm-record-0.3.0 \
scopeguard-1.2.0 \
serde-1.0.198 \
serde_derive-1.0.198 \
serde_json-1.0.116 \
serial-0.4.0 \
serial-core-0.4.0 \
serial-unix-0.4.0 \
serial-windows-0.4.0 \
sha1-0.10.6 \
sharded-slab-0.1.7 \
shared_library-0.1.9 \
shell-escape-0.1.5 \
shell-words-1.1.0 \
shlex-1.3.0 \
signal-hook-0.3.17 \
signal-hook-mio-0.2.3 \
signal-hook-registry-1.4.1 \
similar-2.5.0 \
siphasher-0.3.11 \
skim-0.10.4 \
slab-0.4.9 \
smallvec-0.6.14 \
smallvec-1.13.2 \
smawk-0.3.2 \
stability-0.2.0 \
stable_deref_trait-1.2.0 \
static_assertions-1.1.0 \
string_cache-0.8.7 \
strsim-0.10.0 \
strsim-0.11.1 \
strum-0.26.2 \
strum_macros-0.26.2 \
syn-1.0.109 \
syn-2.0.58 \
sys-info-0.9.1 \
tempfile-3.10.1 \
term-0.7.0 \
termcolor-1.4.1 \
termios-0.2.2 \
termtree-0.4.1 \
textwrap-0.16.1 \
thiserror-1.0.59 \
thiserror-impl-1.0.59 \
thread_local-1.1.8 \
time-0.3.36 \
time-core-0.1.2 \
time-macros-0.2.18 \
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.40 \
tracing-attributes-0.1.27 \
tracing-chrome-0.6.0 \
tracing-core-0.1.32 \
tracing-error-0.2.0 \
tracing-log-0.1.4 \
tracing-subscriber-0.3.11 \
tuikit-0.5.0 \
twox-hash-1.6.3 \
typenum-1.17.0 \
unarray-0.1.4 \
unicode-bidi-0.3.15 \
unicode-ident-1.0.12 \
unicode-linebreak-0.1.5 \
unicode-normalization-0.1.23 \
unicode-segmentation-1.11.0 \
unicode-truncate-1.0.0 \
unicode-width-0.1.11 \
unicode-xid-0.2.4 \
url-2.5.0 \
utf8parse-0.2.1 \
valuable-0.1.0 \
vcpkg-0.2.15 \
version_check-0.9.4 \
vt100-0.15.2 \
vte-0.11.1 \
vte_generate_state_changes-0.1.1 \
wait-timeout-0.2.0 \
walkdir-2.5.0 \
wasi-0.9.0+wasi-snapshot-preview1 \
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.45.0 \
windows-sys-0.48.0 \
windows-sys-0.52.0 \
windows-targets-0.42.2 \
windows-targets-0.48.5 \
windows-targets-0.52.5 \
windows_aarch64_gnullvm-0.42.2 \
windows_aarch64_gnullvm-0.48.5 \
windows_aarch64_gnullvm-0.52.5 \
windows_aarch64_msvc-0.42.2 \
windows_aarch64_msvc-0.48.5 \
windows_aarch64_msvc-0.52.5 \
windows_i686_gnu-0.42.2 \
windows_i686_gnu-0.48.5 \
windows_i686_gnu-0.52.5 \
windows_i686_gnullvm-0.52.5 \
windows_i686_msvc-0.42.2 \
windows_i686_msvc-0.48.5 \
windows_i686_msvc-0.52.5 \
windows_x86_64_gnu-0.42.2 \
windows_x86_64_gnu-0.48.5 \
windows_x86_64_gnu-0.52.5 \
windows_x86_64_gnullvm-0.42.2 \
windows_x86_64_gnullvm-0.48.5 \
windows_x86_64_gnullvm-0.52.5 \
windows_x86_64_msvc-0.42.2 \
windows_x86_64_msvc-0.48.5 \
windows_x86_64_msvc-0.52.5 \
winreg-0.10.1 \
xi-unicode-0.3.0 \
zerocopy-0.7.32 \
zerocopy-derive-0.7.32
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]
.include <bsd.port.mk>