# -*- 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-LazyRequire 0.11
license             {Artistic-1 GPL}
maintainers         nomaintainer
description         MooseX::LazyRequire - Required attributes which fail only when trying to use them
long_description    ${description}

platforms           {darwin any}

checksums           rmd160  301b18e2b388077172f7cce4fe4d8aa31ad3b732 \
                    sha256  ef620c1e019daf9cf3f23a943d25a94c91e93ab312bcd63be2e9740ec0b94288

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

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

    perl5.use_module_build
    supported_archs noarch
}
