How to install MacPorts on MacOS 10.14 Mojave
 Install MacOS “Mojave”  Connect to the internet  Install Xcode 10 from the App Store.  Launch Xcode:  Agree to the license.  Let it install the extra components it says it needs.  Quit xcode.    Open a terminal window:  sudo xcode-select –install  When the pop-up launches, install the command line tools.  cd ~/Downloads  mkdir macports  cd macports  curl -O https://distfiles.macports.org/MacPorts/MacPorts-2.5.3.tar.gz  tar -xzvf MacPorts-2.5.3.tar.gz  cd MacPorts-2.5.3  ./configure  make  sudo make install  echo ‘export PATH=/opt/local/bin:/opt/local/sbin:$PATH’ >> ~/.profile  source ~/.profile  sudo port -v selfupdate