To update the ports collection in FreeBSD you need to execute the following commands”
If you have never used ‘portsnap’ before type:
# portsnap fetch
The ports collection will now be downloaded.
# portsnap extract
The collection is being extracted.
To update the collection type:
# portsnap update