Make sure you have the following dependencies installed:
The only thing you need to do is to install bash-completion
sudo port install bash-completion
Done 😉