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

Jump to navigation Jump to search
Line 56: Line 56:


  <nowiki>sudo port mdmg octave-local @<version>+variant1+variant2</nowiki>
  <nowiki>sudo port mdmg octave-local @<version>+variant1+variant2</nowiki>
In the event errors such as the one below are encountered, the ports implicated ({{Codeline|<nowiki>t1lib</nowiki>}} in this case) must be clean prior to creating the dmg.
<nowiki>
Error: Requested variants "+x11" do not match original selection "".
Please use the same variants again, perform 'port clean t1lib' or specify the force option (-f).
Error: org.macports.mpkg for port octave-devel returned: Processing of port t1lib failed</nowiki>
Be sure to clean each of the problematic ports prior to each attempt to create the dmg.
<nowiki>sudo port clean cairo ; sudo port clean cctools ; sudo port clean pango ; sudo port clean t1lib</nowiki>


The DMG will be placed in the port's {{Codeline|<nowiki>work</nowiki>}} directory.  If a local portfile is used, a symbolic link to the {{Codeline|<nowiki>work</nowiki>}} directory will be placed in the directory containing the portfile.  In this instance the DMG can be found in {{Codeline|<nowiki>~/ports/math/octave-local/work</nowiki>}}.
The DMG will be placed in the port's {{Codeline|<nowiki>work</nowiki>}} directory.  If a local portfile is used, a symbolic link to the {{Codeline|<nowiki>work</nowiki>}} directory will be placed in the directory containing the portfile.  In this instance the DMG can be found in {{Codeline|<nowiki>~/ports/math/octave-local/work</nowiki>}}.
364

edits

Navigation menu