Detect path to MacPorts installation, don't use hardcoded /opt/local
Merge pull request #2034 from crystax/master

Slight fix allowing rvm work on OS X even if MacPorts where installed to custom path