[101490] trunk/dports/science

Ryan Schmidt ryandesign at macports.org
Mon Jan 14 03:37:27 PST 2013


On Jan 11, 2013, at 15:29, takeshi at macports.org wrote:

> Revision: 101490
>          https://trac.macports.org/changeset/101490
> Author:   takeshi at macports.org
> Date:     2013-01-11 13:29:35 -0800 (Fri, 11 Jan 2013)
> Log Message:
> -----------
> gshhg-gmt-nc4: added, closing #34065
> 
> Added Paths:
> -----------
>    trunk/dports/science/gshhg-gmt-nc4/
>    trunk/dports/science/gshhg-gmt-nc4/Portfile

> +destroot {
> +    xinstall -m 755 -d ${destroot}${prefix}/share/${name}
> +    eval xinstall -m 644 [glob ${worksrcpath}/*] \
> +        ${destroot}${prefix}/share/${name}
> +}

I think you can accomplish the same more simply with:

destroot {
    copy ${worksrcpath} ${destroot}${prefix}/share/${name}
}

At least it seems to work for me and to result in the same files being installed.





More information about the macports-dev mailing list