[89200] trunk/dports/science

Ryan Schmidt ryandesign at macports.org
Thu Jan 26 17:22:21 PST 2012


On Jan 20, 2012, at 21:22, ram at macports.org wrote:

> Revision: 89200
>          http://trac.macports.org/changeset/89200
> Author:   ram at macports.org
> Date:     2012-01-20 19:22:04 -0800 (Fri, 20 Jan 2012)
> Log Message:
> -----------
> science/ligo-gracedb: new port

> Added: trunk/dports/science/ligo-gracedb/Portfile

> +python.link_binaries no
> +
> +post-destroot {
> +  foreach x [glob -type {x} ${destroot}${python.prefix}/bin/*] { system "ln $x ${destroot}${prefix}/bin" }
> +}

For all three ports ligo-gracedb, ligo-lars, ligo-lvalert, why do this -- why turn off the portgroup's automatic linking and then do linking yourself?

If you must do linking yourself, why use the "system" procedure to launch the ln program? Why not use the built-in ln procedure?

Why make hardlinks instead of symlinks?




More information about the macports-dev mailing list