# $Id: Portfile 84741 2011-09-30 12:07:17Z jmr@macports.org $

PortSystem                1.0
PortGroup                 perl5 1.0

epoch                     2
perl5.setup               DateTime 0.70
revision                  1
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    016bd671ea2f135a8bd4f6a8ad06fa2ceaf585be \
                          rmd160  2f407f04e924efe8ceb3de08901aad28da404f8b

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
}
