# -*- 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.6.0
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  886b1b26a3ad518385a978213a47a12d01975d04 \
                        sha256  5300e58c4b4d43e3026856004c79d746075aaa9d9e66d76ba9f32ce249495b81 \
                        size    646049

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
