[132822] trunk/dports/multimedia/HandBrake/Portfile

larryv at macports.org larryv at macports.org
Wed Feb 11 01:03:28 PST 2015


Revision: 132822
          https://trac.macports.org/changeset/132822
Author:   larryv at macports.org
Date:     2015-02-11 01:03:28 -0800 (Wed, 11 Feb 2015)
Log Message:
-----------
HandBrake: Link contrib distfiles instead of copying them

Modified Paths:
--------------
    trunk/dports/multimedia/HandBrake/Portfile

Modified: trunk/dports/multimedia/HandBrake/Portfile
===================================================================
--- trunk/dports/multimedia/HandBrake/Portfile	2015-02-11 09:03:19 UTC (rev 132821)
+++ trunk/dports/multimedia/HandBrake/Portfile	2015-02-11 09:03:28 UTC (rev 132822)
@@ -141,14 +141,8 @@
 
 extract.only ${distname}${extract.suffix}
 post-extract {
-    file mkdir ${worksrcpath}/download
-    foreach distfile ${distfiles} {
-        if {[regexp {^(.+):([^:]+)} ${distfile} -> distfilename distfiletag]} {
-            if {${distfiletag} == "contrib"} {
-                copy ${distpath}/${distfilename} ${worksrcpath}/download
-            }
-        }
-    }
+    # Make contrib distfiles available to the build.
+    ln -s ${distpath} ${worksrcpath}/download
 
     # make mp4v2 build with clang, see
     # http://code.google.com/p/mp4v2/issues/detail?id=80
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150211/625fe5a7/attachment-0001.html>


More information about the macports-changes mailing list