<pre>sudo port mdmg octave-devel @3.6.4+atlas+fltk+gcc47-x11+no_x11-metis+llvm32+ssl+qt</pre>
Errors during the execution of this command are likely and may be resolved by modifying the variant(s) of installed packages, and/or modifying the list of variants used to produce the <code>octave-local</code> DMG. One of Octave's dependencies, <code>transfig</code>, requires port <code>xpm</code>, which requires many xorg ports that may cause the <code>port mdmg ...</code> command to fail. To alleviate this problem, the <code>transfig</code> port can be eliminated as a run-time dependency for Octave (can the <code>transfig</code> portfile be modified to eliminate the <code>xpm</code> dependency?).
==Create the MacOS X App Bundle==