# -*- 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.26 5.28
perl5.setup         PerlIO-via-symlink 0.05
revision            4
license             {Artistic-1 GPL}
maintainers         nomaintainer

description         This is a PerlIO layer for creating symlinks
long_description    ${description}

checksums           rmd160  2be2272706138ec4a13740c6d95a27eda421968c \
                    sha256  4107d4c34a6a3629453448c25695d92f82522aff64e29b716b56a5af586b2d52

platforms           darwin

if {${perl5.major} != ""} {
    depends_build-append \
                    port:p${perl5.major}-module-install

# remove outdated inc::Module::Install included with module
# causes build failure for perl5.18+
# see https://rt.cpan.org/Public/Bug/Display.html?id=86016

    post-patch {
        delete ${worksrcpath}/inc
    }

    supported_archs noarch
}
