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

Jump to navigation Jump to search
Line 47: Line 47:


==Use Platypus to produce a template for the App bundle==
==Use Platypus to produce a template for the App bundle==
[[File:Platypus.png|400px|thumb|right|Initial Platypus Dialog]]


To creating an application bundle for MacOS X the utility, [http://sveinbjorn.org/platypus Platypus], is used.  Platypus is a developer tool for the Mac OS X operating system which is intended to create native Mac OS X applications from interpreted scripts such as shell scripts or Perl, Ruby and Python programs.
To creating an application bundle for MacOS X the utility, [http://sveinbjorn.org/platypus Platypus], is used.  Platypus is a developer tool for the Mac OS X operating system which is intended to create native Mac OS X applications from interpreted scripts such as shell scripts or Perl, Ruby and Python programs.


A shell script intended to launch a [http://en.wikipedia.org/wiki/Terminal_(OS_X) MacOS X Terminal] and run Octave will be used as the basis for the MacOS X App bundle.
A shell script intended to launch a [http://en.wikipedia.org/wiki/Terminal_(OS_X) MacOS X Terminal] and run Octave will be used as the basis for the MacOS X App bundle.  The itemize list below describes how to produce an App bundle template for Octave.  Once this has been done, it the App bundle template must be populated with Octave and its dependencies.


* Run the Platypus application.
* Run the Platypus application.
Line 60: Line 62:
* Specify App Name (Octave-3.7.0).
* Specify App Name (Octave-3.7.0).
* Click the "Create" button.
* Click the "Create" button.
* Save the App bundle template to the location of your choice.  
* Save the App bundle template to the location of your choice.


==Populate the App Bundle==
==Populate the App Bundle==
364

edits

Navigation menu