# -*- 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           codeberg 1.0

codeberg.setup      emzeat mz-cmaketools f44b45b2f04984cb40e735709f494ad2e9e986b8
version             2024.04.29
revision            0
categories          devel
# Please do not set platforms to any, this leads to having a random target
# and breaks dependents.
license             Apache-2
maintainers         nomaintainer
description         Several handy macros and modules for use with CMake
long_description    {*}${description}
checksums           rmd160  2c63a4cef91c75086e8df6c55dff79ecef14d6b2 \
                    sha256  42975044fb4daa833e72900314d4635d15b227061c5349b92581a6a73f486562 \
                    size    55391
supported_archs     noarch

extract.rename      no

worksrcdir          ${name}

post-extract {
    reinplace "s|MACOSX_DEPLOYMENT_TARGET 10.13|MACOSX_DEPLOYMENT_TARGET ${macosx_deployment_target}|" \
                    ${worksrcpath}/global.cmake
}

use_configure       no

build               { }

destroot {
    copy ${workpath}/${name} ${destroot}${prefix}/share
}
