[109847] trunk/dports/_resources/port1.0/group/muniversal-1.0.tcl

jeremyhu at macports.org jeremyhu at macports.org
Tue Aug 20 10:27:36 PDT 2013


Revision: 109847
          https://trac.macports.org/changeset/109847
Author:   jeremyhu at macports.org
Date:     2013-08-20 10:27:36 -0700 (Tue, 20 Aug 2013)
Log Message:
-----------
muniversal: Support *.lzma and *.xz using the xz port (assume it is installed if the files exist)

Modified Paths:
--------------
    trunk/dports/_resources/port1.0/group/muniversal-1.0.tcl

Modified: trunk/dports/_resources/port1.0/group/muniversal-1.0.tcl
===================================================================
--- trunk/dports/_resources/port1.0/group/muniversal-1.0.tcl	2013-08-20 17:21:17 UTC (rev 109846)
+++ trunk/dports/_resources/port1.0/group/muniversal-1.0.tcl	2013-08-20 17:27:36 UTC (rev 109847)
@@ -617,10 +617,18 @@
                                             ui_debug "universal: merge: ${prefixDir}/${fl} differs in ${base1} and ${base2}; assume trivial difference"
                                             copy ${dir1}/${fl} ${dir}
                                         }
+                                        *.lzma -
+                                        *.xz -
                                         *.gz -
                                         *.bz2 {
                                             # compressed files can differ due to entropy
                                             switch -glob ${fl} {
+                                                *.lzma {
+                                                    set cat ${prefix}/bin/lzcat
+                                                }
+                                                *.xz {
+                                                    set cat ${prefix}/bin/xzcat
+                                                }
                                                 *.gz {
                                                     set cat /usr/bin/gzcat
                                                 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130820/f909bd70/attachment.html>


More information about the macports-changes mailing list