# -*- 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           boost 1.0
PortGroup           cmake 1.1
PortGroup           github 1.0

boost.version       1.81

github.setup        arximboldi lager f42767a7fd1e74e1ac252ffe7bdd0ff913699330
version             2026.01.16
revision            0
categories          devel
platforms           any
license             MIT
maintainers         {@barracuda156 macos-powerpc.org:barracuda} openmaintainer
description         ${name} is a C++ library to assist value-oriented design
long_description    {*}${description}, using the unidirectional data-flow architecture — Redux for C++.
homepage            https://sinusoid.es/${name}
checksums           rmd160  8bd1bb4b24282c2ff8b2952d3208627e6201540f \
                    sha256  2c11a7e98f11416ae081029ea9e318a17314e0cac6d04afac9dd2c28ad52dbf4 \
                    size    881707
github.tarball_from archive
supported_archs     noarch

# Library itself is header-only.
depends_build-append \
                    port:immer \
                    path:bin/pkg-config:pkgconfig \
                    port:zug

# Tests still rely on archaic catch2
# depends_build-append \
                    port:catch2

configure.args-append \
                    -DENABLE_COVERAGE=off \
                    -Dlager_BUILD_DOCS=off \
                    -Dlager_BUILD_FAILURE_TESTS=off \
                    -Dlager_BUILD_DEBUGGER_EXAMPLES=off \
                    -Dlager_BUILD_EXAMPLES=off \
                    -Dlager_BUILD_TESTS=off \
                    -Dlager_EMBED_RESOURCES_PATH=on

compiler.cxx_standard  2020

test.run            no
test.target         check
