[134918] trunk/dports/multimedia/mpv/Portfile

Lawrence Velázquez larryv at macports.org
Sat Apr 11 10:51:00 PDT 2015


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

vq

> On Apr 10, 2015, at 4:10 PM, ionic at macports.org wrote:
> 
> Revision
> 134918 <https://trac.macports.org/changeset/134918>Author
> ionic at macports.org <mailto:ionic at 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-changes at lists.macosforge.org <mailto:macports-changes at lists.macosforge.org>
> https://lists.macosforge.org/mailman/listinfo/macports-changes <https://lists.macosforge.org/mailman/listinfo/macports-changes>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-dev/attachments/20150411/1e65fce5/attachment.html>


More information about the macports-dev mailing list