summaryrefslogtreecommitdiff
path: root/devel/cargo-tree/Makefile
blob: eedeb1131f513ac00eb95e5976a5287ea96de32e (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
# $FreeBSD$

PORTNAME=	cargo-tree
DISTVERSION=	0.29.0
PORTREVISION=	1
CATEGORIES=	devel
MASTER_SITES=	CRATESIO
DISTFILES=	${DISTNAME}${EXTRACT_SUFX}

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Rust's cargo subcommand to visualize dependency graph as a tree #'

LICENSE=	APACHE20 MIT
LICENSE_COMB=	dual
LICENSE_FILE_APACHE20=	${WRKSRC}/LICENSE-APACHE
LICENSE_FILE_MIT=	${WRKSRC}/LICENSE-MIT

LIB_DEPENDS=	libcurl.so:ftp/curl \
		libgit2.so:devel/libgit2 \
		libssh2.so:security/libssh2

USES=		cargo ssl

CARGO_CRATES=	ansi_term-0.11.0 \
		anyhow-1.0.26 \
		atty-0.2.14 \
		bitflags-1.2.1 \
		cargo_metadata-0.9.1 \
		clap-2.33.0 \
		fixedbitset-0.1.9 \
		heck-0.3.1 \
		hermit-abi-0.1.6 \
		itoa-0.4.5 \
		lazy_static-1.4.0 \
		libc-0.2.66 \
		ordermap-0.3.5 \
		petgraph-0.4.13 \
		proc-macro-error-0.4.5 \
		proc-macro-error-attr-0.4.5 \
		proc-macro2-1.0.8 \
		quote-1.0.2 \
		rustversion-1.0.2 \
		ryu-1.0.2 \
		semver-0.9.0 \
		semver-parser-0.7.0 \
		serde-1.0.104 \
		serde_derive-1.0.104 \
		serde_json-1.0.45 \
		strsim-0.8.0 \
		structopt-0.3.8 \
		structopt-derive-0.4.1 \
		syn-1.0.14 \
		syn-mid-0.4.0 \
		textwrap-0.11.0 \
		unicode-segmentation-1.6.0 \
		unicode-width-0.1.7 \
		unicode-xid-0.2.0 \
		vec_map-0.8.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/${PORTNAME}

post-install:
	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/cargo-tree

.include <bsd.port.mk>