[91712] trunk/dports/lang/upc/Portfile

Ryan Schmidt ryandesign at macports.org
Sun Apr 8 20:09:12 PDT 2012


On Apr 8, 2012, at 18:22, takeshi at macports.org wrote:

> Revision: 91712
>          https://trac.macports.org/changeset/91712
> Author:   takeshi at macports.org
> Date:     2012-04-08 16:22:25 -0700 (Sun, 08 Apr 2012)
> Log Message:
> -----------
> upc: revamped to 4.7.0.2
> 
> Modified Paths:
> --------------
>    trunk/dports/lang/upc/Portfile

> +    system "cd ${destroot}${prefix}/bin; \
> +            ln -s ${prefix}/lib/${name}/bin/g${name} g${name}; \
> +            ln -s ${prefix}/lib/${name}/bin/g${name} ${name}; \
> +            cd ${destroot}${prefix}/share/man/man1; \
> +            ln -s ${prefix}/share/man/man1/g${name}.1 ${name}.1; \
> +            cd ${destroot}${prefix}/share/info; \
> +            ln -s ${prefix}/share/info/g${name}.info ${name}.info"

Please just use the Tcl "ln" command to create symlinks; there's no need to shell out using "system".





More information about the macports-dev mailing list