# -*- 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         Mail-MboxParser 0.55
revision            4
license             {Artistic-1 GPL}
platforms           {darwin any}
maintainers         nomaintainer

description         read-only access to UNIX-mailboxes
long_description    Mail::MboxParser attempts to provide a simplified \
                    access to standard UNIX-mailboxes.

checksums           rmd160  fdbd521b41d28062d7710859a074453699524582 \
                    sha256  33f025e9b10956b9a58ef01774b92b790aacca5fb00b1c755ada77ad4e5c7d3b

if {${perl5.major} != ""} {
    patchfiles          fix-spelling-error-in-manpage.patch \
                        perl-Mail-MboxParser-0.55-Fix-garbled-attachment-name-RT-66576.patch \
                        fix_messageparser_interaction \
                        pod-encoding.patch

    depends_lib-append \
                    port:p${perl5.major}-mime-tools

    supported_archs noarch
}
