When wget is not available, try curl

Mac OS X 10.9 does not have wget, but curl is here: /usr/bin/curl

So use either wget or curl, whatever is installed
If neither curl nor wget is installed, install wget
(This needs MacPorts under e.g. Mac OS X 10.6)