# -*- 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$ PortSystem 1.0 name phppgadmin set my_name phpPgAdmin version 5.0.4 set branch [join [lrange [split ${version} .] 0 1] .] categories www databases maintainers nomaintainer license GPL-2+ 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:project/phppgadmin/phpPgAdmin%20%5Bstable%5D/phpPgAdmin-${branch} distname ${my_name}-${version} use_bzip2 yes checksums rmd160 d3cad1238e9c89b7e20b5032cf932cd6e15a9b8d \ sha256 cd4b16008c9b5b2b8b9f20708e51e77690d910a7b3d85f9f66386c79994a4349 platforms darwin freebsd # The php variants deliberately do not conflict variant php5 description {Use php5} { depends_run-append port:php5-postgresql } variant php53 description {Use php53} { depends_run-append port:php53-postgresql } variant php54 description {Use php54} { depends_run-append port:php54-postgresql } if {![variant_isset php5] && ![variant_isset php53] && ![variant_isset php54]} { default_variants +php5 } 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+)*)"