Change directory to the port directory. (Or the dfports directory, if there is an override.) In that directory, you can:
make : build the port software
make install : install the software. This will build if necessary
make clean : remove any files created from a previous make
make distclean : same as make clean, and also remove any files downloaded to do the build.
make deinstall : uninstall this port.
The package management tools have similar functions. However, instead of having to be in the appropriate directory, most package tools expect a package name as an argument.
pkg_add : add a package. A local file or a URL to a file will work.
pkg_delete : remove a package.
pkg_info : list installed packages.
Note that the two systems are interchangeable. You could install a port with a make install in the appropriate directory, and later use pkg_delete ro remove it.
Contact the Documentation Team for comments, suggestions and questions about this document.