# $Id $

PortSystem          1.0

name                phppgadmin
set my_name         phpPgAdmin
version             4.2.2
categories          www databases
maintainers         nomaintainer
description         phpPgAdmin is a web-based administration tool for PostgreSQL.
long_description    phpPgAdmin is a tool written in PHP intended to handle \
                    the administration of PostgreSQL over the Web. phpPgAdmin \
                    supports a wide range of operations with PostgreSQL.
homepage            http://phppgadmin.net/
master_sites        sourceforge
distname            ${my_name}-${version}
use_bzip2           yes

checksums           md5     7716bd0b1afa8468e22b641bba8faa65 \
                    sha1    3a0b6fbed26d7faeb7a6a33525d021de941944cc \
                    rmd160  a41ce2278d09a2d791630b24db90edd0d3cc71d3

platforms           darwin freebsd

depends_run         port:php5-postgresql

use_configure       no
build               {}

destroot {
    copy ${worksrcpath} ${destroot}${prefix}/www/phppgadmin
}

livecheck.distname  ${my_name}
livecheck.url       http://phppgadmin.sourceforge.net/index.php?page=download
livecheck.regex     "${my_name}-(\\d+(?:\\.\\d+)*)"
