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

ionic at macports.org ionic at macports.org
Fri Apr 10 13:10:54 PDT 2015


Revision: 134918
          https://trac.macports.org/changeset/134918
Author:   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

Modified: trunk/dports/multimedia/mpv/Portfile
===================================================================
--- 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}
     }
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150410/9654aac9/attachment.html>


More information about the macports-changes mailing list