aboutsummaryrefslogtreecommitdiff
path: root/databases/diesel/Makefile
blob: 98dca98bbddea676b3959ef3150432cf95361fc4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
PORTNAME=	diesel
DISTVERSIONPREFIX=	v
DISTVERSION=	2.1.0
CATEGORIES=	databases
PKGNAMESUFFIX=	-cli

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Extensible ORM and Query Builder for Rust
WWW=		https://diesel.rs

LICENSE=	APACHE20 MIT
LICENSE_COMB=	dual
LICENSE_FILE_APACHE20=	${WRKSRC}/LICENSE-APACHE
LICENSE_FILE_MIT=	${WRKSRC}/LICENSE-MIT

USES=		cargo mysql pgsql sqlite

USE_GITHUB=	yes
GH_ACCOUNT=	diesel-rs

CARGO_BUILD_ARGS=	--package=diesel_cli
CARGO_INSTALL_PATH=	diesel_cli
CARGO_CRATES=	aho-corasick-1.0.1 \
		android_system_properties-0.1.5 \
		anstream-0.3.2 \
		anstyle-1.0.0 \
		anstyle-parse-0.2.0 \
		anstyle-query-1.0.0 \
		anstyle-wincon-1.0.1 \
		argon2-0.5.0 \
		assert_matches-1.5.0 \
		autocfg-1.1.0 \
		base64ct-1.6.0 \
		bigdecimal-0.3.1 \
		bitflags-1.3.2 \
		bitflags-2.3.1 \
		blake2-0.10.6 \
		block-buffer-0.10.4 \
		bumpalo-3.13.0 \
		byteorder-1.4.3 \
		cc-1.0.79 \
		cfg-if-1.0.0 \
		chrono-0.4.24 \
		clap-4.3.0 \
		clap_builder-4.3.0 \
		clap_complete-4.3.0 \
		clap_derive-4.3.0 \
		clap_lex-0.5.0 \
		colorchoice-1.0.0 \
		console-0.15.7 \
		core-foundation-sys-0.8.4 \
		crypto-common-0.1.6 \
		diffy-0.3.0 \
		digest-0.10.7 \
		dotenvy-0.15.7 \
		encode_unicode-0.3.6 \
		env_logger-0.8.4 \
		errno-0.3.1 \
		errno-dragonfly-0.1.2 \
		fastrand-1.9.0 \
		form_urlencoded-1.1.0 \
		generic-array-0.14.7 \
		getrandom-0.2.9 \
		hashbrown-0.12.3 \
		heck-0.4.1 \
		hermit-abi-0.3.1 \
		iana-time-zone-0.1.56 \
		iana-time-zone-haiku-0.1.2 \
		idna-0.3.0 \
		indexmap-1.9.3 \
		insta-1.29.0 \
		instant-0.1.12 \
		io-lifetimes-1.0.11 \
		ipnet-2.7.2 \
		ipnetwork-0.20.0 \
		is-terminal-0.4.7 \
		itoa-1.0.6 \
		js-sys-0.3.63 \
		lazy_static-1.4.0 \
		libc-0.2.144 \
		libsqlite3-sys-0.26.0 \
		linked-hash-map-0.5.6 \
		linux-raw-sys-0.3.8 \
		lock_api-0.4.9 \
		log-0.4.17 \
		memchr-2.5.0 \
		mysqlclient-sys-0.2.5 \
		nu-ansi-term-0.46.0 \
		num-bigint-0.4.3 \
		num-integer-0.1.45 \
		num-traits-0.2.15 \
		once_cell-1.17.1 \
		overload-0.1.1 \
		parking_lot-0.12.1 \
		parking_lot_core-0.9.7 \
		password-hash-0.5.0 \
		percent-encoding-2.2.0 \
		pkg-config-0.3.27 \
		ppv-lite86-0.2.17 \
		pq-sys-0.4.8 \
		proc-macro2-1.0.59 \
		quickcheck-1.0.3 \
		quote-1.0.28 \
		r2d2-0.8.10 \
		rand-0.8.5 \
		rand_chacha-0.3.1 \
		rand_core-0.6.4 \
		redox_syscall-0.2.16 \
		redox_syscall-0.3.5 \
		regex-1.8.3 \
		regex-syntax-0.7.2 \
		rustix-0.37.19 \
		ryu-1.0.13 \
		scheduled-thread-pool-0.2.7 \
		scopeguard-1.1.0 \
		serde-1.0.163 \
		serde_derive-1.0.163 \
		serde_json-1.0.96 \
		serde_regex-1.1.0 \
		serde_spanned-0.6.2 \
		similar-2.2.1 \
		smallvec-1.10.0 \
		strsim-0.10.0 \
		subtle-2.5.0 \
		syn-2.0.18 \
		tempfile-3.5.0 \
		time-0.3.21 \
		time-core-0.1.1 \
		time-macros-0.2.9 \
		tinyvec-1.6.0 \
		tinyvec_macros-0.1.1 \
		toml-0.7.4 \
		toml_datetime-0.6.2 \
		toml_edit-0.19.10 \
		typenum-1.16.0 \
		unicode-bidi-0.3.13 \
		unicode-ident-1.0.9 \
		unicode-normalization-0.1.22 \
		url-2.3.1 \
		utf8parse-0.2.1 \
		uuid-1.3.3 \
		vcpkg-0.2.15 \
		version_check-0.9.4 \
		wasi-0.11.0+wasi-snapshot-preview1 \
		wasm-bindgen-0.2.86 \
		wasm-bindgen-backend-0.2.86 \
		wasm-bindgen-macro-0.2.86 \
		wasm-bindgen-macro-support-0.2.86 \
		wasm-bindgen-shared-0.2.86 \
		winapi-0.3.9 \
		winapi-i686-pc-windows-gnu-0.4.0 \
		winapi-x86_64-pc-windows-gnu-0.4.0 \
		windows-0.48.0 \
		windows-sys-0.45.0 \
		windows-sys-0.48.0 \
		windows-targets-0.42.2 \
		windows-targets-0.48.0 \
		windows_aarch64_gnullvm-0.42.2 \
		windows_aarch64_gnullvm-0.48.0 \
		windows_aarch64_msvc-0.42.2 \
		windows_aarch64_msvc-0.48.0 \
		windows_i686_gnu-0.42.2 \
		windows_i686_gnu-0.48.0 \
		windows_i686_msvc-0.42.2 \
		windows_i686_msvc-0.48.0 \
		windows_x86_64_gnu-0.42.2 \
		windows_x86_64_gnu-0.48.0 \
		windows_x86_64_gnullvm-0.42.2 \
		windows_x86_64_gnullvm-0.48.0 \
		windows_x86_64_msvc-0.42.2 \
		windows_x86_64_msvc-0.48.0 \
		winnow-0.4.6 \
		yaml-rust-0.4.5

PLIST_FILES=	bin/${PORTNAME}

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

.include <bsd.port.mk>