sudo port selfupdate sudo port install octave sudo port install swig -php5 -ruby -perl +python +octave sudo port install shogun +octave
tar -xzf octave*gz cd octave* ./configure make sudo make install cd ..
tar -xzf swig*gz cd swig* ./configure make sudo make install cd ..
bzip2 -cd shogun*bz2 | tar xvf - cd shogun*/src/ ./configure make sudo make install
echo "LD_LIBRARY_PATH=/lib:/usr/local/lib:$LD_LIBRARY_PATH" >> ~/.bash_profile
tar -xvjf shogun*bz2 cd shogun*/src ./configure make make DESTDIR= install
unzip svm_lab.zip cd svm_lab octave