29 Jan
2008
29 Jan
'08
4:06 p.m.
On Jan 29, 2008, at 08:21, jochen@macports.org wrote:
-destroot { cd ${workpath}/${distname} - system "cp molden ${destroot}${prefix}/bin" - } +destroot { system "install -c -m 755 ${workpath}/$ {distname}/molden ${destroot}${prefix}/bin/" }
Removing the "cd" command is good, but really you should use the Tcl xinstall command, not shell out to the install command using system. This should do it: xinstall -W ${worksrcpath} molden ${destroot}${prefix}/bin