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

perl5.branches      5.28 5.30 5.32 5.34
perl5.setup         Alien-cmake3 0.08
revision            0
checksums           rmd160  6190cdb8cc343393dff163f34223ff909d5176af \
                    sha256  93dfb1146f0053ec1ed59558f5f6d8f85d87b822a8433c6485d419c4f0182f1f \
                    size    19643

license             {Artistic-1 GPL}
maintainers         nomaintainer
description         Alien::cmake3 - Find or download or build cmake 3 or better
long_description    {*}${description}

platforms           {darwin any}
supported_archs     noarch

if {${perl5.major} != ""} {
    depends_build-append \
                    port:p${perl5.major}-extutils-makemaker \
                    port:p${perl5.major}-path-tiny \
                    port:p${perl5.major}-test-simple

    # cmake is a library dependency because Alien-cmake3 makes cmake
    # available to other perl modules.
    depends_lib-append \
                    path:bin/cmake:cmake \
                    port:p${perl5.major}-alien-build
}
