rebuild the portsystem

hi

Howto rebuild the whole portsystem on freeBSD?

THX

# portupgrade -fRr

greetings
ccc

or

portmaster -aF

thanks