289 lines
6.4 KiB
Makefile
289 lines
6.4 KiB
Makefile
PORTNAME= diesel
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 2.3.11
|
|
CATEGORIES= databases
|
|
PKGNAMESUFFIX= -cli
|
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
|
COMMENT= Extensible ORM and Query Builder for Rust
|
|
WWW= https://diesel.rs \
|
|
https://github.com/diesel-rs/diesel
|
|
|
|
LICENSE= APACHE20 MIT
|
|
LICENSE_COMB= dual
|
|
LICENSE_FILE_APACHE20= ${WRKSRC}/LICENSE-APACHE
|
|
LICENSE_FILE_MIT= ${WRKSRC}/LICENSE-MIT
|
|
|
|
USES= cargo cpe mysql pgsql sqlite
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= diesel-rs
|
|
|
|
CARGO_BUILD_ARGS= --package=diesel_cli
|
|
CARGO_INSTALL_PATH= diesel_cli
|
|
CARGO_CRATES= accessory-2.1.0 \
|
|
aho-corasick-1.1.4 \
|
|
android_system_properties-0.1.5 \
|
|
anstream-1.0.0 \
|
|
anstyle-1.0.14 \
|
|
anstyle-parse-1.0.0 \
|
|
anstyle-query-1.1.5 \
|
|
anstyle-wincon-3.0.11 \
|
|
argon2-0.5.3 \
|
|
assert_cmd-2.2.2 \
|
|
assert_matches-1.5.0 \
|
|
async-trait-0.1.89 \
|
|
autocfg-1.5.1 \
|
|
base64ct-1.8.3 \
|
|
bigdecimal-0.4.10 \
|
|
bitflags-2.13.0 \
|
|
blake2-0.10.6 \
|
|
block-buffer-0.10.4 \
|
|
bstr-1.12.3 \
|
|
bumpalo-3.20.3 \
|
|
byteorder-1.5.0 \
|
|
camino-1.2.4 \
|
|
cargo-platform-0.3.3 \
|
|
cargo_metadata-0.23.1 \
|
|
cast-0.3.0 \
|
|
cc-1.2.67 \
|
|
cfg-if-1.0.4 \
|
|
chrono-0.4.45 \
|
|
clap-4.6.1 \
|
|
clap_builder-4.6.0 \
|
|
clap_complete-4.6.7 \
|
|
clap_derive-4.6.1 \
|
|
clap_lex-1.1.0 \
|
|
cmake-0.1.58 \
|
|
colorchoice-1.0.5 \
|
|
console-0.15.11 \
|
|
console-0.16.4 \
|
|
core-foundation-sys-0.8.7 \
|
|
cpufeatures-0.2.17 \
|
|
crypto-common-0.1.7 \
|
|
darling-0.21.3 \
|
|
darling_core-0.21.3 \
|
|
darling_macro-0.21.3 \
|
|
delegate-display-3.0.0 \
|
|
deranged-0.5.8 \
|
|
derive_more-2.1.1 \
|
|
derive_more-impl-2.1.1 \
|
|
difflib-0.4.0 \
|
|
diffy-0.4.2 \
|
|
digest-0.10.7 \
|
|
displaydoc-0.2.6 \
|
|
dotenvy-0.15.7 \
|
|
downcast-rs-2.0.2 \
|
|
dunce-1.0.5 \
|
|
either-1.16.0 \
|
|
encode_unicode-1.0.0 \
|
|
env_filter-2.0.0 \
|
|
env_logger-0.11.11 \
|
|
errno-0.3.14 \
|
|
fancy_constructor-2.1.0 \
|
|
fastrand-2.4.1 \
|
|
fd-lock-4.0.4 \
|
|
find-msvc-tools-0.1.9 \
|
|
fnv-1.0.7 \
|
|
foldhash-0.2.0 \
|
|
form_urlencoded-1.2.2 \
|
|
futures-core-0.3.32 \
|
|
futures-task-0.3.32 \
|
|
futures-util-0.3.32 \
|
|
generic-array-0.14.7 \
|
|
getrandom-0.2.17 \
|
|
getrandom-0.3.4 \
|
|
getrandom-0.4.3 \
|
|
hashbrown-0.16.1 \
|
|
heck-0.5.0 \
|
|
iana-time-zone-0.1.65 \
|
|
iana-time-zone-haiku-0.1.2 \
|
|
icu_collections-2.2.0 \
|
|
icu_locale_core-2.2.0 \
|
|
icu_normalizer-2.2.0 \
|
|
icu_normalizer_data-2.2.0 \
|
|
icu_properties-2.2.0 \
|
|
icu_properties_data-2.2.0 \
|
|
icu_provider-2.2.0 \
|
|
ident_case-1.0.1 \
|
|
idna-1.1.0 \
|
|
idna_adapter-1.2.2 \
|
|
impartial-ord-1.0.6 \
|
|
indexed_db_futures-0.6.4 \
|
|
indexed_db_futures_macros_internal-1.0.0 \
|
|
insta-1.48.0 \
|
|
ipnet-2.12.0 \
|
|
ipnetwork-0.21.1 \
|
|
is_terminal_polyfill-1.70.2 \
|
|
itoa-1.0.18 \
|
|
js-sys-0.3.103 \
|
|
lazy_static-1.5.0 \
|
|
libc-0.2.186 \
|
|
libm-0.2.16 \
|
|
libsqlite3-sys-0.37.0 \
|
|
link-cplusplus-1.0.12 \
|
|
linux-raw-sys-0.12.1 \
|
|
litemap-0.8.2 \
|
|
lock_api-0.4.14 \
|
|
log-0.4.33 \
|
|
macroific-2.0.0 \
|
|
macroific_attr_parse-2.0.0 \
|
|
macroific_core-2.0.0 \
|
|
macroific_macro-2.0.0 \
|
|
matchers-0.2.0 \
|
|
memchr-2.8.3 \
|
|
minicov-0.3.8 \
|
|
mysqlclient-src-0.2.2+9.5.0 \
|
|
mysqlclient-sys-0.5.2 \
|
|
nu-ansi-term-0.50.3 \
|
|
num-bigint-0.4.8 \
|
|
num-conv-0.2.2 \
|
|
num-integer-0.1.46 \
|
|
num-traits-0.2.19 \
|
|
once_cell-1.21.4 \
|
|
once_cell_polyfill-1.70.2 \
|
|
oorandom-11.1.5 \
|
|
openssl-src-300.6.1+3.6.3 \
|
|
openssl-sys-0.9.117 \
|
|
parking_lot-0.12.5 \
|
|
parking_lot_core-0.9.12 \
|
|
password-hash-0.5.0 \
|
|
percent-encoding-2.3.2 \
|
|
pin-project-lite-0.2.17 \
|
|
pkg-config-0.3.33 \
|
|
potential_utf-0.1.5 \
|
|
powerfmt-0.2.0 \
|
|
ppv-lite86-0.2.21 \
|
|
pq-src-0.3.11+libpq-18.3 \
|
|
pq-sys-0.7.5 \
|
|
predicates-3.1.4 \
|
|
predicates-core-1.0.10 \
|
|
predicates-tree-1.0.13 \
|
|
prettyplease-0.2.37 \
|
|
proc-macro2-1.0.106 \
|
|
quickcheck-1.1.0 \
|
|
quote-1.0.46 \
|
|
r-efi-5.3.0 \
|
|
r-efi-6.0.0 \
|
|
r2d2-0.8.10 \
|
|
rand-0.9.5 \
|
|
rand-0.10.2 \
|
|
rand_chacha-0.9.0 \
|
|
rand_core-0.6.4 \
|
|
rand_core-0.9.5 \
|
|
rand_core-0.10.1 \
|
|
redox_syscall-0.5.18 \
|
|
regex-1.13.0 \
|
|
regex-automata-0.4.15 \
|
|
regex-syntax-0.8.11 \
|
|
rsqlite-vfs-0.1.1 \
|
|
rustc_version-0.4.1 \
|
|
rustix-1.1.4 \
|
|
rustversion-1.0.23 \
|
|
same-file-1.0.6 \
|
|
scheduled-thread-pool-0.2.7 \
|
|
scopeguard-1.2.0 \
|
|
sealed-0.6.0 \
|
|
semver-1.0.28 \
|
|
serde-1.0.228 \
|
|
serde-wasm-bindgen-0.6.5 \
|
|
serde_core-1.0.228 \
|
|
serde_derive-1.0.228 \
|
|
serde_json-1.0.150 \
|
|
serde_regex-1.2.0 \
|
|
serde_spanned-1.1.1 \
|
|
sharded-slab-0.1.7 \
|
|
shlex-2.0.1 \
|
|
similar-2.7.0 \
|
|
similar-asserts-1.7.0 \
|
|
slab-0.4.12 \
|
|
smallvec-1.15.2 \
|
|
sqlite-wasm-rs-0.5.5 \
|
|
sqlite-wasm-vfs-0.1.1 \
|
|
stable_deref_trait-1.2.1 \
|
|
strsim-0.11.1 \
|
|
subtle-2.6.1 \
|
|
syn-2.0.118 \
|
|
synstructure-0.13.2 \
|
|
tempfile-3.27.0 \
|
|
termtree-0.5.1 \
|
|
thiserror-2.0.18 \
|
|
thiserror-impl-2.0.18 \
|
|
thread_local-1.1.10 \
|
|
time-0.3.53 \
|
|
time-core-0.1.9 \
|
|
time-macros-0.2.31 \
|
|
tinystr-0.8.3 \
|
|
tokio-1.52.3 \
|
|
toml-1.1.2+spec-1.1.0 \
|
|
toml_datetime-1.1.1+spec-1.1.0 \
|
|
toml_parser-1.1.2+spec-1.1.0 \
|
|
tracing-0.1.44 \
|
|
tracing-attributes-0.1.31 \
|
|
tracing-core-0.1.36 \
|
|
tracing-log-0.2.0 \
|
|
tracing-subscriber-0.3.23 \
|
|
typenum-1.20.1 \
|
|
unicode-ident-1.0.24 \
|
|
unicode-segmentation-1.13.3 \
|
|
unicode-xid-0.2.6 \
|
|
url-2.5.8 \
|
|
utf8_iter-1.0.4 \
|
|
utf8parse-0.2.2 \
|
|
uuid-1.23.4 \
|
|
valuable-0.1.1 \
|
|
vcpkg-0.2.15 \
|
|
version_check-0.9.5 \
|
|
wait-timeout-0.2.1 \
|
|
walkdir-2.5.0 \
|
|
wasi-0.11.1+wasi-snapshot-preview1 \
|
|
wasip2-1.0.4+wasi-0.2.12 \
|
|
wasm-bindgen-0.2.126 \
|
|
wasm-bindgen-futures-0.4.76 \
|
|
wasm-bindgen-macro-0.2.126 \
|
|
wasm-bindgen-macro-support-0.2.126 \
|
|
wasm-bindgen-shared-0.2.126 \
|
|
wasm-bindgen-test-0.3.76 \
|
|
wasm-bindgen-test-macro-0.3.76 \
|
|
wasm-bindgen-test-shared-0.2.126 \
|
|
web-sys-0.3.103 \
|
|
winapi-util-0.1.11 \
|
|
windows-core-0.62.2 \
|
|
windows-implement-0.60.2 \
|
|
windows-interface-0.59.3 \
|
|
windows-link-0.2.1 \
|
|
windows-result-0.4.1 \
|
|
windows-strings-0.5.1 \
|
|
windows-sys-0.59.0 \
|
|
windows-sys-0.61.2 \
|
|
windows-targets-0.52.6 \
|
|
windows_aarch64_gnullvm-0.52.6 \
|
|
windows_aarch64_msvc-0.52.6 \
|
|
windows_i686_gnu-0.52.6 \
|
|
windows_i686_gnullvm-0.52.6 \
|
|
windows_i686_msvc-0.52.6 \
|
|
windows_x86_64_gnu-0.52.6 \
|
|
windows_x86_64_gnullvm-0.52.6 \
|
|
windows_x86_64_msvc-0.52.6 \
|
|
winnow-1.0.3 \
|
|
wit-bindgen-0.57.1 \
|
|
writeable-0.6.3 \
|
|
yoke-0.8.3 \
|
|
yoke-derive-0.8.2 \
|
|
zerocopy-0.8.54 \
|
|
zerocopy-derive-0.8.54 \
|
|
zerofrom-0.1.8 \
|
|
zerofrom-derive-0.1.7 \
|
|
zerotrie-0.2.4 \
|
|
zerovec-0.11.6 \
|
|
zerovec-derive-0.11.3 \
|
|
zmij-1.0.21
|
|
|
|
PLIST_FILES= bin/${PORTNAME}
|
|
|
|
post-patch:
|
|
${CP} ${FILESDIR}/bindings_8_0_35_powerpc64_freebsd.rs \
|
|
${WRKSRC}/cargo-crates/mysqlclient-sys-0.5.2/bindings/
|
|
|
|
.include <bsd.port.mk>
|