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

PORTNAME=	cargo-c
DISTVERSION=	0.5.1
CATEGORIES=	devel
MASTER_SITES=	CRATESIO
# XXX Teach USES=cargo to have proper default
DISTFILES=	${CARGO_DIST_SUBDIR}/${DISTNAME}${EXTRACT_SUFX}

MAINTAINER=	jbeich@FreeBSD.org
COMMENT=	Cargo C-ABI helpers

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE

USES=		cargo
PLIST_FILES=	bin/cargo-cbuild \
		bin/cargo-cinstall

CARGO_CRATES=	aho-corasick-0.7.6 \
		ansi_term-0.11.0 \
		atty-0.2.13 \
		autocfg-0.1.7 \
		bitflags-1.2.1 \
		c2-chacha-0.2.3 \
		cargo_metadata-0.9.1 \
		cbindgen-0.11.0 \
		cfg-if-0.1.10 \
		chrono-0.4.10 \
		clap-2.33.0 \
		env_logger-0.6.2 \
		getrandom-0.1.13 \
		heck-0.3.1 \
		humantime-1.3.0 \
		itoa-0.4.4 \
		lazy_static-1.4.0 \
		libc-0.2.66 \
		log-0.4.8 \
		memchr-2.2.1 \
		num-integer-0.1.41 \
		num-traits-0.2.10 \
		ppv-lite86-0.2.6 \
		pretty_env_logger-0.3.1 \
		proc-macro-error-0.2.6 \
		proc-macro2-1.0.6 \
		quick-error-1.2.2 \
		quote-1.0.2 \
		rand-0.7.2 \
		rand_chacha-0.2.1 \
		rand_core-0.5.1 \
		rand_hc-0.2.0 \
		redox_syscall-0.1.56 \
		regex-1.3.1 \
		regex-syntax-0.6.12 \
		remove_dir_all-0.5.2 \
		ryu-1.0.2 \
		semver-0.9.0 \
		semver-parser-0.7.0 \
		serde-1.0.103 \
		serde_derive-1.0.103 \
		serde_json-1.0.44 \
		strsim-0.8.0 \
		structopt-0.3.5 \
		structopt-derive-0.3.5 \
		syn-1.0.11 \
		tempfile-3.1.0 \
		termcolor-1.0.5 \
		textwrap-0.11.0 \
		thread_local-0.3.6 \
		time-0.1.42 \
		toml-0.5.5 \
		unicode-segmentation-1.6.0 \
		unicode-width-0.1.7 \
		unicode-xid-0.2.0 \
		vec_map-0.8.1 \
		wasi-0.7.0 \
		winapi-0.3.8 \
		winapi-i686-pc-windows-gnu-0.4.0 \
		winapi-util-0.1.2 \
		winapi-x86_64-pc-windows-gnu-0.4.0 \
		wincolor-1.0.2

post-patch:
	@${REINPLACE_CMD} -e 's,libdir.join("pkgconfig,prefix.join("libdata/pkgconfig,' \
		${WRKSRC}/src/main.rs

.include <bsd.port.mk>