Update sysutils/filelight to version 20.04.0
[dports.git] / sysutils / fd / Makefile
1 # Created by: Andrey Cherkashin <andoriyu@gmail.com>
2 # $FreeBSD$
3
4 PORTNAME=       fd
5 DISTVERSIONPREFIX=      v
6 DISTVERSION=    7.4.0
7 PORTREVISION=   6
8 CATEGORIES=     sysutils
9 PKGNAMESUFFIX=  -find
10
11 MAINTAINER=     tobik@FreeBSD.org
12 COMMENT=        Simple, fast and user-friendly alternative to find
13
14 LICENSE=        APACHE20 MIT
15 LICENSE_COMB=   dual
16 LICENSE_FILE_APACHE20=  ${WRKSRC}/LICENSE-APACHE
17 LICENSE_FILE_MIT=       ${WRKSRC}/LICENSE-MIT
18
19 USES=           cargo
20 USE_GITHUB=     yes
21 GH_ACCOUNT=     sharkdp
22
23 CARGO_CRATES=   aho-corasick-0.7.6 \
24                 ansi_term-0.11.0 \
25                 ansi_term-0.12.1 \
26                 atty-0.2.13 \
27                 bitflags-1.1.0 \
28                 bstr-0.2.8 \
29                 cc-1.0.45 \
30                 cfg-if-0.1.9 \
31                 clap-2.33.0 \
32                 crossbeam-channel-0.3.9 \
33                 crossbeam-utils-0.6.6 \
34                 ctrlc-3.1.3 \
35                 diff-0.1.11 \
36                 filetime-0.2.7 \
37                 fnv-1.0.6 \
38                 fs_extra-1.1.0 \
39                 fuchsia-cprng-0.1.1 \
40                 globset-0.4.4 \
41                 humantime-1.3.0 \
42                 ignore-0.4.10 \
43                 jemalloc-sys-0.3.2 \
44                 jemallocator-0.3.2 \
45                 kernel32-sys-0.2.2 \
46                 lazy_static-1.4.0 \
47                 libc-0.2.62 \
48                 log-0.4.8 \
49                 lscolors-0.6.0 \
50                 memchr-2.2.1 \
51                 nix-0.14.1 \
52                 num_cpus-1.10.1 \
53                 quick-error-1.2.2 \
54                 rand-0.4.6 \
55                 rand_core-0.3.1 \
56                 rand_core-0.4.2 \
57                 rdrand-0.4.0 \
58                 redox_syscall-0.1.56 \
59                 regex-1.3.1 \
60                 regex-syntax-0.6.12 \
61                 remove_dir_all-0.5.2 \
62                 same-file-1.0.5 \
63                 strsim-0.8.0 \
64                 tempdir-0.3.7 \
65                 term_size-0.3.1 \
66                 textwrap-0.11.0 \
67                 thread_local-0.3.6 \
68                 unicode-width-0.1.6 \
69                 vec_map-0.8.1 \
70                 version_check-0.9.1 \
71                 void-1.0.2 \
72                 walkdir-2.2.9 \
73                 winapi-0.2.8 \
74                 winapi-0.3.8 \
75                 winapi-build-0.1.1 \
76                 winapi-i686-pc-windows-gnu-0.4.0 \
77                 winapi-util-0.1.2 \
78                 winapi-x86_64-pc-windows-gnu-0.4.0
79 MAKE_ENV=       SHELL_COMPLETIONS_DIR=${WRKDIR}/completions
80
81 CONFLICTS_INSTALL=      fd
82
83 PLIST_FILES=    bin/fd \
84                 etc/bash_completion.d/fd.bash \
85                 man/man1/fd.1.gz \
86                 share/fish/completions/fd.fish \
87                 share/zsh/site-functions/_fd
88
89 post-install:
90         @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/fd
91         ${INSTALL_MAN} ${WRKSRC}/doc/fd.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
92         @${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d
93         ${INSTALL_DATA} ${WRKDIR}/completions/fd.bash \
94                 ${STAGEDIR}${PREFIX}/etc/bash_completion.d
95         @${MKDIR} ${STAGEDIR}${PREFIX}/share/fish/completions
96         ${INSTALL_DATA} ${WRKDIR}/completions/fd.fish \
97                 ${STAGEDIR}${PREFIX}/share/fish/completions
98         @${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions
99         ${INSTALL_DATA} ${WRKDIR}/completions/_fd \
100                 ${STAGEDIR}${PREFIX}/share/zsh/site-functions
101
102 .include <bsd.port.mk>