<> = Downloading = Assuming you already have git on your machine (see the OS specific install instructions below if this is not the case). {{{ cd ~ git clone https://git.fmrib.ox.ac.uk/fsl/melview.git }}} = Installation Instructions = == For Mac OS X users == We recommend using !MacPorts to obtain git, python and it's dependencies and melview itself. melview can be installed using the !MacPorts framework... but first you'll need to do some groundwork to setup (and customise) !MacPorts. After the initial setup you will be able to add, remove and update the software with port commands. The following instructions assume you haven't already installed and/or used !MacPorts. You should follow some/or all of the steps accordingly: 1. First, if you haven't already done so, you may need to enable your command-line compiler tools. {{{ xcode-select --install }}} Select the option to install the "Command Line Tools" from the resulting pop-up dialog. 1. Download and install !MacPorts (you will need Administrator rights for this) from www.macports.org... 1. Install git: {{{ sudo port install git }}} You should now be able to download melview sources: {{{ cd ~ git clone https://git.fmrib.ox.ac.uk/fsl/melview.git }}} 1. Now you will need to create your own local ports directory. Unfortunately you will also need to configure your !MacPorts installation to look at this local repository... a full description can found at https://guide.macports.org/chunked/development.local-repositories.html but I have summarised the steps here: {{{ mkdir -p ~/ports/python cd ~/ports/python cp -r ~/melview/ports/python/melview . }}} Now edit your local macports sources file... {{{ sudo nano /opt/local/etc/macports/sources.conf }}} The lines toward the end of this file lists possible sources where !MacPorts can look for the ports. Add the following BEFORE the "[default]" URL at the end of the file (so it'll probably end up being the the second to last line in the file): {{{ file:///Users//ports }}} Run "portindex" to incorporate our new Portfile: {{{ cd ~/ports portindex }}} {{{#!highlight console numbers=disable Creating software index in /Users/