I've done this many times before, but I always like to follow the directions. I had recently been playing around with MacPorts, and to my surprise this was the first hit! To the newbies out there (or those who can appreciate a graphical interface), I recommend using Porticus for MacPorts. It's much easier than remembering all the commands to use on the command line.