# -*- 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.70
revision            0
license             {Artistic-1 GPL}
maintainers         nomaintainer
description         Create a module Makefile
long_description    This utility is designed to write a Makefile for an \
                    extension module from a Makefile.PL.

platforms           {darwin any}
supported_archs     noarch

checksums           rmd160  99dd0c925eae3f0aca5ea4d1d1e0f16da5a3775d \
                    sha256  f108bd46420d2f00d242825f865b0f68851084924924f92261d684c49e3e7a74 \
                    size    483993

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
}
