A simple way of adding Mac OSX support for both macports and home-brew

Another way of adding Mac OSX support for both macports and homebrew.
I think this is a good way because it is a simpler change then the previous implementations.