# -*- 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.08 ../../authors/id/O/OA/OALDERS
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  4582e5296992a196122480058c6e0394bedbaf90 \
                    sha256  b57d80ca6d821c6949ca48b27467d45aba7a9c77346562306facca781a003e44 \
                    size    35415

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

}
