added support for macports and fink packages detection for mac osx

Added support to the packages detection under Mac OS X for Fink and Macports.