--- Portfile	2009-03-03 19:18:28.000000000 -0500
+++ Portfile_new	2009-03-15 23:11:46.000000000 -0400
@@ -125,7 +127,7 @@
     # avoid conflict with other qt packages
     # ensure lower case names
     foreach bin [glob ${destroot}${prefix}/bin/*] {
-        file rename ${bin} [string tolower ${bin}]-mac
+        file rename ${bin} ${destroot}${prefix}/bin/[string tolower [file tail ${bin}]]-mac
     }
 
     # Fix the .pc and .prl files by removing ${destroot}
