# -*- 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
perl5.setup         Module-Implementation 0.09
platforms           darwin
maintainers         nomaintainer
license             Artistic-2
supported_archs     noarch

description         Module::Implementation - Loads one of several alternate underlying implementations for a module

long_description    This module abstracts out the process of choosing one of several \
                    underlying implementations for a module. This can be used to \
                    provide XS and pure Perl implementations of a module, or it could \
                    be used to load an implementation for a given OS or any other \
                    case of needing to provide multiple implementations.

checksums           rmd160  5163bc0a3d166559ca51460cac909d7b885becfe \
                    sha256  c15f1a12f0c2130c9efff3c2e1afe5887b08ccd033bd132186d1e7d5087fd66d

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