When you say "installed the new portage tree", I hear "emerge sync".Are you saying that emerge sync replaced your compiler?The Portage tree is a local copy (located in /usr/portage) of the central software package repository.
It becomes a work of manual labor: installing a package manager without a package manager.
Before an application can be compiled using a port, the Ports Collection must first be installed.
If it was not installed during the installation of Free BSD, use one of the following methods to install it:.
This is a fast and user-friendly tool for retrieving the Ports Collection and is the recommended choice for most users.
This utility connects to a Free BSD site, verifies the secure key, and downloads a new copy of the Ports Collection.