1 # Created by: Andrey Cherkashin <andoriyu@gmail.com>
11 MAINTAINER= tobik@FreeBSD.org
12 COMMENT= Simple, fast and user-friendly alternative to find
16 LICENSE_FILE_APACHE20= ${WRKSRC}/LICENSE-APACHE
17 LICENSE_FILE_MIT= ${WRKSRC}/LICENSE-MIT
23 CARGO_CRATES= aho-corasick-0.7.6 \
32 crossbeam-channel-0.3.9 \
33 crossbeam-utils-0.6.6 \
58 redox_syscall-0.1.56 \
61 remove_dir_all-0.5.2 \
76 winapi-i686-pc-windows-gnu-0.4.0 \
78 winapi-x86_64-pc-windows-gnu-0.4.0
79 MAKE_ENV= SHELL_COMPLETIONS_DIR=${WRKDIR}/completions
84 etc/bash_completion.d/fd.bash \
86 share/fish/completions/fd.fish \
87 share/zsh/site-functions/_fd
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
102 .include <bsd.port.mk>