#!/bin/bash

case $1 in
  ("homebrew")
    brew install qt qwt ;;
  ("macports")
    echo "WARNING: install_prereqs macports not implemented for this module" ;;
  ("ubuntu")
    apt-get install python-dev libqt4-dev libqwt-dev ;;
  ("cygwin")
    echo "WARNING: install_prereqs cygwin not implemented for this module" ;;
  (*)
    echo "Usage: ./install_prereqs.sh package_manager"
    echo "where package_manager is one of the following: "
    echo "  homebrew"
    echo "  macports"
    echo "  ubuntu"
    echo "  cygwin"
    exit 1 ;;
esac

#!/bin/bash

case $1 in
  ("homebrew")
    brew install qt qwt ;;
  ("macports")
    port install qt4-mac qwt ;;
  ("ubuntu")
    apt-get install python-dev libqt4-dev libqwt-dev ;;
  ("cygwin")
    echo "WARNING: install_prereqs cygwin not implemented for this module" ;;
  (*)
    echo "Usage: ./install_prereqs.sh package_manager"
    echo "where package_manager is one of the following: "
    echo "  homebrew"
    echo "  macports"
    echo "  ubuntu"
    echo "  cygwin"
    exit 1 ;;
esac

Update installation pre-requisites when using MacPorts on Mac OS X 10.10.
Update installation pre-requisites when using MacPorts on Mac OS X 10.10.

This commit updates the install_prereqs.sh script to install qt4-mac and
qwt using MacPorts-2.3.4, on Mac OS X 10.10.

Signed-off-by: Elvis Dowson <fe163f549996e45acac0751db00b2c2e7db54786@gmail.com>
