summaryrefslogtreecommitdiff
path: root/devel/tarpaulin/Makefile
blob: 57ef15c53ac5209f03d8c05bd5ed1ca1888baebc (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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
PORTNAME=	tarpaulin
DISTVERSION=	0.25.1
CATEGORIES=	devel

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Code coverage tool for Rust projects
WWW=		https://crates.io/crates/cargo-tarpaulin

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

BROKEN_armv7=	compilation fails, see https://github.com/xd009642/llvm-profparser/issues/25
BROKEN_i386=	compilation fails, see https://github.com/xd009642/llvm-profparser/issues/25

USES=		cargo localbase:ldflags

USE_GITHUB=	yes
GH_ACCOUNT=	xd009642

CARGO_CRATES=	adler-1.0.2 \
		adler32-1.2.0 \
		aho-corasick-0.7.18 \
		android_system_properties-0.1.4 \
		ansi_term-0.12.1 \
		anyhow-1.0.65 \
		atty-0.2.14 \
		autocfg-1.1.0 \
		bitflags-1.3.2 \
		bumpalo-3.12.0 \
		byteorder-1.4.3 \
		camino-1.1.1 \
		cargo-platform-0.1.2 \
		cargo_metadata-0.15.3 \
		cc-1.0.73 \
		cfg-if-1.0.0 \
		chrono-0.4.23 \
		clap-2.34.0 \
		core-foundation-sys-0.8.3 \
		coveralls-api-0.5.0 \
		crc32fast-1.3.2 \
		curl-0.4.44 \
		curl-sys-0.4.56+curl-7.83.1 \
		deflate-0.8.6 \
		errno-0.2.8 \
		errno-dragonfly-0.1.2 \
		fallible-iterator-0.2.0 \
		fastrand-1.8.0 \
		flate2-1.0.24 \
		fnv-1.0.7 \
		form_urlencoded-1.0.1 \
		gimli-0.27.2 \
		git2-0.16.1 \
		glob-0.3.1 \
		gzip-header-0.3.0 \
		hashbrown-0.11.2 \
		hermit-abi-0.1.19 \
		hermit-abi-0.2.6 \
		hex-0.4.3 \
		humantime-2.1.0 \
		humantime-serde-1.1.1 \
		iana-time-zone-0.1.46 \
		idna-0.2.3 \
		indexmap-1.8.2 \
		instant-0.1.12 \
		io-lifetimes-1.0.3 \
		itoa-1.0.3 \
		jobserver-0.1.24 \
		js-sys-0.3.59 \
		lazy_static-1.4.0 \
		lcov-0.8.1 \
		leb128-0.2.5 \
		libc-0.2.137 \
		libgit2-sys-0.14.2+1.5.1 \
		libssh2-sys-0.2.23 \
		libz-sys-1.1.8 \
		linux-raw-sys-0.1.3 \
		llvm_profparser-0.3.1 \
		log-0.4.17 \
		matchers-0.0.1 \
		matches-0.1.9 \
		md5-0.7.0 \
		memchr-2.5.0 \
		minimal-lexical-0.2.1 \
		miniz_oxide-0.5.3 \
		nix-0.26.2 \
		nom-7.1.1 \
		num-integer-0.1.45 \
		num-traits-0.2.15 \
		num_cpus-1.15.0 \
		object-0.26.2 \
		object-0.30.3 \
		once_cell-1.13.1 \
		openssl-probe-0.1.5 \
		openssl-src-111.25.0+1.1.1t \
		openssl-sys-0.9.75 \
		percent-encoding-2.1.0 \
		pin-project-lite-0.2.9 \
		pkg-config-0.3.25 \
		proc-macro2-1.0.51 \
		procfs-0.15.1 \
		quick-error-1.2.3 \
		quick-xml-0.27.1 \
		quote-1.0.23 \
		redox_syscall-0.2.16 \
		regex-1.7.1 \
		regex-automata-0.1.10 \
		regex-syntax-0.6.27 \
		remove_dir_all-0.5.3 \
		rustc-demangle-0.1.21 \
		rustc_version-0.4.0 \
		rustix-0.36.4 \
		rusty-fork-0.3.0 \
		ryu-1.0.11 \
		same-file-1.0.6 \
		schannel-0.1.20 \
		semver-1.0.13 \
		serde-1.0.152 \
		serde_derive-1.0.152 \
		serde_json-1.0.93 \
		sharded-slab-0.1.4 \
		smallvec-1.9.0 \
		socket2-0.4.4 \
		stable_deref_trait-1.2.0 \
		static_assertions-1.1.0 \
		strsim-0.8.0 \
		syn-1.0.108 \
		tempfile-3.3.0 \
		textwrap-0.11.0 \
		thiserror-1.0.32 \
		thiserror-impl-1.0.32 \
		thread_local-1.1.4 \
		time-0.1.44 \
		tinyvec-1.6.0 \
		tinyvec_macros-0.1.0 \
		toml-0.5.11 \
		tracing-0.1.37 \
		tracing-attributes-0.1.23 \
		tracing-core-0.1.30 \
		tracing-log-0.1.3 \
		tracing-subscriber-0.2.25 \
		unicode-bidi-0.3.8 \
		unicode-ident-1.0.3 \
		unicode-normalization-0.1.21 \
		unicode-width-0.1.9 \
		url-2.2.2 \
		valuable-0.1.0 \
		vcpkg-0.2.15 \
		vec_map-0.8.2 \
		wait-timeout-0.2.0 \
		walkdir-2.3.2 \
		wasi-0.10.0+wasi-snapshot-preview1 \
		wasm-bindgen-0.2.82 \
		wasm-bindgen-backend-0.2.82 \
		wasm-bindgen-macro-0.2.82 \
		wasm-bindgen-macro-support-0.2.82 \
		wasm-bindgen-shared-0.2.82 \
		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 \
		windows-sys-0.36.1 \
		windows-sys-0.42.0 \
		windows_aarch64_gnullvm-0.42.0 \
		windows_aarch64_msvc-0.36.1 \
		windows_aarch64_msvc-0.42.0 \
		windows_i686_gnu-0.36.1 \
		windows_i686_gnu-0.42.0 \
		windows_i686_msvc-0.36.1 \
		windows_i686_msvc-0.42.0 \
		windows_x86_64_gnu-0.36.1 \
		windows_x86_64_gnu-0.42.0 \
		windows_x86_64_gnullvm-0.42.0 \
		windows_x86_64_msvc-0.36.1 \
		windows_x86_64_msvc-0.42.0

OPENSSLINC=	/usr/include
OPENSSLLIB=	/usr/lib

PLIST_FILES=	bin/cargo-tarpaulin

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

.include <bsd.port.mk>