Ignore:
Timestamp:
Sep 22, 2009, 11:28:41 AM (11 years ago)
Author:
ryandesign@…
Message:

minivmac-devel: allow the ROM files to optionally be in ~/Library/Preferences/Gryphel/mnvm_rom instead of in the same folder as the application

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/emulators/minivmac-devel/Portfile

    r57916 r58118  
    9090
    9191set my_app_dir          "${applications_dir}/Mini vMac"
     92set my_rom_dir          "~/Library/Preferences/Gryphel/mnvm_rom"
    9293set my_bootstrap_app    "Mini vMac.app"
    9394set my_rom_file         vMac.ROM
     
    119120
    120121pre-fetch {
    121     if { ! [file exists ${my_app_dir}/${my_rom_file}] } {
     122    if {![file exists ${my_rom_dir}/${my_rom_file}] && ![file exists ${my_app_dir}/${my_rom_file}]} {
    122123        ui_msg "****************************************************************"
    123124        ui_msg "To build Mini vMac, you will need a ROM file from a Macintosh"
     
    129130        ui_msg "and transfer it to a real physical early Macintosh that you own."
    130131        ui_msg "Run the CopyRoms program there, then transfer the ROM file back"
    131         ui_msg "to this Mac and put it in ${my_app_dir}."
     132        ui_msg "to this Mac and put it in ${my_rom_dir}"
     133        ui_msg "or ${my_app_dir}."
    132134        ui_msg "****************************************************************"
    133135        return -code error "${my_rom_file} not found"
Note: See TracChangeset for help on using the changeset viewer.