# -*- 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.23.2 v
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
revision            0

description         A tree-sitter parser for Rust

long_description    {*}${description}

categories          devel
license             MIT
maintainers         {amake @amake} openmaintainer

checksums           rmd160  f7413d5ec14b371f0f3c90258f2a20f16ea1103e \
                    sha256  8e070142f14846db1c541228052f4ab42538591a070ae9ccb4d98001c187568b \
                    size    442922

worksrcdir          ${worksrcdir}/src

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