pkg_info -cIx a*
# make uninstall
Not if you updated your ports tree in the mean timefrank_s said:Not a direct answer to your question but sometimes the Makefile of your tarball will have an uninstall option. So you can go to the dir of the unpacked tarball with the Makefile in it and:
# make uninstall
This will then delete anything installed during the "make install".
pkg_delete will complain if another port/package depends on the package you're trying to remove.If you've installed the same softs from ports afterwards, then you have to be careful that it doesn't wipe out your binaries etc. which were installed by the port.
The new version of the port might have different files or they're stored in different locations. The best way to remove installed ports is to use pkg_delete or pkg_deinstall (part of portupgrade).
expl said:Code:find /usr/local /usr/X11R6 -type f | xargs pkg_which -v | fgrep '?'
Works the best.
find /usr/local /usr/X11R6 -type f | xargs -J% pkg_which -v "%" | fgrep '?' > /tmp/unmanaged