blob: 053009c7e7665305d2cda5be70533655bcb622bb (
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
|
PORTNAME= exa
DISTVERSIONPREFIX= v
DISTVERSION= 0.10.1
PORTREVISION= 4
CATEGORIES= sysutils
MAINTAINER= mikael@FreeBSD.org
COMMENT= Modern replacement for ls
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENCE
LIB_DEPENDS= libgit2.so:devel/libgit2
USES= cargo
USE_GITHUB= yes
GH_ACCOUNT= ogham
CARGO_CRATES= ansi_term-0.12.1 \
autocfg-1.0.1 \
bitflags-1.2.1 \
byteorder-1.4.3 \
cc-1.0.67 \
cfg-if-1.0.0 \
datetime-0.5.2 \
form_urlencoded-1.0.1 \
git2-0.13.17 \
glob-0.3.0 \
hermit-abi-0.1.18 \
idna-0.2.2 \
jobserver-0.1.21 \
lazy_static-1.4.0 \
libc-0.2.93 \
libgit2-sys-0.12.18+1.1.0 \
libz-sys-1.1.2 \
locale-0.2.2 \
log-0.4.14 \
matches-0.1.8 \
natord-1.0.9 \
num_cpus-1.13.0 \
number_prefix-0.4.0 \
openssl-src-111.15.0+1.1.1k \
openssl-sys-0.9.61 \
pad-0.1.6 \
percent-encoding-2.1.0 \
pkg-config-0.3.19 \
redox_syscall-0.1.57 \
scoped_threadpool-0.1.9 \
term_grid-0.1.7 \
term_size-0.3.2 \
tinyvec-1.2.0 \
tinyvec_macros-0.1.0 \
unicode-bidi-0.3.5 \
unicode-normalization-0.1.17 \
unicode-width-0.1.8 \
url-2.2.1 \
users-0.11.0 \
vcpkg-0.2.11 \
winapi-0.3.9 \
winapi-i686-pc-windows-gnu-0.4.0 \
winapi-x86_64-pc-windows-gnu-0.4.0 \
zoneinfo_compiled-0.5.1
PLIST_FILES= bin/exa \
etc/bash_completion.d/exa.bash \
share/fish/completions/exa.fish \
share/zsh/site-functions/_exa
post-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d
${INSTALL_DATA} ${WRKSRC}/completions/completions.bash ${STAGEDIR}${PREFIX}/etc/bash_completion.d/exa.bash
@${MKDIR} ${STAGEDIR}${PREFIX}/share/fish/completions
${INSTALL_DATA} ${WRKSRC}/completions/completions.fish ${STAGEDIR}${PREFIX}/share/fish/completions/exa.fish
@${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions
${INSTALL_DATA} ${WRKSRC}/completions/completions.zsh ${STAGEDIR}${PREFIX}/share/zsh/site-functions/_exa
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/exa
.include <bsd.port.mk>
|