One thing to watch out for is that the "deinstall" target uses the information in the current port Makefile ... it doesn't use the information in /var/db/pkg to remove the port. If you have version X.0 of the port installed, update the ports tree, which includes version Y.3, and you run "make deinstall" in there ... you may end up with files left behind and a lot of errors flashing by on the screen.
It's much safer to use pkg_delete -xi appname to uninstall apps. That always uses the information in /var/db/pkg/<port-version>/ to remove the app. This reflects what's already on the disk.
"make deinstall" is really only useful for testing a port (make install; make deinstall).
|