summaryrefslogtreecommitdiff
path: root/sysutils/dua-cli/Makefile
blob: 3d73301501e79debf09b263f472405dc3cfd6ff9 (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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
# $FreeBSD$

PORTNAME=	dua-cli
DISTVERSIONPREFIX=	v
DISTVERSION=	2.5.0
PORTREVISION=	1
CATEGORIES=	sysutils

MAINTAINER=	vulcan@wired.sh
COMMENT=	Conveniently learn about the disk usage of directories

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE

USES=		cargo
USE_GITHUB=	yes
GH_ACCOUNT=	Byron

CARGO_CRATES=	ansi_term-0.11.0 \
		atty-0.2.14 \
		autocfg-1.0.0 \
		backtrace-0.3.46 \
		backtrace-sys-0.1.35 \
		bitflags-1.2.1 \
		byte-unit-3.0.3 \
		cassowary-0.3.0 \
		cc-1.0.50 \
		cfg-if-0.1.10 \
		clap-2.33.0 \
		crossbeam-0.7.3 \
		crossbeam-channel-0.4.2 \
		crossbeam-deque-0.7.3 \
		crossbeam-epoch-0.8.2 \
		crossbeam-queue-0.2.1 \
		crossbeam-utils-0.7.2 \
		ctor-0.1.13 \
		difference-2.0.0 \
		either-1.5.3 \
		failure-0.1.7 \
		failure-tools-4.0.5 \
		failure_derive-0.1.7 \
		filesize-0.2.0 \
		fixedbitset-0.2.0 \
		flume-0.7.1 \
		heck-0.3.1 \
		hermit-abi-0.1.10 \
		indexmap-1.3.2 \
		itertools-0.8.2 \
		itertools-0.9.0 \
		jwalk-0.5.1 \
		lazy_static-1.4.0 \
		libc-0.2.68 \
		log-0.4.8 \
		maybe-uninit-2.0.0 \
		memoffset-0.5.4 \
		num_cpus-1.12.0 \
		numtoa-0.1.0 \
		open-1.4.0 \
		output_vt100-0.1.2 \
		petgraph-0.5.0 \
		pretty_assertions-0.6.1 \
		proc-macro-error-0.4.12 \
		proc-macro-error-attr-0.4.12 \
		proc-macro2-1.0.10 \
		quote-1.0.3 \
		rayon-1.3.0 \
		rayon-core-1.7.0 \
		redox_syscall-0.1.56 \
		redox_termios-0.1.1 \
		rustc-demangle-0.1.16 \
		scopeguard-1.1.0 \
		spin-0.5.2 \
		strsim-0.8.0 \
		structopt-0.3.12 \
		structopt-derive-0.4.5 \
		syn-1.0.17 \
		syn-mid-0.5.0 \
		synstructure-0.12.3 \
		termion-1.5.5 \
		textwrap-0.11.0 \
		tui-0.8.0 \
		unicode-segmentation-1.6.0 \
		unicode-width-0.1.7 \
		unicode-xid-0.2.0 \
		vec_map-0.8.1 \
		version_check-0.9.1 \
		winapi-0.3.8 \
		winapi-i686-pc-windows-gnu-0.4.0 \
		winapi-x86_64-pc-windows-gnu-0.4.0

PLIST_FILES=	bin/dua
PORTDOCS=	README.md

OPTIONS_DEFINE=	DOCS

post-install:
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/dua

post-install-DOCS-on:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>