# -*- 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 5.28 5.30

perl5.setup         MHonArc 2.6.24 ../../authors/id/L/LD/LDIDRY/
revision            0
license             GPL
maintainers         nomaintainer

description         MHonArc - mail and news munging
long_description    A Perl program for converting mail or news messages into \
                    HTML archives, converting individual messages into \
                    HTML documents, and also MIME support.

homepage            https://github.com/sympa-community/MHonArc
master_sites        https://github.com/sympa-community/MHonArc/archive/

distname            ${version}
worksrcdir          ${perl5.module}-${version}

platforms           darwin

checksums           rmd160  92224e5abd0b3b5c075631fa39ca988ab97294ad \
                    sha256  8d1645b79a5c3fef8d13f7a82b3b680166794aaab7b6822a2313d9fb34d97af1 \
                    size    1955519

if {${perl5.major} != ""} {
    depends_lib-append \
                    port:p${perl5.major}-encode \
                    port:p${perl5.major}-getopt-long \
                    port:p${perl5.major}-time-local

    supported_archs noarch
}

livecheck.type      regex
livecheck.url       https://github.com/sympa-community/MHonArc/releases/
livecheck.regex     "tag/(\\d+(?:\\.\\d+)*)"
