Installing the FreeBSD Ports Collection
The FreeBSD installer programs allow the Ports Collection to be installed at the same time as the operating system. See bsdinstall for FreeBSD 9.X and later versions, or sysinstall for FreeBSD 8.X and earlier versions.
If the Ports Collection is not initially installed, it can be added with portsnap or Subversion.