# $Id: Portfile 94718 2012-06-27 16:00:09Z dluke@macports.org $

PortSystem                1.0
PortGroup                 perl5 1.0

epoch                     2
perl5.branches      5.8 5.10 5.12 5.14 5.16
perl5.setup               DateTime 0.75
license                   Artistic-2
maintainers               nomaintainer
description               A date and time object
long_description          DateTime is a class for the representation of \
                          date/time combinations, and is part of the Perl \
                          DateTime project. For details on this project \
                          please see http://datetime.perl.org

platforms                 darwin

checksums                 sha1    e8d6b27e5f324e397fe9a1e8e459fb8b8c7c4d7c \
                          rmd160  75fd044ec24423b72073ee6cbf990b4e85c4fb74

if {${perl5.major} != ""} {
depends_lib-append        port:p${perl5.major}-datetime-locale \
                          port:p${perl5.major}-datetime-timezone \
                          port:p${perl5.major}-params-validate \
                          port:p${perl5.major}-test-exception \
                          port:p${perl5.major}-extutils-cbuilder \
                          port:p${perl5.major}-test-simple \
                          port:p${perl5.major}-math-round

perl5.use_module_build
}
