# -*- 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         DateTime-Format-Strptime 1.79
license             Artistic-2
maintainers         nomaintainer
description         Parse and format strp and strf time patterns
long_description    This module implements most of strptime(3), the \
                    POSIX function that is the reverse of strftime(3), \
                    for DateTime. While strftime takes a DateTime and a \
                    pattern and returns a string, strptime takes a \
                    string and a pattern and returns the DateTime \
                    object associated.

platforms           {darwin any}

checksums           rmd160  996dc776c6aeceaf10d90bef0e81b0d90c1018fb \
                    sha256  701e46802c86ed4d88695c1a6dacbbe90b3390beeb794f387e7c792300037579 \
                    size    119122

if {${perl5.major} != ""} {
    depends_build-append \
                    port:p${perl5.major}-test-fatal \
                    port:p${perl5.major}-test-warnings

    depends_lib-append \
                    port:p${perl5.major}-datetime \
                    port:p${perl5.major}-datetime-locale \
                    port:p${perl5.major}-datetime-timezone \
                    port:p${perl5.major}-params-validate \
                    port:p${perl5.major}-specio \
                    port:p${perl5.major}-try-tiny

    supported_archs noarch
}
