[59036] trunk/dports/emulators

ryandesign at macports.org ryandesign at macports.org
Thu Oct 8 12:32:24 PDT 2009


Revision: 59036
          http://trac.macports.org/changeset/59036
Author:   ryandesign at macports.org
Date:     2009-10-08 12:32:23 -0700 (Thu, 08 Oct 2009)
Log Message:
-----------
minivmac, minivmac-devel: automatically create the zip archive of the bootstrap, for easy uploading to the repository. Use 7za instead of zip because it creates a (slightly) smaller archive.

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

Modified: trunk/dports/emulators/minivmac/Portfile
===================================================================
--- trunk/dports/emulators/minivmac/Portfile	2009-10-08 19:30:32 UTC (rev 59035)
+++ trunk/dports/emulators/minivmac/Portfile	2009-10-08 19:32:23 UTC (rev 59036)
@@ -99,6 +99,10 @@
 if {[tbool bootstrap]} {
     variant bootstrap conflicts unsupported requires universal description {Build the bootstrap version of Mini vMac} {
         my_variations   {Bootstrap} {-m Plus -sound 0 -bg 1 -speed a}
+        depends_build-append port:p7zip
+        post-destroot {
+            exec 7za a ${destroot}${my_app_dir}/${my_name}-bootstrap-${version}_${revision}.zip ${destroot}${my_app_dir}/${my_bootstrap_app}
+        }
     }
     default_variants +bootstrap
 }

Modified: trunk/dports/emulators/minivmac-devel/Portfile
===================================================================
--- trunk/dports/emulators/minivmac-devel/Portfile	2009-10-08 19:30:32 UTC (rev 59035)
+++ trunk/dports/emulators/minivmac-devel/Portfile	2009-10-08 19:32:23 UTC (rev 59036)
@@ -119,6 +119,10 @@
 if {[tbool bootstrap]} {
     variant bootstrap conflicts unsupported requires universal description {Build the bootstrap version of Mini vMac} {
         my_variations   {Bootstrap} {-m Plus -sound 0 -bg 1 -speed a}
+        depends_build-append port:p7zip
+        post-destroot {
+            exec 7za a ${destroot}${my_app_dir}/${my_name}-bootstrap-${version}_${revision}.zip ${destroot}${my_app_dir}/${my_bootstrap_app}
+        }
     }
     default_variants +bootstrap
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091008/1096c366/attachment.html>


More information about the macports-changes mailing list