If 8.4 is still officially supported (I think so), then it's a simple: rm -rf /usr/ports mkdir /usr/ports portsnap fetch extract Aka nuke and pave. :)