#20334: phppgadmin: new port -------------------------------+-------------------------------------------- Reporter: nefar@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: phppgadmin -------------------------------+-------------------------------------------- {{{ # $Id $ PortSystem 1.0 name phppgadmin set my_name phpPgAdmin version 4.2.2 categories www php databases maintainers openmaintainer 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 # Automatically depend on the latest mysql installed, fallback on mysql5 (r27781) set myglob [glob -directory ${prefix}/lib -nocomplain -tails mysql*] if {[llength ${myglob}]} { set mysql [lindex ${myglob} end] } else { set mysql mysql5 } depends_run path:lib/${mysql}:${mysql} \ path:bin/php:php5 set docpath ${destroot}${prefix}/www use_configure no build {} destroot { xinstall -d -m 0755 ${docpath}/phppgadmin eval copy [glob ${worksrcpath}/*] ${docpath}/phppgadmin } livecheck.distname ${my_name} livecheck.url http://phppgadmin.sourceforge.net/index.php?page=download livecheck.regex "${my_name}-(\\d+(?:\\.\\d+)*)" }}} -- Ticket URL: <http://trac.macports.org/ticket/20334> MacPorts <http://www.macports.org/> Ports system for Mac OS