added support for macports and fink packages detection