Use ${filespath} instead of ${filesdir} because the former is
absolute.
Suggested by: ryandesign
--- trunk/dports/java/derby/Portfile 2011-02-10 06:34:18 UTC (rev 75831)
+++ trunk/dports/java/derby/Portfile 2011-02-10 08:51:52 UTC (rev 75832)
@@ -49,7 +49,7 @@
file copy ${worksrcpath} ${derbydir}
foreach f { dblook ij sysinfo } {
- xinstall -m 755 ${filesdir}/${f} ${destroot}${prefix}/bin/${f}
+ xinstall -m 755 ${filespath}/${f} ${destroot}${prefix}/bin/${f}
reinplace "s|@PREFIX@|${prefix}|" ${destroot}${prefix}/bin/${f}
}