Create a MacOS X App Bundle Using MacPorts: Difference between revisions

Line 84: Line 84:
  <nowiki>sudo mv /opt /opt-save</nowiki>
  <nowiki>sudo mv /opt /opt-save</nowiki>
* 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.
* 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 the AppleScript Editor.
* Populate the App bundle by running the script below from the directory containing the App bundle template and the [[MacOS_X_App_Octave_Shell_Script| Octave shell script]].  The {{Codeline|launch_octave}} script isn't needed if the App bundle was created using Platypus.
* Populate the App bundle by running the script below from the directory containing the App bundle template and the [[MacOS_X_App_Octave_Shell_Script| Octave shell script]].
  <nowiki>#! /bin/sh
  <nowiki>#! /bin/sh
VERSION=3.7.0+
VERSION=3.7.0+
364

edits