After building and installing software from the ports collection, you should always remember to clean up the temporary work directories. You can sweep the whole ports tree with the following command:
# portsclean -C
The portsclean
utility is part of the portupgrade suite.
Alternatively, here’s a shell script:
1 |
|