How to install Octave in OS X 10.9
You can also use Homebrew for installing octave.
I find homebrew more clean and less intrusion than macports as it uses the system libraries available if possible.

Following the instructions on Octave wiki

brew tap homebrew/science
brew update &amp;&amp; brew upgrade
brew install octave --without-docs