[106313] trunk/dports/emulators

ryandesign at macports.org ryandesign at macports.org
Tue May 21 23:07:22 PDT 2013


Revision: 106313
          https://trac.macports.org/changeset/106313
Author:   ryandesign at macports.org
Date:     2013-05-21 23:07:22 -0700 (Tue, 21 May 2013)
Log Message:
-----------
minivmac, minivmac-devel: extract faster: only extract the specific blank image we're going to use

Modified Paths:
--------------
    trunk/dports/emulators/minivmac/Portfile
    trunk/dports/emulators/minivmac-devel/Portfile

Modified: trunk/dports/emulators/minivmac/Portfile
===================================================================
--- trunk/dports/emulators/minivmac/Portfile	2013-05-22 05:32:02 UTC (rev 106312)
+++ trunk/dports/emulators/minivmac/Portfile	2013-05-22 06:07:22 UTC (rev 106313)
@@ -52,8 +52,7 @@
 
 extract.only            ${my_src_distfile} \
                         ${my_bootstrap_distfile} \
-                        ${my_icons_distfile} \
-                        ${my_blanks_distfile}
+                        ${my_icons_distfile}
 
 checksums               ${my_src_distfile} \
                         rmd160  24e2a29db9ea54dfc41889ef16184daa3f054ef5 \
@@ -179,11 +178,11 @@
         }
     }
     
-    # Get a large empty disk image to store the output.
-    my_system "unzip -q ${worksrcpath}/${my_blanks}/hfs24M.zip -d ${worksrcpath}"
+    # Get an empty disk image to store the configure args.
+    system -W ${worksrcpath} "unzip -p ${distpath}/${my_blanks_distfile} blanks/hfs24M.zip | funzip > hfs24M.DSK"
     
     # Delete temporary files we no longer need.
-    delete ${worksrcpath}/${my_system_disk_container} ${worksrcpath}/${my_system_disk_container_decompressed} ${worksrcpath}/${my_blanks}
+    delete ${worksrcpath}/${my_system_disk_container} ${worksrcpath}/${my_system_disk_container_decompressed}
     
     # Make the data directory, where Mini vMac looks for the files it needs.
     set my_mnvm_dat "${worksrcpath}/${my_bootstrap_app}/Contents/mnvm_dat"

Modified: trunk/dports/emulators/minivmac-devel/Portfile
===================================================================
--- trunk/dports/emulators/minivmac-devel/Portfile	2013-05-22 05:32:02 UTC (rev 106312)
+++ trunk/dports/emulators/minivmac-devel/Portfile	2013-05-22 06:07:22 UTC (rev 106313)
@@ -61,8 +61,7 @@
 
 extract.only            ${my_src_distfile} \
                         ${my_bootstrap_distfile} \
-                        ${my_icons_distfile} \
-                        ${my_blanks_distfile}
+                        ${my_icons_distfile}
 
 checksums               ${my_src_distfile} \
                         rmd160  a8a75847ed43a4d830930a98e3a20a2451144350 \
@@ -188,11 +187,11 @@
         }
     }
     
-    # Get a large empty disk image to store the output.
-    my_system "unzip -q ${worksrcpath}/${my_blanks}/hfs24M.zip -d ${worksrcpath}"
+    # Get an empty disk image to store the configure args.
+    system -W ${worksrcpath} "unzip -p ${distpath}/${my_blanks_distfile} blanks/hfs24M.zip | funzip > hfs24M.DSK"
     
     # Delete temporary files we no longer need.
-    delete ${worksrcpath}/${my_system_disk_container} ${worksrcpath}/${my_system_disk_container_decompressed} ${worksrcpath}/${my_blanks}
+    delete ${worksrcpath}/${my_system_disk_container} ${worksrcpath}/${my_system_disk_container_decompressed}
     
     # Make the data directory, where Mini vMac looks for the files it needs.
     set my_mnvm_dat "${worksrcpath}/${my_bootstrap_app}/Contents/mnvm_dat"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130521/5ffd8788/attachment.html>


More information about the macports-changes mailing list