You should use our "copy" proc here as well, instead of "file copy".

vq

> On Apr 10, 2015, at 4:10 PM, io...@macports.org wrote:
> 
> Revision
> 134918 <https://trac.macports.org/changeset/134918>Author
> io...@macports.org <mailto:io...@macports.org>Date
> 2015-04-10 13:10:54 -0700 (Fri, 10 Apr 2015)
> Log Message
> 
> mpv: replace eval with {*} and file rename with move (case-insensitivity 
> safe.)
> Modified Paths
> 
> trunk/dports/multimedia/mpv/Portfile 
> <x-msg://13/#trunkdportsmultimediampvPortfile>
> Diff
> 
>  <>Modified: trunk/dports/multimedia/mpv/Portfile (134917 => 134918)
> 
> --- trunk/dports/multimedia/mpv/Portfile      2015-04-10 18:28:45 UTC (rev 
> 134917)
> +++ trunk/dports/multimedia/mpv/Portfile      2015-04-10 20:10:54 UTC (rev 
> 134918)
> @@ -263,7 +263,7 @@
>              ${destroot}${prefix}/etc/${name}/${etcfile}
>      }
>      xinstall -d -m 0755 ${destroot}${prefix}/share/examples/${name}
> -    eval file copy [glob ${worksrcpath}/TOOLS/lua ${worksrcpath}/TOOLS/*.pl \
> +    file copy {*}[glob ${worksrcpath}/TOOLS/lua ${worksrcpath}/TOOLS/*.pl \
>                           ${worksrcpath}/TOOLS/*.sh ${worksrcpath}/TOOLS/*.py 
> \
>                           ${worksrcpath}/TOOLS/umpv ${worksrcpath}/TOOLS/lib] 
> \
>                     ${destroot}${prefix}/share/examples/${name}
> @@ -287,7 +287,7 @@
>  
>      post-destroot {
>          xinstall -d -m 0755 ${destroot}${applications_dir}
> -        file rename ${worksrcpath}/build/mpv.app 
> ${destroot}${applications_dir}
> +        move ${worksrcpath}/build/mpv.app ${destroot}${applications_dir}
>      }
>  }
>  
> _______________________________________________
> macports-changes mailing list
> macports-chan...@lists.macosforge.org 
> <mailto:macports-chan...@lists.macosforge.org>
> https://lists.macosforge.org/mailman/listinfo/macports-changes 
> <https://lists.macosforge.org/mailman/listinfo/macports-changes>
_______________________________________________
macports-dev mailing list
macports-dev@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-dev

Reply via email to