The FreeBSD Ports and Packages Collection offers a simple way for users and administrators to install applications. These application use the /usr/ports directory.
Running “make clean” after installing applications will remove the work directory files.
Another way to do this is running the command:
portsclean -CD
where :-
-C clean work dirs
-D remove old distifiles not referenced by ports