# $Id: Portfile 49762 2009-04-17 16:41:37Z alakazam@macports.org $ PortSystem 1.0 name phpmyadmin set my_name phpMyAdmin version 3.1.3.2 categories www php databases maintainers alakazam description A tool written in PHP intended to handle the \ administration of MySQL over the Web. long_description phpMyAdmin is a tool written in PHP intended to handle \ the administration of MySQL over the Web. phpMyAdmin \ supports a wide range of operations with MySQL. The most \ frequently used operations are supported by the user \ interface (managing databases, tables, fields, relations, \ indexes, users, permissions, etc), while you still have \ the ability to directly execute any SQL statement. homepage http://www.phpmyadmin.net master_sites sourceforge distname ${my_name}-${version}-all-languages use_bzip2 yes checksums md5 8039f9f97521f8af46293eac37d623a8 \ sha1 31fb3261f5cf1c88698a0885541fb0ba4ff9350d \ rmd160 190227d8cb73ad09f042208a5f74f2aee26c487e 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}/phpmyadmin eval copy [glob ${worksrcpath}/*] ${docpath}/phpmyadmin } livecheck.distname ${my_name} livecheck.regex "${livecheck.distname} (\\d+(?:\\.\\d+)*) .*"