summaryrefslogtreecommitdiff
path: root/textproc/jql/Makefile
blob: ce47a03172933c8d19f9a9d21b925a288043caab (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
PORTNAME=	jql
DISTVERSIONPREFIX=	jql-v
DISTVERSION=	7.0.1
PORTREVISION=	1
CATEGORIES=	textproc

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	JSON Query Language CLI tool built with Rust
WWW=		https://github.com/yamafaktory/jql

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE-MIT

USES=		cargo

USE_GITHUB=	yes
GH_ACCOUNT=	yamafaktory

CARGO_CRATES=	addr2line-0.20.0 \
		adler-1.0.2 \
		anes-0.1.6 \
		anstream-0.3.2 \
		anstyle-1.0.1 \
		anstyle-parse-0.2.1 \
		anstyle-query-1.0.0 \
		anstyle-wincon-1.0.1 \
		anyhow-1.0.71 \
		autocfg-1.1.0 \
		backtrace-0.3.68 \
		bitflags-2.3.3 \
		bumpalo-3.13.0 \
		bytes-1.4.0 \
		cast-0.3.0 \
		cc-1.0.79 \
		cfg-if-1.0.0 \
		ciborium-0.2.1 \
		ciborium-io-0.2.1 \
		ciborium-ll-0.2.1 \
		clap-4.3.11 \
		clap_builder-4.3.11 \
		clap_derive-4.3.2 \
		clap_lex-0.5.0 \
		colorchoice-1.0.0 \
		colored_json-3.2.0 \
		criterion-0.5.1 \
		criterion-plot-0.5.0 \
		crossbeam-channel-0.5.8 \
		crossbeam-deque-0.8.3 \
		crossbeam-epoch-0.9.15 \
		crossbeam-utils-0.8.16 \
		either-1.8.1 \
		equivalent-1.0.0 \
		errno-0.3.1 \
		errno-dragonfly-0.1.2 \
		gimli-0.27.3 \
		half-1.8.2 \
		hashbrown-0.14.0 \
		heck-0.4.1 \
		hermit-abi-0.3.1 \
		indexmap-2.0.0 \
		is-terminal-0.4.8 \
		itertools-0.10.5 \
		itoa-1.0.6 \
		js-sys-0.3.64 \
		libc-0.2.147 \
		linux-raw-sys-0.4.3 \
		log-0.4.19 \
		memchr-2.5.0 \
		memoffset-0.9.0 \
		minimal-lexical-0.2.1 \
		miniz_oxide-0.7.1 \
		nom-7.1.3 \
		num-traits-0.2.15 \
		num_cpus-1.16.0 \
		object-0.31.1 \
		once_cell-1.18.0 \
		oorandom-11.1.3 \
		pin-project-lite-0.2.9 \
		plotters-0.3.5 \
		plotters-backend-0.3.5 \
		plotters-svg-0.3.5 \
		proc-macro2-1.0.63 \
		psm-0.1.21 \
		quote-1.0.29 \
		rayon-1.7.0 \
		rayon-core-1.11.0 \
		regex-1.8.4 \
		regex-syntax-0.7.2 \
		rustc-demangle-0.1.23 \
		rustix-0.38.1 \
		ryu-1.0.13 \
		same-file-1.0.6 \
		scopeguard-1.1.0 \
		serde-1.0.171 \
		serde_derive-1.0.171 \
		serde_json-1.0.102 \
		serde_stacker-0.1.9 \
		stacker-0.1.15 \
		strsim-0.10.0 \
		syn-2.0.25 \
		thiserror-1.0.43 \
		thiserror-impl-1.0.43 \
		tinytemplate-1.2.1 \
		tokio-1.29.1 \
		tokio-macros-2.1.0 \
		unicode-ident-1.0.9 \
		utf8parse-0.2.1 \
		walkdir-2.3.3 \
		wasm-bindgen-0.2.87 \
		wasm-bindgen-backend-0.2.87 \
		wasm-bindgen-macro-0.2.87 \
		wasm-bindgen-macro-support-0.2.87 \
		wasm-bindgen-shared-0.2.87 \
		web-sys-0.3.64 \
		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.48.0 \
		windows-targets-0.48.1 \
		windows_aarch64_gnullvm-0.48.0 \
		windows_aarch64_msvc-0.48.0 \
		windows_i686_gnu-0.48.0 \
		windows_i686_msvc-0.48.0 \
		windows_x86_64_gnu-0.48.0 \
		windows_x86_64_gnullvm-0.48.0 \
		windows_x86_64_msvc-0.48.0 \
		yansi-0.5.1
PLIST_FILES=	bin/${PORTNAME}

do-install:
	${INSTALL_PROGRAM} ${WRKDIR}/target/*/release/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} # otherwise there's error: found a virtual manifest at `xx` instead of a package manifest
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}

.include <bsd.port.mk>