[105210] trunk/dports/lang/phobos/Portfile

Ryan Schmidt ryandesign at macports.org
Sat Apr 13 10:35:04 PDT 2013


On Apr 13, 2013, at 04:50, takeshi at macports.org wrote:

> Revision: 105210
>          https://trac.macports.org/changeset/105210
> Author:   takeshi at macports.org
> Date:     2013-04-13 02:50:26 -0700 (Sat, 13 Apr 2013)
> Log Message:
> -----------
> phobos: cleanup using eval xinstall. See #35862.
> 
> Modified Paths:
> --------------
>    trunk/dports/lang/phobos/Portfile
> 
> Modified: trunk/dports/lang/phobos/Portfile
> ===================================================================
> --- trunk/dports/lang/phobos/Portfile	2013-04-13 09:44:13 UTC (rev 105209)
> +++ trunk/dports/lang/phobos/Portfile	2013-04-13 09:50:26 UTC (rev 105210)
> @@ -5,6 +5,7 @@
> PortGroup           github 1.0
> 
> github.setup        D-Programming-Language phobos 2.062 v
> +revision            1
> categories          lang
> platforms           darwin
> license             Boost-1
> @@ -47,9 +48,7 @@
>         ${destroot}${prefix}/lib
>     xinstall -d -m 755 ${destroot}${prefix}/include
>     xinstall -d -m 755 ${destroot}${prefix}/include/${name}
> -    foreach f [glob ${worksrcpath}/*.d] {
> -        xinstall -m 644 ${f} ${destroot}${prefix}/include/${name}
> -    }
> +    eval xinstall -m 644 [glob ${worksrcpath}/*.d] ${destroot}${prefix}/include/${name}
>     file copy ${worksrcpath}/etc ${destroot}${prefix}/include/${name}
>     file copy ${worksrcpath}/std ${destroot}${prefix}/include/${name}
> }

It looks like this doesn't change the files that get installed by the port, so for future reference, increasing the revision is not necessary in those cases.




More information about the macports-dev mailing list