blob: e8a99d0cf14541bd8eba06b11a7f85f48b63b8b2 (
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
|
PORTNAME= swayr
DISTVERSIONPREFIX= v
DISTVERSION= 0.10.1
CATEGORIES= x11
MASTER_SITES= https://git.sr.ht/~tsdh/${PORTNAME}/archive/${DISTVERSIONFULL}${EXTRACT_SUFX}?dummy=/
# XXX Teach USES=cargo to not override default DISTFILES
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= jbeich@FreeBSD.org
COMMENT= Urgent-first/LRU window switcher for sway
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= cargo
PLIST_FILES= bin/${PORTNAME} \
bin/${PORTNAME}d
CARGO_CRATES= aho-corasick-0.7.18 \
atty-0.2.14 \
autocfg-1.0.1 \
bitflags-1.3.2 \
cfg-if-1.0.0 \
clap-3.0.0-beta.5 \
clap_derive-3.0.0-beta.5 \
directories-4.0.1 \
dirs-sys-0.3.6 \
getrandom-0.2.3 \
hashbrown-0.11.2 \
heck-0.3.3 \
hermit-abi-0.1.19 \
indexmap-1.7.0 \
itoa-0.4.8 \
lazy_static-1.4.0 \
libc-0.2.108 \
memchr-2.4.1 \
os_str_bytes-4.2.0 \
ppv-lite86-0.2.15 \
proc-macro-error-1.0.4 \
proc-macro-error-attr-1.0.4 \
proc-macro2-1.0.32 \
quote-1.0.10 \
rand-0.8.4 \
rand_chacha-0.3.1 \
rand_core-0.6.3 \
rand_hc-0.3.1 \
redox_syscall-0.2.10 \
redox_users-0.4.0 \
regex-1.5.4 \
regex-syntax-0.6.25 \
ryu-1.0.5 \
serde-1.0.130 \
serde_derive-1.0.130 \
serde_json-1.0.71 \
strsim-0.10.0 \
swayipc-3.0.0-alpha.3 \
swayipc-types-1.0.0-alpha.3 \
syn-1.0.81 \
termcolor-1.1.2 \
textwrap-0.14.2 \
thiserror-1.0.30 \
thiserror-impl-1.0.30 \
toml-0.5.8 \
unicase-2.6.0 \
unicode-segmentation-1.8.0 \
unicode-width-0.1.9 \
unicode-xid-0.2.2 \
version_check-0.9.3 \
wasi-0.10.2+wasi-snapshot-preview1 \
winapi-0.3.9 \
winapi-i686-pc-windows-gnu-0.4.0 \
winapi-util-0.1.5 \
winapi-x86_64-pc-windows-gnu-0.4.0
post-patch:
# Respect PREFIX for config and icons
@${REINPLACE_CMD} -e 's,/usr/share,${DATADIR:H},' \
-e 's,/etc,${PREFIX}&,' \
${WRKSRC}/src/config.rs \
${WRKSRC}/src/util.rs
.include <bsd.port.mk>
|