[51646] users/ryandesign/minivmac-devel/Portfile

ryandesign at macports.org ryandesign at macports.org
Fri May 29 20:08:26 PDT 2009


Revision: 51646
          http://trac.macports.org/changeset/51646
Author:   ryandesign at macports.org
Date:     2009-05-29 20:08:26 -0700 (Fri, 29 May 2009)
Log Message:
-----------
minivmac-devel: Move the options file.

Modified Paths:
--------------
    users/ryandesign/minivmac-devel/Portfile

Modified: users/ryandesign/minivmac-devel/Portfile
===================================================================
--- users/ryandesign/minivmac-devel/Portfile	2009-05-30 02:04:28 UTC (rev 51645)
+++ users/ryandesign/minivmac-devel/Portfile	2009-05-30 03:08:26 UTC (rev 51646)
@@ -56,7 +56,6 @@
 set my_appdir           "${applications_dir}/Mini vMac"
 set romfile             vMac.ROM
 set romfile_model       "Macintosh Plus or 512Ke"
-set my_options_file     options.txt
 set my_base_options     "-maintainer MacPorts -homepage http://www.macports.org/ -cl -eol unx -nex"
 set my_target           ""
 
@@ -140,13 +139,14 @@
         set variation_name ${version}_${revision}-${variation_id}
         
         # Write our options file.
+        set my_options_file ${workpath}/${variation_name}.txt
         set my_options "${my_base_options} -t ${my_target} -n ${variation_name} ${variation_options}"
-        set my_options_file_id [open ${worksrcpath}/${my_options_file} "w"]
+        set my_options_file_id [open ${my_options_file} "w"]
         puts -nonewline ${my_options_file_id} ${my_options}
         close ${my_options_file_id}
         
         # Run the build system.
-        set my_cmd "${workpath}/runbuild.sh ${worksrcpath} ${worksrcpath}/${my_options_file}"
+        set my_cmd "${workpath}/runbuild.sh ${worksrcpath} ${my_options_file}"
         ui_debug ${my_cmd}
         system ${my_cmd}
         
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090529/b83bcedf/attachment.html>


More information about the macports-changes mailing list