summaryrefslogtreecommitdiff
path: root/devel/rust-cbindgen/Makefile
blob: 492759ee942e5136b1b8ee9569490f44b5bd9987 (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
# $FreeBSD$

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

MAINTAINER=	gecko@FreeBSD.org
COMMENT=	Generate C bindings from Rust code

LICENSE=	MPL20

RUN_DEPENDS=	cargo:lang/${RUST_DEFAULT}

USES=		cargo
PLIST_FILES=	bin/${PORTNAME}

CARGO_CRATES=	ansi_term-0.11.0 \
		atty-0.2.11 \
		autocfg-0.1.4 \
		bitflags-1.1.0 \
		cfg-if-0.1.9 \
		clap-2.33.0 \
		cloudabi-0.0.3 \
		fuchsia-cprng-0.1.1 \
		itoa-0.4.4 \
		libc-0.2.58 \
		log-0.4.6 \
		numtoa-0.1.0 \
		proc-macro2-1.0.0 \
		quote-1.0.0 \
		rand-0.6.5 \
		rand_chacha-0.1.1 \
		rand_core-0.3.1 \
		rand_core-0.4.0 \
		rand_hc-0.1.0 \
		rand_isaac-0.1.1 \
		rand_jitter-0.1.4 \
		rand_os-0.1.3 \
		rand_pcg-0.1.2 \
		rand_xorshift-0.1.1 \
		rdrand-0.4.0 \
		redox_syscall-0.1.54 \
		redox_termios-0.1.1 \
		remove_dir_all-0.5.2 \
		ryu-0.2.8 \
		serde-1.0.93 \
		serde_derive-1.0.99 \
		serde_json-1.0.39 \
		strsim-0.8.0 \
		syn-1.0.1 \
		tempfile-3.0.8 \
		termion-1.5.3 \
		textwrap-0.11.0 \
		toml-0.5.1 \
		unicode-width-0.1.5 \
		unicode-xid-0.2.0 \
		vec_map-0.8.1 \
		winapi-0.3.7 \
		winapi-i686-pc-windows-gnu-0.4.0 \
		winapi-x86_64-pc-windows-gnu-0.4.0

.include <bsd.port.mk>