[33538] trunk/dports/science/molden/Portfile
Ryan Schmidt
ryandesign at macports.org
Tue Jan 29 08:06:24 PST 2008
On Jan 29, 2008, at 08:21, jochen at 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
More information about the macports-dev
mailing list