summaryrefslogtreecommitdiff
path: root/devel/grex/Makefile
blob: 02dbb2b1f45848eb728f88c177f26bb7d69a0de5 (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
PORTNAME=	grex
DISTVERSIONPREFIX=v
DISTVERSION=	1.2.0
PORTREVISION=	3
CATEGORIES=	devel

MAINTAINER=	petteri.valkonen@iki.fi
COMMENT=	Command-line tool for generating regular expressions from test cases

LICENSE=	APACHE20

USES=		cargo
USE_GITHUB=	yes
GH_ACCOUNT=	pemistahl

CARGO_CRATES=	aho-corasick-0.7.15 \
		ansi_term-0.11.0 \
		assert_cmd-1.0.3 \
		atty-0.2.14 \
		autocfg-1.0.1 \
		bit-set-0.5.2 \
		bit-vec-0.6.3 \
		bitflags-1.2.1 \
		bstr-0.2.15 \
		byteorder-1.3.4 \
		cfg-if-1.0.0 \
		clap-2.33.3 \
		difference-2.0.0 \
		doc-comment-0.3.3 \
		either-1.6.1 \
		fixedbitset-0.2.0 \
		float-cmp-0.8.0 \
		fnv-1.0.7 \
		getrandom-0.2.2 \
		hashbrown-0.9.1 \
		heck-0.3.2 \
		hermit-abi-0.1.17 \
		indexmap-1.6.1 \
		indoc-1.0.3 \
		itertools-0.10.0 \
		lazy_static-1.4.0 \
		libc-0.2.81 \
		matches-0.1.8 \
		matrixmultiply-0.3.0 \
		memchr-2.3.4 \
		ndarray-0.15.0 \
		normalize-line-endings-0.3.0 \
		num-complex-0.4.0 \
		num-integer-0.1.44 \
		num-traits-0.2.14 \
		pest-2.1.3 \
		petgraph-0.5.1 \
		ppv-lite86-0.2.10 \
		predicates-1.0.7 \
		predicates-core-1.0.1 \
		predicates-tree-1.0.1 \
		proc-macro-error-1.0.4 \
		proc-macro-error-attr-1.0.4 \
		proc-macro2-1.0.24 \
		proptest-1.0.0 \
		quick-error-1.2.3 \
		quick-error-2.0.0 \
		quote-1.0.9 \
		rand-0.8.3 \
		rand_chacha-0.3.0 \
		rand_core-0.6.2 \
		rand_hc-0.3.0 \
		rand_xorshift-0.3.0 \
		rawpointer-0.2.1 \
		redox_syscall-0.2.5 \
		regex-1.4.5 \
		regex-automata-0.1.9 \
		regex-syntax-0.6.22 \
		remove_dir_all-0.5.3 \
		rstest-0.7.0 \
		rustc_version-0.3.3 \
		rusty-fork-0.3.0 \
		semver-0.11.0 \
		semver-parser-0.10.2 \
		strsim-0.8.0 \
		structopt-0.3.21 \
		structopt-derive-0.4.14 \
		syn-1.0.65 \
		tempfile-3.2.0 \
		textwrap-0.11.0 \
		treeline-0.1.0 \
		ucd-trie-0.1.3 \
		unic-char-property-0.9.0 \
		unic-char-range-0.9.0 \
		unic-common-0.9.0 \
		unic-ucd-category-0.9.0 \
		unic-ucd-version-0.9.0 \
		unicode-segmentation-1.7.1 \
		unicode-width-0.1.8 \
		unicode-xid-0.2.1 \
		unindent-0.1.7 \
		vec_map-0.8.2 \
		version_check-0.9.2 \
		wait-timeout-0.2.0 \
		wasi-0.10.2+wasi-snapshot-preview1 \
		winapi-0.3.9 \
		winapi-i686-pc-windows-gnu-0.4.0 \
		winapi-x86_64-pc-windows-gnu-0.4.0

PLIST_FILES=	bin/grex

OPTIONS_DEFINE=	DOCS
PORTDOCS=	RELEASE_NOTES.md README.md

post-install:
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/grex
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	(cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})

.include <bsd.port.mk>