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

description         A tree-sitter parser for Dockerfiles

long_description    {*}${description}

categories          devel
license             MIT
maintainers         {amake @amake} openmaintainer

checksums           rmd160  2bd5021c3dfa5716530fe24ea712ad73698dceb4 \
                    sha256  206e8b4fd23d22c6107377642aa44d2e3530408aead98ba0d2b945869417b28b \
                    size    64996

worksrcdir          ${worksrcdir}/src

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