# -*- 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.72
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  9cf579c2cc1a4d141bd2f8083d98faae4233d2d8 \
                    sha256  38c892019a3bc4e7b78c1c58356eb39aa1dd32a035981c4e7b487d01091a45d2 \
                    size    487876

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
}
