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

Jump to navigation Jump to search
(fixed typo on cd ~/ports)
Line 21: Line 21:
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, 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.
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 ~/ports
portindex -f</nowiki>
portindex -f</nowiki>
Once indexed the local Octave port may be installed.
Once indexed the local Octave port may be installed.