[57896] users/ryandesign/minivmac/Portfile
ryandesign at macports.org
ryandesign at macports.org
Fri Sep 18 07:35:35 PDT 2009
Revision: 57896
http://trac.macports.org/changeset/57896
Author: ryandesign at macports.org
Date: 2009-09-18 07:35:35 -0700 (Fri, 18 Sep 2009)
Log Message:
-----------
minivmac: rename variables
Modified Paths:
--------------
users/ryandesign/minivmac/Portfile
Modified: users/ryandesign/minivmac/Portfile
===================================================================
--- users/ryandesign/minivmac/Portfile 2009-09-18 14:25:54 UTC (rev 57895)
+++ users/ryandesign/minivmac/Portfile 2009-09-18 14:35:35 UTC (rev 57896)
@@ -79,9 +79,9 @@
port:macutil \
bin:expect:expect
-set my_appdir "${applications_dir}/Mini vMac"
+set my_app_dir "${applications_dir}/Mini vMac"
set my_bootstrap_app "Mini vMac.app"
-set romfile vMac.ROM
+set my_rom_file vMac.ROM
set my_base_options "-maintainer MacPorts -homepage http://www.macports.org/ -cl -eol unx -nex -im 1"
set my_target ""
@@ -97,7 +97,7 @@
}
pre-fetch {
- if { ! [file exists ${my_appdir}/${romfile}] } {
+ if { ! [file exists ${my_app_dir}/${my_rom_file}] } {
ui_msg "****************************************************************"
ui_msg "To build Mini vMac, you will need a ROM file from a Macintosh"
ui_msg "Plus or 512Ke. And to run it, you need a ROM file from the type"
@@ -107,9 +107,9 @@
ui_msg "${homepage}extras/copyroms.html"
ui_msg "and transfer it to a real physical early Macintosh that you own."
ui_msg "Run the CopyRoms program there, then transfer the ROM file back"
- ui_msg "to this Mac and put it in ${my_appdir}."
+ ui_msg "to this Mac and put it in ${my_app_dir}."
ui_msg "****************************************************************"
- return -code error "${romfile} not found"
+ return -code error "${my_rom_file} not found"
}
}
@@ -149,7 +149,7 @@
file mkdir ${my_mnvm_dat}
# Symlink the ROM file into the data directory.
- ln -s ${my_appdir}/${romfile} ${my_mnvm_dat}
+ ln -s ${my_app_dir}/${my_rom_file} ${my_mnvm_dat}
# Symlink the disk images into the data directory with sequentially-numbered
# names so Mini vMac will find them and automatically mount them.
@@ -225,11 +225,11 @@
copy ${build.dir}/Resources ${destroot}${my_share_dir}
# Install the programs.
- xinstall -d ${destroot}${my_appdir}
+ xinstall -d ${destroot}${my_app_dir}
foreach {my_machine my_variation_options} ${my_variations} {
set my_variation_dir ${version}_${revision}-[strsed [string tolower ${my_machine}] {g/[^a-z0-9_-]//}]-${my_target}
file copy ${build.dir}/${my_variation_dir}/minivmac.app \
- "${destroot}${my_appdir}/Mini vMac ${my_machine}.app"
+ "${destroot}${my_app_dir}/Mini vMac ${my_machine}.app"
}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090918/283c26af/attachment.html>
More information about the macports-changes
mailing list