# -*- 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         MooseX-Singleton 0.30
license             {Artistic-1 GPL}
platforms           {darwin any}
maintainers         nomaintainer

description         MooseX::Singleton - turn your Moose class into a singleton
long_description    ${description}

checksums           rmd160  3ac3bf477e10c0c2653ee0829608ef88b19c8742 \
                    sha256  6584b2f31b1d3eb6dd7e23128738e73f6c015b152138b0a8157d3d0d59d06541

if {${perl5.major} != ""} {
    depends_build-append \
                    port:p${perl5.major}-module-build-tiny \
                    port:p${perl5.major}-test-fatal \
                    port:p${perl5.major}-test-requires \
                    port:p${perl5.major}-test-warnings

    depends_lib-append \
                    port:p${perl5.major}-moose

    perl5.use_module_build
    supported_archs noarch
}
