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

PortSystem            1.0
PortGroup             perl5 1.0

perl5.setup           DateTime-Format-Pg 0.16006
revision              1
maintainers           nomaintainer
description           Parse and format PostgreSQL dates and times
long_description      This module understands the formats used by PostgreSQL \
                      for its DATE, TIME, TIMESTAMP, and INTERVAL data types. \
                      It can be used to parse these formats in order to \
                      create DateTime or DateTime::Duration objects, and it \
                      can take a DateTime or DateTime::Duration object and \
                      produce a string representing it in a format accepted \
                      by PostgreSQL.

platforms             darwin

checksums             sha1    11039b39e9591c71924f1c2e1d7e2bc6eea9997f \
                      rmd160  53f1b53445048ff7c4fffa11ce186519df539ee8

if {${perl5.major} != ""} {
depends_lib-append    port:p${perl5.major}-datetime \
                      port:p${perl5.major}-datetime-format-builder \
                      port:p${perl5.major}-datetime-timezone
}
