# -*- 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        omeyenburg tree-sitter-riscv 0.3.0 v
revision            0
categories          devel
license             MIT
maintainers         nomaintainer
description         A tree-sitter parser for the RISC-V and MIPS assembly languages
long_description    {*}${description}
checksums           rmd160  f32d8374d72c3366c21b0fd29d90fef6ae29b540 \
                    sha256  f6ffa3a72d67e427a48eba3d6af5822841adf96ed67ffb56f0140b629a130afe \
                    size    1118265
github.tarball_from archive

worksrcdir          ${worksrcdir}/src

# parser.c:1995: error: ‘for’ loop initial declaration used outside C99 mode
# scanner.c:15:21: error: invalid suffix "b00" on integer constant
compiler.blacklist-append \
                    *gcc-4.* {clang < 500}
