# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem          1.0
PortGroup           github 1.0
PortGroup           tree_sitter 1.0

github.setup        tree-sitter tree-sitter-rust 0.24.2 v
github.tarball_from archive
revision            0

description         A tree-sitter parser for Rust

long_description    {*}${description}

categories          devel
license             MIT
maintainers         {amake @amake} openmaintainer

checksums           rmd160  d138f6358ec7280fc0662a522a9131da88a80cfd \
                    sha256  061e90a539a55a6aa65dceb0ad6425c50ab1a6e3e6d4ba430e2795ed4550f10e \
                    size    468410

worksrcdir          ${worksrcdir}/src

# scanner.c: error: ‘for’ loop initial declaration used outside C99 mode
configure.cflags-append -std=c99
