Using portsnap to update ports tree
First off, execute the fetch command to fetch the port database. Then extract it into the ports directory and finaly update the ports.
[root@www ~]# portsnap fetch
[root@www ~]# portsnap extract
[root@www ~]# portsnap update
Using portmanager to update and install ports
First, install portmanager
pkg_install -r portmanager
To install a new port:
portmanager graphics/gimp
To update all ports: