# $Id: Portfile 85373 2011-10-13 04:16:48Z jmr@macports.org $

PortSystem            1.0
PortGroup             perl5 1.0

perl5.setup           DateTime-Format-Strptime 1.5000
revision              2
license               Artistic-2
maintainers           nomaintainer
description           Parse and format strp and strf time patterns
long_description      This module implements most of strptime(3), the \
                      POSIX function that is the reverse of strftime(3), \
                      for DateTime. While strftime takes a DateTime and a \
                      pattern and returns a string, strptime takes a \
                      string and a pattern and returns the DateTime \
                      object associated.

platforms             darwin

checksums             md5 ccd7e8fe4276c258e325e0bbce3f8e74 \
                      sha1 8040a3e3e89340e5e240e3ef7cf1871cc1e4e238 \
                      rmd160 70ec474a8b57b7b36bf99a6378fd56fa2be3eff2

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