# $Id: Portfile 109129 2013-08-08 11:08:13Z jmr@macports.org $

PortSystem            1.0
PortGroup             perl5 1.0

perl5.branches        5.8 5.10 5.12 5.14 5.16
perl5.setup           pgtop 0.05 ../by-authors/id/C/CO/COSIMO/
revision              3
license               GPL-2
maintainers           nomaintainer
description           display PostgreSQL performance info like `top'
long_description      ${description}

platforms             darwin
supported_archs       noarch

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
}
