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

→‎Install an Octave Port: note on using consistent variants
No edit summary
(→‎Install an Octave Port: note on using consistent variants)
Line 24: Line 24:
portindex -f</nowiki>
portindex -f</nowiki>
Once indexed the local Octave port may be installed.
Once indexed the local Octave port may be installed.
  <nowiki>sudo port install octave-local +docs</nowiki>
  <nowiki>sudo port install octave-local +docs+accelerate+gcc45</nowiki>


The {{Codeline|docs}} variant is required for the {{Codeline|test()}} and {{Codeline|doc()}} functions/commands to work.
As a precaution against unexpected problems and a bloated App bundle, using consistent variants for Octave and its dependents is suggested.  For example, when using {{Codeline|+accelarate}} make sure none of the dependents are using {{Codeline|+atlas}}. Also, make sure no dependents are using the {{Codeline|+universal}} variant.  At the very least, following these suggestions will reduce the size of the bundle.


Once an Octave port is installed the command below may be used to determine / verify the version and variants of {{Codeline|<nowiki>octave-local</nowiki>}} which are installed.
Once an Octave port is installed the command below may be used to determine / verify the version and variants of {{Codeline|<nowiki>octave-local</nowiki>}} which are installed.
364

edits