# -*- 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         Time-y2038 20100403
revision            3
license             {Artistic-1 GPL} MIT
maintainers         nomaintainer
description         Versions of Perl's time functions which work beyond 2038
long_description    On many computers, Perl's time functions will not \
                    work past the year 2038. This is a design fault \
                    in the underlying C libraries Perl uses. \
                    Time::y2038 provides replacements for those \
                    functions which will work accurately \
                    +/1 142 million years.

platforms           darwin

checksums           sha1    b0245a2daa84bbbf086114f79001b2d412015b0a \
                    rmd160  3cdf4b051b14d5d61ed4068468eb35cc24b7b4e1

if {${perl5.major} != ""} {
    depends_build-append \
                    port:p${perl5.major}-json \
                    port:p${perl5.major}-test-exception \
                    port:p${perl5.major}-test-warn

    patchfiles      patch-inc-Local-Module-Build.pm.diff

    perl5.use_module_build
}
