# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id: Portfile 80344 2011-07-10 06:02:24Z ryandesign@macports.org $

PortSystem          1.0

name                phppgadmin
set my_name         phpPgAdmin
version             5.0.2
categories          www databases
maintainers         freebsd.org:miwi
supported_archs     noarch

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.sourceforge.net/
master_sites        sourceforge
distname            ${my_name}-${version}
use_bzip2           yes

checksums           sha1    14fc59074e23ea57697ccd9c031936f853838bba \
                    rmd160  13373330d2d118dff6243db49edc8ab3eef31ab8

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       ${homepage}doku.php?id=download
livecheck.regex     "${my_name}-(\\d+(?:\\.\\d+)*)"
