Ticket #20818: phpmyadmin.diff
File phpmyadmin.diff, 1.5 KB (added by ryandesign (Ryan Carsten Schmidt), 15 years ago) |
---|
-
Portfile
4 4 5 5 name phpmyadmin 6 6 set my_name phpMyAdmin 7 version 3.2. 0.17 version 3.2.1 8 8 categories www php databases 9 9 maintainers alakazam 10 10 description A tool written in PHP intended to handle the \ … … 21 21 distname ${my_name}-${version}-all-languages 22 22 use_bzip2 yes 23 23 24 checksums md5 e6f19a8c286697c4dccfae574cd41826\25 sha1 7b1e9444fcb332b792999ac2f4bd57f3722e8531\26 rmd160 5f255e23849e909fecc23cc5ca92071178c1b61324 checksums md5 f6b0273cba534fefa0a1d69b78a003df \ 25 sha1 3251e1a54d0e30e05bf4f9d4ede1c6ab063b2be3 \ 26 rmd160 c83f39bcccdd79417d63cd2b19c258b74174072e 27 27 28 28 platforms darwin freebsd 29 29 30 # Automatically depend on the latest mysql installed, fallback on mysql5 (r27781) 31 set myglob [glob -directory ${prefix}/lib -nocomplain -tails mysql*] 32 if {[llength ${myglob}]} { 33 set mysql [lindex ${myglob} end] 34 } else { 35 set mysql mysql5 36 } 37 38 depends_run path:lib/${mysql}:${mysql} \ 39 path:bin/php:php5 30 depends_run port:php5-gd \ 31 port:php5-mbstring \ 32 port:php5-mcrypt \ 33 port:php5-mysql \ 34 port:php5-zip 40 35 41 36 set docpath ${destroot}${prefix}/www 42 37