# -*- 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         Path-IsDev 1.001003 ../by-authors/id/K/KE/KENTNL

platforms           {darwin any}
maintainers         {khindenburg @kurthindenburg} openmaintainer
license             {Artistic-1 GPL}

supported_archs     noarch

description         Determine if a given Path resembles a development source tree
long_description    {*}${description}

checksums           rmd160  100088c67b5b29d09bcd41f52ee24efabad53c73 \
                    sha256  37d66bfe205d7916824a46ad6290b8fb170fc602c16f8dc8169576f2ad682949

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

    depends_lib-append      port:p${perl5.major}-class-tiny \
                            port:p${perl5.major}-file-homedir \
                            port:p${perl5.major}-module-runtime \
                            port:p${perl5.major}-path-tiny \
                            port:p${perl5.major}-role-tiny \
                            port:p${perl5.major}-sub-exporter

    test.run                yes
}
