On Jan 29, 2008, at 08:21, [EMAIL PROTECTED] 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

_______________________________________________
macports-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo/macports-dev

Reply via email to