The following script http://www.lpthe.jussieu.fr/~talon/check_pkg.py does the job you want plus other things, but it was written for the old package system (i.e. it looks under /var/db/pkg).
By the way i noted that as soon as you have a fair number of ports installed, you get so many arrows in the diagram that you cannot see anything, rendering the idea quite useless. I hoped one could discover islands with little interconnections between them but in fact mostly everything becomes connected by dependency. -- Michel Talon [email protected]
smime.p7s
Description: S/MIME cryptographic signature
