summaryrefslogtreecommitdiff
path: root/sysutils/dua-cli/Makefile
blob: 630f5592a85d9482c234f0cf91f5780047d98613 (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
104
105
106
107
108
109
110
111
112
113
114
115
# $FreeBSD$

PORTNAME=	dua-cli
DISTVERSIONPREFIX=	v
DISTVERSION=	2.10.10
CATEGORIES=	sysutils

MAINTAINER=	lcook@FreeBSD.org
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 \
		anyhow-1.0.38 \
		atty-0.2.14 \
		autocfg-1.0.1 \
		bitflags-1.2.1 \
		byte-unit-4.0.9 \
		cassowary-0.3.0 \
		cfg-if-0.1.10 \
		cfg-if-1.0.0 \
		clap-3.0.0-beta.2 \
		clap_derive-3.0.0-beta.2 \
		colored-2.0.0 \
		const_fn-0.4.5 \
		crossbeam-0.8.0 \
		crossbeam-channel-0.5.0 \
		crossbeam-deque-0.8.0 \
		crossbeam-epoch-0.9.1 \
		crossbeam-queue-0.3.1 \
		crossbeam-utils-0.8.1 \
		crossterm-0.18.2 \
		crossterm_winapi-0.6.2 \
		crosstermion-0.6.0 \
		ctor-0.1.18 \
		difference-2.0.0 \
		either-1.6.1 \
		filesize-0.2.0 \
		fixedbitset-0.2.0 \
		glob-0.3.0 \
		hashbrown-0.9.1 \
		heck-0.3.2 \
		hermit-abi-0.1.18 \
		indexmap-1.6.1 \
		instant-0.1.9 \
		itertools-0.10.0 \
		jwalk-0.6.0 \
		lazy_static-1.4.0 \
		libc-0.2.82 \
		lock_api-0.4.2 \
		log-0.4.13 \
		memoffset-0.6.1 \
		mio-0.7.7 \
		miow-0.3.6 \
		ntapi-0.3.6 \
		num_cpus-1.13.0 \
		numtoa-0.1.0 \
		open-1.4.0 \
		os_str_bytes-2.4.0 \
		output_vt100-0.1.2 \
		parking_lot-0.11.1 \
		parking_lot_core-0.8.2 \
		petgraph-0.5.1 \
		pretty_assertions-0.6.1 \
		proc-macro-error-1.0.4 \
		proc-macro-error-attr-1.0.4 \
		proc-macro2-1.0.24 \
		quote-1.0.8 \
		rayon-1.5.0 \
		rayon-core-1.9.0 \
		redox_syscall-0.1.57 \
		redox_syscall-0.2.4 \
		redox_termios-0.1.2 \
		scopeguard-1.1.0 \
		signal-hook-0.1.17 \
		signal-hook-registry-1.3.0 \
		smallvec-1.6.1 \
		socket2-0.3.19 \
		strsim-0.10.0 \
		syn-1.0.58 \
		termcolor-1.1.2 \
		termion-1.5.5 \
		textwrap-0.12.1 \
		tui-0.14.0 \
		tui-react-0.14.0 \
		unicode-segmentation-1.7.1 \
		unicode-width-0.1.8 \
		unicode-xid-0.2.1 \
		utf8-width-0.1.4 \
		vec_map-0.8.2 \
		version_check-0.9.2 \
		wild-2.0.4 \
		winapi-0.3.9 \
		winapi-i686-pc-windows-gnu-0.4.0 \
		winapi-util-0.1.5 \
		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>