Files
ports/misc/rash/Makefile
T
2025-04-27 11:24:25 -07:00

321 lines
6.9 KiB
Makefile

PORTNAME= rash
DISTVERSIONPREFIX= v
DISTVERSION= 2.9.10
CATEGORIES= misc
MAINTAINER= yuri@FreeBSD.org
COMMENT= Declarative shell scripting using Rust native bindings
WWW= https://rash-sh.github.io \
https://github.com/rash-sh/rash
LICENSE= AGPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= cargo
USE_GITHUB= yes
GH_ACCOUNT= rash-sh
CARGO_CRATES= ahash-0.7.8 \
aho-corasick-1.1.3 \
android-tzdata-0.1.1 \
android_system_properties-0.1.5 \
anes-0.1.6 \
anstream-0.6.15 \
anstyle-1.0.8 \
anstyle-parse-0.2.5 \
anstyle-query-1.1.1 \
anstyle-wincon-3.0.4 \
anyhow-1.0.86 \
arrayvec-0.7.4 \
autocfg-1.3.0 \
base64-0.22.1 \
bincode-1.3.3 \
bitflags-1.3.2 \
bitflags-2.6.0 \
bitvec-1.0.1 \
block-buffer-0.10.4 \
borsh-1.5.1 \
borsh-derive-1.5.1 \
bstr-1.10.0 \
bumpalo-3.16.0 \
byte-unit-5.1.6 \
bytecheck-0.6.12 \
bytecheck_derive-0.6.12 \
byteorder-1.5.0 \
bytes-1.7.0 \
cargo-husky-1.5.0 \
cast-0.3.0 \
cc-1.1.7 \
cfg-if-0.1.10 \
cfg-if-1.0.0 \
cfg_aliases-0.2.1 \
chrono-0.4.40 \
ciborium-0.2.2 \
ciborium-io-0.2.2 \
ciborium-ll-0.2.2 \
clap-4.5.37 \
clap_builder-4.5.37 \
clap_complete-4.5.12 \
clap_derive-4.5.32 \
clap_lex-0.7.4 \
colorchoice-1.0.2 \
colored-2.1.0 \
console-0.15.11 \
core-foundation-sys-0.8.6 \
cpufeatures-0.2.12 \
criterion-0.5.1 \
criterion-plot-0.5.0 \
crossbeam-channel-0.5.15 \
crossbeam-deque-0.8.5 \
crossbeam-epoch-0.9.18 \
crossbeam-utils-0.8.20 \
crunchy-0.2.2 \
crypto-common-0.1.6 \
csv-1.3.0 \
csv-core-0.1.11 \
darling-0.20.10 \
darling_core-0.20.10 \
darling_macro-0.20.10 \
dbus-0.9.7 \
deranged-0.3.11 \
digest-0.10.7 \
dirs-5.0.1 \
dirs-next-2.0.0 \
dirs-sys-0.4.1 \
dirs-sys-next-0.1.2 \
dyn-clone-1.0.17 \
either-1.13.0 \
encode_unicode-1.0.0 \
env_filter-0.1.2 \
env_logger-0.11.8 \
equivalent-1.0.1 \
errno-0.2.8 \
errno-0.3.10 \
errno-dragonfly-0.1.2 \
error-chain-0.12.4 \
exec-0.3.1 \
fastrand-2.1.1 \
fern-0.7.1 \
fnv-1.0.7 \
funty-2.0.0 \
generic-array-0.14.7 \
getrandom-0.2.15 \
getrandom-0.3.1 \
git-state-0.1.0 \
glob-0.3.1 \
globset-0.4.15 \
half-2.4.1 \
handlebars-6.2.0 \
hashbrown-0.12.3 \
hashbrown-0.14.5 \
heck-0.5.0 \
hermit-abi-0.3.9 \
hex-0.4.3 \
home-0.5.9 \
iana-time-zone-0.1.60 \
iana-time-zone-haiku-0.1.2 \
ident_case-1.0.1 \
ignore-0.4.23 \
indexmap-1.9.3 \
indexmap-2.3.0 \
is-terminal-0.4.12 \
is_terminal_polyfill-1.70.1 \
itertools-0.10.5 \
itertools-0.14.0 \
itoa-1.0.11 \
jemalloc-sys-0.5.4+5.3.0-patched \
jemallocator-0.5.4 \
jiff-0.2.3 \
jiff-static-0.2.3 \
js-sys-0.3.69 \
kernel32-sys-0.2.2 \
lazy_static-1.5.0 \
libc-0.2.170 \
libdbus-sys-0.2.5 \
libredox-0.1.3 \
linux-raw-sys-0.4.14 \
linux-raw-sys-0.9.2 \
log-0.4.27 \
mdbook-0.4.48 \
memchr-2.7.4 \
memo-map-0.3.2 \
minijinja-2.9.0 \
mio-1.0.1 \
nix-0.17.0 \
nix-0.29.0 \
normpath-1.2.0 \
num-conv-0.1.0 \
num-modular-0.6.1 \
num-order-1.2.0 \
num-traits-0.2.19 \
ofiles-0.2.0 \
once_cell-1.19.0 \
oorandom-11.1.4 \
opener-0.7.1 \
option-ext-0.2.0 \
pest-2.7.11 \
pest_derive-2.7.11 \
pest_generator-2.7.11 \
pest_meta-2.7.11 \
pkg-config-0.3.30 \
plotters-0.3.6 \
plotters-backend-0.3.6 \
plotters-svg-0.3.6 \
portable-atomic-1.11.0 \
portable-atomic-util-0.2.4 \
powerfmt-0.2.0 \
ppv-lite86-0.2.18 \
prettytable-rs-0.10.0 \
proc-macro-crate-3.1.0 \
proc-macro-error-1.0.4 \
proc-macro-error-attr-1.0.4 \
proc-macro2-1.0.95 \
prs-lib-0.5.2 \
ptr_meta-0.1.4 \
ptr_meta_derive-0.1.4 \
pulldown-cmark-0.10.3 \
pulldown-cmark-escape-0.10.1 \
quote-1.0.40 \
radium-0.7.0 \
rand-0.8.5 \
rand-0.9.1 \
rand_chacha-0.3.1 \
rand_chacha-0.9.0 \
rand_core-0.6.4 \
rand_core-0.9.3 \
rayon-1.10.0 \
rayon-core-1.12.1 \
redox_users-0.4.5 \
regex-1.11.1 \
regex-automata-0.4.8 \
regex-syntax-0.8.5 \
rend-0.4.2 \
rkyv-0.7.44 \
rkyv_derive-0.7.44 \
rust_decimal-1.35.0 \
rustix-0.38.40 \
rustix-1.0.1 \
rustversion-1.0.17 \
ryu-1.0.18 \
same-file-1.0.6 \
schemars-0.8.22 \
schemars_derive-0.8.22 \
seahash-4.1.0 \
secstr-0.5.1 \
self_cell-1.0.4 \
semver-1.0.26 \
serde-1.0.219 \
serde-error-0.1.3 \
serde_derive-1.0.219 \
serde_derive_internals-0.29.1 \
serde_json-1.0.140 \
serde_with-3.12.0 \
serde_with_macros-3.12.0 \
serde_yaml-0.9.34+deprecated \
sha2-0.10.8 \
shellexpand-3.1.0 \
shlex-1.3.0 \
simdutf8-0.1.4 \
similar-2.7.0 \
strsim-0.11.1 \
strum-0.27.1 \
strum_macros-0.27.1 \
syn-1.0.109 \
syn-2.0.101 \
syn_derive-0.1.8 \
tap-1.0.1 \
tempfile-3.19.1 \
term-0.7.0 \
term_size-1.0.0-beta1 \
terminal_size-0.4.0 \
thiserror-1.0.63 \
thiserror-2.0.3 \
thiserror-impl-1.0.63 \
thiserror-impl-2.0.3 \
time-0.3.36 \
time-core-0.1.2 \
time-macros-0.2.18 \
tinytemplate-1.2.1 \
tinyvec-1.8.0 \
tinyvec_macros-0.1.1 \
toml-0.5.11 \
toml_datetime-0.6.8 \
toml_edit-0.21.1 \
topological-sort-0.2.2 \
typenum-1.17.0 \
ucd-trie-0.1.6 \
unicase-2.7.0 \
unicode-ident-1.0.12 \
unicode-width-0.1.13 \
unicode-width-0.2.0 \
unsafe-libyaml-0.2.11 \
utf8-width-0.1.7 \
utf8parse-0.2.2 \
uuid-1.10.0 \
version-compare-0.2.0 \
version_check-0.9.5 \
void-1.0.2 \
walkdir-2.5.0 \
wasi-0.11.0+wasi-snapshot-preview1 \
wasi-0.13.3+wasi-0.2.2 \
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 \
which-7.0.0 \
winapi-0.2.8 \
winapi-0.3.9 \
winapi-build-0.1.1 \
winapi-i686-pc-windows-gnu-0.4.0 \
winapi-util-0.1.8 \
winapi-x86_64-pc-windows-gnu-0.4.0 \
windows-0.58.0 \
windows-core-0.52.0 \
windows-core-0.58.0 \
windows-implement-0.58.0 \
windows-interface-0.58.0 \
windows-link-0.1.0 \
windows-result-0.2.0 \
windows-strings-0.1.0 \
windows-sys-0.48.0 \
windows-sys-0.52.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 \
winnow-0.5.40 \
winsafe-0.0.19 \
wit-bindgen-rt-0.33.0 \
wyz-0.5.1 \
zerocopy-0.6.6 \
zerocopy-derive-0.6.6 \
zeroize-1.8.1 \
ipc-channel@git+https://github.com/servo/ipc-channel?rev=82f6c49096b116208861f928862f9eefaf47c3c9\#82f6c49096b116208861f928862f9eefaf47c3c9
PLIST_FILES= bin/${PORTNAME}
do-install:
# workaround for error: found a virtual manifest at `xx` instead of a package manifest
${INSTALL_PROGRAM} \
${WRKDIR}/target/release/${PORTNAME} \
${STAGEDIR}${PREFIX}/bin/${PORTNAME}
.include <bsd.port.mk>