summaryrefslogtreecommitdiff
path: root/devel/tree-sitter-graph/Makefile
blob: ee15a87d891b0b2522f9835606d0cb51170130ab (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
PORTNAME=	tree-sitter-graph
DISTVERSIONPREFIX=	v
DISTVERSION=	0.9.2
PORTREVISION=	1
CATEGORIES=	devel

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Construct graphs from parsed source code
WWW=		https://docs.rs/tree-sitter-graph/*/tree_sitter_graph/

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

USES=		cargo

USE_GITHUB=	yes
GH_ACCOUNT=	tree-sitter

CARGO_FEATURES=	cli
CARGO_CRATES=	ahash-0.4.7 \
		aho-corasick-0.7.20 \
		anyhow-1.0.70 \
		atty-0.2.14 \
		autocfg-1.1.0 \
		bitflags-1.3.2 \
		cc-1.0.79 \
		cfg-if-1.0.0 \
		clap-3.2.23 \
		clap_lex-0.2.4 \
		colored-2.0.0 \
		dirs-3.0.2 \
		dirs-sys-0.3.7 \
		env_logger-0.9.3 \
		getrandom-0.2.9 \
		hashbrown-0.9.1 \
		hashbrown-0.12.3 \
		hermit-abi-0.1.19 \
		humantime-2.1.0 \
		indexmap-1.9.3 \
		indoc-1.0.9 \
		itoa-1.0.6 \
		lazy_static-1.4.0 \
		libc-0.2.141 \
		libloading-0.7.4 \
		log-0.4.17 \
		memchr-2.5.0 \
		once_cell-1.17.1 \
		os_str_bytes-6.5.0 \
		proc-macro2-1.0.56 \
		quote-1.0.26 \
		redox_syscall-0.2.16 \
		redox_users-0.4.3 \
		regex-1.7.3 \
		regex-syntax-0.6.29 \
		ryu-1.0.13 \
		serde-1.0.160 \
		serde_derive-1.0.160 \
		serde_json-1.0.96 \
		smallvec-1.10.0 \
		string-interner-0.12.2 \
		strsim-0.10.0 \
		syn-2.0.15 \
		termcolor-1.2.0 \
		textwrap-0.16.0 \
		thiserror-1.0.40 \
		thiserror-impl-1.0.40 \
		tree-sitter-0.20.10 \
		tree-sitter-config-0.19.0 \
		tree-sitter-highlight-0.20.1 \
		tree-sitter-loader-0.19.0 \
		tree-sitter-python-0.19.1 \
		tree-sitter-tags-0.20.2 \
		unicode-ident-1.0.8 \
		wasi-0.11.0+wasi-snapshot-preview1 \
		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

PLIST_FILES=	bin/${PORTNAME}

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

.include <bsd.port.mk>