# -*- 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               meson 1.0
PortGroup               sourcehut 1.0
PortGroup               legacysupport 1.1

# clock_gettime, CLOCK_MONOTONIC
legacysupport.newest_darwin_requires_legacy 15

sourcehut.setup         lattis muon 0.7.1
revision                0
categories              devel
license                 GPL-3
maintainers             {@commitmaniac} openmaintainer

description             An implementation of the Meson build system in C99
long_description        {*}${description}, with minimal dependencies. ${name} includes a \
                        static analyzer and LSP for build files, a code formatter, and \
                        an interactive stepping debugger.

homepage                https://muon.build/

checksums               rmd160  9d28d31dc20492898eb860f71dca0477ec4050db \
                        sha256  967a99ade648a850807d5637c80d55043ded34556e9dcbfec8736d6de52f96c5 \
                        size    671416

depends_build-append    path:bin/pkg-config:pkgconfig \
                        port:scdoc

depends_lib-append      port:libarchive \
                        port:curl

configure.args-append   -Dmeson-docs=disabled \
                        -Dmeson-tests=disabled \
                        -Dman-pages=enabled \
                        -Dtracy=disabled \
                        -Dlibarchive=enabled \
                        -Dlibcurl=enabled \
                        -Dlibpkgconf=disabled \
                        -Dsamurai=disabled \
                        --buildtype=release
