Few tips for working with FreeBSD ports
To initialize ports collection for the first time.
$ portsnap fetch extract
To update ports collection.
$ portsnap fetch update
When you are building ports and want to skip the configuration questions.
$ export BATCH=yes
To clean up port build environment with all dependencies.
$ make clean clean-depends rmconfig