# -*- 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         HTTP-Date 6.06
maintainers         nomaintainer
license             {Artistic-1 GPL}
description         HTTP::Date - date conversion for HTTP date formats
long_description    {*}${description}

platforms           {darwin any}
supported_archs     noarch

checksums           rmd160  5d61155e248903f330d854347bf6d165bf26dc88 \
                    sha256  7b685191c6acc3e773d1fc02c95ee1f9fae94f77783175f5e78c181cc92d2b52 \
                    size    31629

if {${perl5.major} != ""} {
# HTTP::Date 6.0.5 requires Time::Local 1.28+
# available in 5.30 core but not 5.28 and earlier
    depends_lib-append \
                    port:p${perl5.major}-time-local \
                    port:p${perl5.major}-timedate

}
