blob: cc7c7096ccfa3b6f43aa3243acdc25d6566a8d20 (
plain) (
blame)
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
|
PORTNAME= dust
DISTVERSIONPREFIX= v
DISTVERSION= 0.8.6
PORTREVISION= 4
CATEGORIES= sysutils
MAINTAINER= adamw@FreeBSD.org
COMMENT= More useful and intuitive version of du
WWW= https://github.com/bootandy/dust
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= cargo
USE_GITHUB= yes
GH_ACCOUNT= bootandy
OPTIONS_DEFINE= EXAMPLES
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/dust
${INSTALL_MAN} ${WRKSRC}/man-page/dust.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
${INSTALL_DATA} ${WRKSRC}/completions/dust.bash ${STAGEDIR}${PREFIX}/share/bash-completion/completions/dust
${INSTALL_DATA} ${WRKSRC}/completions/dust.fish ${STAGEDIR}${PREFIX}/share/fish/vendor_completions.d
${INSTALL_DATA} ${WRKSRC}/completions/_dust ${STAGEDIR}${PREFIX}/share/zsh/site-functions
post-install-EXAMPLES-on:
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/config/config.toml ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>
|