Ravenports generated: 24 Jan 2023 06:04
[ravenports.git] / bucket_BA / tree-sitter
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               tree-sitter
4 VERSION=                0.20.7
5 KEYWORDS=               devel textproc
6 VARIANTS=               standard
7 SDESC[standard]=        Incremental parser generator tool and library
8 HOMEPAGE=               https://tree-sitter.github.io/tree-sitter/
9 CONTACT=                nobody
10
11 DOWNLOAD_GROUPS=        main
12 SITES[main]=            GITHUB/tree-sitter:tree-sitter:v0.20.7
13 DISTFILE[1]=            generated:main
14 DF_INDEX=               1
15 SPKGS[standard]=        single
16
17 OPTIONS_AVAILABLE=      none
18 OPTIONS_STANDARD=       none
19
20 USES=                   gmake
21
22 LICENSE=                MIT:single
23 LICENSE_FILE=           MIT:{{WRKSRC}}/LICENSE
24 LICENSE_SCHEME=         solo
25
26 FPC_EQUIVALENT=         devel/tree-sitter
27
28 SOVERSION=              0.0
29
30 post-install:
31         ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libtree-sitter.so
32
33 [FILE:518:descriptions/desc.single]
34 Tree-sitter is a parser generator tool and an incremental parsing library.
35 It can build a concrete syntax tree for a source file and efficiently
36 update the syntax tree as the source file is edited. It aims to be:
37
38 - General enough to parse any programming language
39 - Fast enough to parse on every keystroke in a text editor
40 - Robust enough to provide useful results even in the presence of syntax
41   errors
42 - Dependency-free so that the runtime library (which is written in pure C)
43   can be embedded in any application
44
45
46 [FILE:116:distinfo]
47 b355e968ec2d0241bbd96748e00a9038f83968f85d822ecb9940cbe4c42e182e      2928761 tree-sitter-tree-sitter-0.20.7.tar.gz
48
49
50 [FILE:173:manifests/plist.single]
51 include/tree_sitter/
52  api.h
53  parser.h
54 lib/
55  libtree-sitter.a
56  libtree-sitter.so
57  libtree-sitter.so.%%SOMAJOR%%
58  libtree-sitter.so.%%SOVERSION%%
59 lib/pkgconfig/tree-sitter.pc
60
61
62 [FILE:366:patches/patch-Makefile]
63 --- Makefile.orig       2022-09-02 22:00:47 UTC
64 +++ Makefile
65 @@ -37,9 +37,6 @@ else
66         SOEXTVER = so.$(SONAME_MAJOR).$(SONAME_MINOR)
67         LINKSHARED += -shared -Wl,-soname,libtree-sitter.so.$(SONAME_MAJOR)
68  endif
69 -ifneq (,$(filter $(shell uname),FreeBSD NetBSD DragonFly))
70 -       PCLIBDIR := $(PREFIX)/libdata/pkgconfig
71 -endif
72  
73  all: libtree-sitter.a libtree-sitter.$(SOEXTVER)
74  
75