# -*- 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         Module-Pluggable 6.4 ../../authors/id/S/SI/SIMONW
revision            0
license             {Artistic-1 GPL}
maintainers         nomaintainer
description         Module::Pluggable - automatically give your module the ability to have plugins
long_description    {*}${description}

platforms           {darwin any}
supported_archs     noarch

checksums           rmd160  2ad89ce3da5045e2963873757e0685a697f4e109 \
                    sha256  970fd13accd3d538e637db080ebbd9898020c8b5591837c8493a39edd737922d \
                    size    34875

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

# add upstream test file missing from 6.4 distribution
    post-extract {
        copy ${filespath}/32sort_results.t  ${worksrcpath}/t
    }

# apply upstream MANIFEST patch
    patchfiles      fix-manifest.patch
}
