mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
56 lines
1.8 KiB
Tcl
56 lines
1.8 KiB
Tcl
# -*- 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
|
|
|
|
PortSystem 1.0
|
|
|
|
name phppgadmin
|
|
set my_name phpPgAdmin
|
|
version 5.1
|
|
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 d802641475f6ba7f07196b84123666603134e1a1 \
|
|
sha256 8a450ec4b8c85e8da7ab43b928265bc2ad0280fdea4144b55b40da4ceefd6ec6
|
|
|
|
platforms any
|
|
|
|
# The php variants deliberately do not conflict
|
|
|
|
variant php53 description {Use php53} {
|
|
depends_run-append port:php53-postgresql
|
|
}
|
|
|
|
variant php54 description {Use php54} {
|
|
depends_run-append port:php54-postgresql
|
|
}
|
|
|
|
variant php55 description {Use php55} {
|
|
depends_run-append port:php55-postgresql
|
|
}
|
|
|
|
if {![variant_isset php53] && ![variant_isset php54] && ![variant_isset php55]} {
|
|
default_variants +php55
|
|
}
|
|
|
|
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+)*)"
|