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

Line 20: Line 20:
  <nowiki>mkdir -p ~/ports/math/octave-local
  <nowiki>mkdir -p ~/ports/math/octave-local
cp ~/Desktop/portfile ~/ports/math/octave-local</nowiki>
cp ~/Desktop/portfile ~/ports/math/octave-local</nowiki>
This assumes the Octave portfile had been placed on the users Desktop. After adding the portfile, the local repository must be indexed for MacPorts to recognize it.
This assumes the Octave portfile had been placed on the users Desktop, and that the local portfile repository is located in the users home folder and named {{Codeline|<nowiki>ports</nowiki>}}. After adding the portfile, the local repository must be indexed for MacPorts to recognize it.
  <nowiki>cd ~/portfile
  <nowiki>cd ~/portfile
portindex -f</nowiki>
portindex -f</nowiki>
Line 26: Line 26:
  <nowiki>sudo port install octave-local</nowiki>
  <nowiki>sudo port install octave-local</nowiki>


Once an Octave port is installed the command below may be used to determine / verify the port's version and variants.
Once an Octave port is installed the command below may be used to determine / verify the version and variants of octave-local which are installed.


  <nowiki>port installed <portname></nowiki>
  <nowiki>port installed octave-local</nowiki>


=Create the MacOS X App Bundle=
=Create the MacOS X App Bundle=
364

edits