# $Id: Portfile 82782 2011-08-20 01:07:52Z ryandesign@macports.org $

PortSystem                1.0
PortGroup                 perl5 1.0

perl5.setup               Time-y2038 20100403
revision                  1
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}-extutils-cbuilder \
                          port:p${perl5.major}-json \
                          port:p${perl5.major}-test-exception \
                          port:p${perl5.major}-test-warn

perl5.use_module_build
}

platform darwin 10 {
    pre-configure {
        error "$name fails to build on this platform."
    }
}
