# -*- 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         Email-Date 1.104
license             {Artistic-1 GPL}
maintainers         nomaintainer
description         Email::Date - Find and Format Date Headers
long_description    ${description}
platforms           darwin

checksums           rmd160  524176d8ecf46b2ee303a3b53e4dc903e4c1a6a0 \
                    sha256  437c572b1aa9d1c77da26595bb03e003a3b2756c2fcc87d65177b10fc07d52c9

if {${perl5.major} != ""} {
    depends_build-append \
                    port:p${perl5.major}-capture-tiny \
                    port:p${perl5.major}-module-pluggable

    depends_lib-append \
                    port:p${perl5.major}-email-abstract \
                    port:p${perl5.major}-email-date-format \
                    port:p${perl5.major}-timedate

    supported_archs noarch
}

