On Jan 11, 2013, at 15:29, [email protected] wrote:

> Revision: 101490
>          https://trac.macports.org/changeset/101490
> Author:   [email protected]
> 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.



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

Reply via email to