# -*- 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.10
revision            0
license             {Artistic-1 GPL}
maintainers         nomaintainer
description         Alien::cmake3 - Find or download or build cmake 3
long_description    {*}${description}

platforms           {darwin any}
supported_archs     noarch

checksums           rmd160  7d615821ef2a447dd1413ed54c68e7fb49e00bc0 \
                    sha256  c87a09d8687b5c5057b825c56329513d8b1b7741b1ec4fca346465ee0219485f \
                    size    20376

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
}
