# -*- 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-MySQL 0.08
revision                0
license                 {Artistic-1 GPL}
maintainers             fpassera.com:dev openmaintainer
description             Parse and format MySQL dates and times
long_description        {*}${description}

platforms               {darwin any}
supported_archs         noarch

checksums               rmd160  e4a87874081d8c9e194688cde80610e5f5bf08da \
                        sha256  19cb70e98584655e354d2d6a8e71cc5ca902dddc3ac44416712f9163d122b9e8 \
                        size    13951

if {${perl5.major} != ""} {
    depends_build-append \
                        port:p${perl5.major}-namespace-clean \
                        port:p${perl5.major}-sub-exporter-progressive

    depends_lib-append \
                        port:p${perl5.major}-datetime \
                        port:p${perl5.major}-datetime-format-builder

    perl5.use_module_build
}
