User shows us how to get the ports collection set up on FreeBSD 11.0. Follow the link below for the full set of instructions.releases

FreeBSD operating system can use binary packages with pkg utility,  but for for some ocassion, like running newest versions of the code, you would want to compile some programs.  For that, there is very useful ports collection that simplifies compilation process. In this article we will install and use ports collection to update the Freebsd 11.0 system. This article assumes you have installed FreeBSD 11 using our previous article.

Using port collection to install portmaster

If you are using ssh to access your FreeBSD machine, you would want to get root for your regular user before proceeding, because you access the VM as user and then you need to use su. By default, FreeBSD will give you sorry message, and to avoid that, use following command:

pw user mod username -G wheel

Next we can move to getting the ports tree from online repostory: …

Full tutorial: http://linoxide.com/unix/use-ports-collection-freebsd-11/