MacPorts on mountain lion - cannot install apache2 due to gettext package
You need to run macport port command as root best using port as shown in all the examples in the Macports guide This is so that all the processes are set up as the correct user and the files are saved no changeable by other users.

e.g.
sudo /opt/local/bin/port -v install apache2