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

PortSystem            1.0
PortGroup             perl5 1.0

perl5.setup           pgtop 0.05 ../by-authors/id/C/CO/COSIMO/
revision              2
maintainers           nomaintainer
description           display PostgreSQL performance info like `top'
long_description      ${description}

platforms             darwin

checksums             md5 5b191cc740498897cce83a1b8c09987d \
                      sha1 89f110bc2509c500b1f1a32cf8432fe7703e11e4 \
                      rmd160 990eb9f7780ff5a2ea974fd4fee82be45d52c2d9

if {${perl5.major} != ""} {
depends_lib-append    port:p${perl5.major}-term-readkey \
                      port:p${perl5.major}-dbi \
                      port:p${perl5.major}-dbd-pg
}
