# -*- 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         ExtUtils-MakeMaker 7.76
revision            0
license             {Artistic-1 GPL}
maintainers         nomaintainer
description         ExtUtils::MakeMaker - Create a module Makefile
long_description    {*}${description}

platforms           {darwin any}
supported_archs     noarch

checksums           rmd160  f99c69baa9a695042e11a6845d5348744bbd2631 \
                    sha256  30bcfd75fec4d512e9081c792f7cb590009d9de2fe285ffa8eec1be35a5ae7ca \
                    size    488229

perl5.link_binaries no
if {${perl5.major} != ""} {
    # See https://trac.macports.org/ticket/61630
    patchfiles-append \
                    patch-want-implicit-errors.diff

    depends_lib-append \
                    port:p${perl5.major}-cpan-meta-requirements \
                    port:p${perl5.major}-extutils-manifest

    configure.env   BUILDING_AS_PACKAGE=1
}
