source: trunk/dports/www/phppgadmin/Portfile

Last change on this file was 124576, checked in by ryandesign@…, 3 years ago

phppgadmin: update to 5.1; remove php5 variant; default to php55 variant

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 KB
Line 
1# -*- 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
2# $Id: Portfile 124576 2014-08-25 23:40:30Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                phppgadmin
7set my_name         phpPgAdmin
8version             5.1
9set branch          [join [lrange [split ${version} .] 0 1] .]
10categories          www databases
11maintainers         nomaintainer
12license             GPL-2+
13supported_archs     noarch
14
15description         phpPgAdmin is a web-based administration tool for PostgreSQL.
16long_description    phpPgAdmin is a tool written in PHP intended to handle \
17                    the administration of PostgreSQL over the Web. phpPgAdmin \
18                    supports a wide range of operations with PostgreSQL.
19homepage            http://phppgadmin.sourceforge.net/
20master_sites        sourceforge:project/phppgadmin/phpPgAdmin%20%5Bstable%5D/phpPgAdmin-${branch}
21distname            ${my_name}-${version}
22use_bzip2           yes
23
24checksums           rmd160  d802641475f6ba7f07196b84123666603134e1a1 \
25                    sha256  8a450ec4b8c85e8da7ab43b928265bc2ad0280fdea4144b55b40da4ceefd6ec6
26
27platforms           darwin freebsd
28
29# The php variants deliberately do not conflict
30
31variant php53 description {Use php53} {
32    depends_run-append  port:php53-postgresql
33}
34
35variant php54 description {Use php54} {
36    depends_run-append  port:php54-postgresql
37}
38
39variant php55 description {Use php55} {
40    depends_run-append  port:php55-postgresql
41}
42
43if {![variant_isset php53] && ![variant_isset php54] && ![variant_isset php55]} {
44    default_variants +php55
45}
46
47use_configure       no
48build               {}
49
50destroot {
51    copy ${worksrcpath} ${destroot}${prefix}/www/phppgadmin
52}
53
54livecheck.distname  ${my_name}
55livecheck.url       ${homepage}doku.php?id=download
56livecheck.regex     "${my_name}-(\\d+(?:\\.\\d+)*)"
Note: See TracBrowser for help on using the repository browser.