# -*- 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         Sys-Info 0.7811

platforms           {darwin any}
maintainers         nomaintainer
license             {Artistic-1 GPL}

description         Fetch information from the host system
long_description    ${description}

checksums           rmd160  31a90e78c9c8fa2b53d92a8eefdf2d7ff74a4813 \
                    sha256  566482bff3427c198d7955468ed945a8e736c4a2925151fdef96801ef8a401e1 \
                    size    16251

if {${perl5.major} != ""} {
    depends_build-append \
                    port:p${perl5.major}-test-sys-info

    depends_lib-append \
                    port:p${perl5.major}-sys-info-base \
                    port:p${perl5.major}-sys-info-driver-osx

    supported_archs noarch
}
