364
edits
Line 64: | Line 64: | ||
==Populate the App Bundle== | ==Populate the App Bundle== | ||
* Move the MacPorts Octave DMG to the Desktop. If a local portfile was used and the location of the local repository was {{Codeline|<nowiki>~/ports</nowiki>}}, the DMG will be located in {{Codeline|<nowiki>~/ports/math/octave-local/work</nowiki>}}. | |||
* Save the original MacPorts installation. | * Save the original MacPorts installation. | ||
<nowiki>sudo mv /opt /opt-save</nowiki> | <nowiki>sudo mv /opt /opt-save</nowiki> | ||
* Install the MacPorts Octave DMG. | * Install the MacPorts Octave DMG, which as placed on the MacOS X Desktop. Installing the DMG will create a new {{Codeline|<nowiki>/opt</nowiki>}} directory containing Octave and all its build and run-time dependencies. To avoid conflict with the original MacPorts installation. | ||
* Place the [[MacOS_X_App_Octave_Shell_Script| Octave shell script]] in the same directory as the App bundle template created using Platypus. | * Place the [[MacOS_X_App_Octave_Shell_Script| Octave shell script]] in the same directory as the App bundle template created using Platypus. | ||
* Populate the App bundle by running the script below from the directory containing the Platypus App bundle template and the [[MacOS_X_App_Octave_Shell_Script| Octave shell script]]. | * Populate the App bundle by running the script below from the directory containing the Platypus App bundle template and the [[MacOS_X_App_Octave_Shell_Script| Octave shell script]]. |
edits