blob: 796e4c49b21ed8c4265174580025b2991b68f44e (
plain)
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
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
|
# $FreeBSD$
PORTNAME= ion
DISTVERSION= 1.0.5-1355
PORTREVISION= 11
CATEGORIES= shells
PKGNAMESUFFIX= -shell
MAINTAINER= tobik@FreeBSD.org
COMMENT= Modern system shell written in Rust
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= cargo
USE_GITHUB= nodefault
GH_TUPLE= alkis:decimal:972c8547a0a76c7ad9a314e28a335aa57d46a543:decimal
USE_GITLAB= yes
GL_SITE= https://gitlab.redox-os.org
GL_ACCOUNT= redox-os
GL_COMMIT= a8872014dbce730ccd00aaa722397dc394a52bf4
GL_TUPLE= redox-os:calc:afba9c5d184ddb9db5e4e71dc357da0499e212cf:calculate \
redox-os:liner:3f3d1d4e6058067e9d03a9b1510d8f2edac073c7:liner \
redox-os:small:022635fcb0b0b631b3a06c79c45fa8ebaf4f64f5:small \
redox-os:termion:c27678efc2ed14576361c7ce6d806a6bb576f1a9:termion
CARGO_CRATES= adler32-1.0.3 \
aho-corasick-0.7.4 \
andrew-0.2.1 \
android_glue-0.2.3 \
ansi_term-0.11.0 \
approx-0.3.2 \
arrayvec-0.4.11 \
atty-0.2.13 \
auto_enums-0.5.9 \
auto_enums_core-0.5.9 \
auto_enums_derive-0.5.9 \
autocfg-0.1.5 \
backtrace-0.3.33 \
backtrace-sys-0.1.31 \
bitflags-1.1.0 \
block-0.1.6 \
bstr-0.2.4 \
bytecount-0.1.7 \
bytecount-0.3.2 \
byteorder-1.3.2 \
c2-chacha-0.2.2 \
cast-0.2.2 \
cc-1.0.37 \
cfg-if-0.1.9 \
cgl-0.2.3 \
clap-2.33.0 \
cloudabi-0.0.3 \
cocoa-0.18.4 \
color_quant-1.0.1 \
core-foundation-0.6.4 \
core-foundation-sys-0.6.2 \
core-graphics-0.17.3 \
criterion-0.2.11 \
criterion-plot-0.3.1 \
crossbeam-deque-0.6.3 \
crossbeam-epoch-0.7.1 \
crossbeam-queue-0.1.2 \
crossbeam-utils-0.6.5 \
csv-1.1.1 \
csv-core-0.1.6 \
darling-0.9.0 \
darling_core-0.9.0 \
darling_macro-0.9.0 \
deflate-0.7.20 \
derivative-1.0.2 \
derive_utils-0.7.2 \
dlib-0.4.1 \
downcast-rs-1.0.4 \
draw_state-0.8.0 \
either-1.5.2 \
err-derive-0.1.5 \
errno-dragonfly-0.1.1 \
failure-0.1.5 \
failure_derive-0.1.5 \
fnv-1.0.6 \
foreign-types-0.3.2 \
foreign-types-shared-0.1.1 \
fuchsia-cprng-0.1.1 \
gcc-0.3.55 \
getrandom-0.1.6 \
gfx-0.17.1 \
gfx_core-0.8.3 \
gfx_device_gl-0.15.5 \
gfx_gl-0.5.0 \
gif-0.10.2 \
gl-0.11.0 \
gl_generator-0.10.0 \
gl_generator-0.11.0 \
gl_generator-0.9.0 \
gleam-0.6.18 \
glob-0.3.0 \
glutin-0.21.0 \
glutin_egl_sys-0.1.3 \
glutin_emscripten_sys-0.1.0 \
glutin_gles2_sys-0.1.3 \
glutin_glx_sys-0.1.5 \
glutin_wgl_sys-0.1.3 \
hashbrown-0.5.0 \
heck-0.3.1 \
ident_case-1.0.1 \
image-0.21.2 \
inflate-0.4.5 \
interpolation-0.2.0 \
itertools-0.8.0 \
itoa-0.4.4 \
jpeg-decoder-0.1.15 \
khronos_api-2.2.0 \
khronos_api-3.1.0 \
lazy_static-1.3.0 \
lexical-2.2.1 \
lexical-core-0.4.2 \
libc-0.2.60 \
libloading-0.5.2 \
line_drawing-0.7.0 \
lock_api-0.1.5 \
log-0.4.7 \
lzw-0.10.0 \
malloc_buf-0.0.6 \
memchr-2.2.1 \
memmap-0.7.0 \
memoffset-0.2.1 \
nix-0.14.1 \
nodrop-0.1.13 \
num-0.2.0 \
num-bigint-0.2.2 \
num-complex-0.2.3 \
num-derive-0.2.5 \
num-integer-0.1.41 \
num-iter-0.1.39 \
num-rational-0.2.2 \
num-traits-0.2.8 \
num_cpus-1.10.1 \
numtoa-0.1.0 \
objc-0.2.6 \
object-pool-0.3.1 \
ordered-float-1.0.2 \
osmesa-sys-0.1.2 \
owning_ref-0.4.0 \
parking_lot-0.7.1 \
parking_lot_core-0.4.0 \
percent-encoding-1.0.1 \
permutate-0.3.2 \
piston-0.49.0 \
piston-ai_behavior-0.31.0 \
piston-float-1.0.0 \
piston-gfx_texture-0.36.0 \
piston-graphics_api_version-0.2.0 \
piston-shaders_graphics2d-0.3.1 \
piston-texture-0.6.0 \
piston-viewport-1.0.0 \
piston2d-gfx_graphics-0.61.0 \
piston2d-graphics-0.32.0 \
piston2d-sprite-0.55.0 \
piston_window-0.100.0 \
pistoncore-event_loop-0.49.0 \
pistoncore-glutin_window-0.63.0 \
pistoncore-input-0.28.0 \
pistoncore-window-0.44.0 \
pkg-config-0.3.14 \
png-0.14.1 \
ppv-lite86-0.2.5 \
proc-macro2-0.4.30 \
quote-0.6.13 \
rand-0.4.6 \
rand-0.6.5 \
rand-0.7.0 \
rand_chacha-0.1.1 \
rand_chacha-0.2.0 \
rand_core-0.3.1 \
rand_core-0.4.0 \
rand_core-0.5.0 \
rand_hc-0.1.0 \
rand_hc-0.2.0 \
rand_isaac-0.1.1 \
rand_jitter-0.1.4 \
rand_os-0.1.3 \
rand_pcg-0.1.2 \
rand_xorshift-0.1.1 \
rand_xoshiro-0.1.0 \
rayon-1.1.0 \
rayon-core-1.5.0 \
rdrand-0.4.0 \
read_color-1.0.0 \
redox_syscall-0.1.56 \
redox_termios-0.1.1 \
regex-1.2.0 \
regex-automata-0.1.8 \
regex-syntax-0.6.10 \
rustc-demangle-0.1.15 \
rustc_version-0.2.3 \
rusttype-0.7.7 \
ryu-0.2.8 \
ryu-1.0.0 \
same-file-1.0.5 \
scoped_threadpool-0.1.9 \
scopeguard-0.3.3 \
semver-0.9.0 \
semver-parser-0.7.0 \
serde-1.0.97 \
serde_derive-1.0.97 \
serde_json-1.0.40 \
serial_test-0.2.0 \
serial_test_derive-0.2.0 \
shader_version-0.6.0 \
shared_library-0.1.9 \
smallvec-0.6.10 \
smithay-client-toolkit-0.4.6 \
spin-0.5.0 \
stable_deref_trait-1.1.1 \
stackvector-1.0.6 \
static_assertions-0.2.5 \
stb_truetype-0.2.6 \
strsim-0.7.0 \
strsim-0.8.0 \
structopt-0.2.18 \
structopt-derive-0.2.18 \
syn-0.15.40 \
synstructure-0.10.2 \
textwrap-0.11.0 \
thread_local-0.3.6 \
tiff-0.2.2 \
tinytemplate-1.0.2 \
ucd-util-0.1.5 \
unicode-segmentation-1.3.0 \
unicode-width-0.1.5 \
unicode-xid-0.1.0 \
unreachable-1.0.0 \
users-0.9.1 \
utf8-ranges-1.0.3 \
uuid-0.6.5 \
vec_map-0.8.1 \
vecmath-1.0.0 \
version_check-0.9.1 \
void-1.0.2 \
walkdir-2.2.9 \
wayland-client-0.21.13 \
wayland-commons-0.21.13 \
wayland-protocols-0.21.13 \
wayland-scanner-0.21.13 \
wayland-sys-0.21.13 \
winapi-0.3.7 \
winapi-i686-pc-windows-gnu-0.4.0 \
winapi-util-0.1.2 \
winapi-x86_64-pc-windows-gnu-0.4.0 \
winit-0.19.1 \
x11-dl-2.18.3 \
xdg-2.2.0 \
xml-rs-0.7.0 \
xml-rs-0.8.0
CARGO_USE_GITHUB= yes
CARGO_USE_GITLAB= yes
CONFLICTS_INSTALL= ion
OPTIONS_DEFINE= DOCS EXAMPLES
# liner-0.4.4 does not build with Rust 1.40.0. Use the newer copy
# that is also already available.
post-patch:
@${REINPLACE_CMD} 's,^liner = .*,liner = \{ path = "${WRKSRC_liner}" \},' \
${WRKSRC_calculate}/Cargo.toml
post-configure:
${ECHO_CMD} ${GL_COMMIT} > ${WRKSRC}/git_revision.txt
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/ion
post-install-DOCS-on:
@cd ${WRKSRC}/manual/src && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
post-install-EXAMPLES-on:
@cd ${WRKSRC}/tests && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>
|