portviz is a simple script, written in Python, that can create a dependency graph by querying the Macports database.
Portviz 0.2 is very different from 0.1: it uses pydot instead of pygraphviz, and it uses a Python-Tcl bridge to make querying Macports faster. However, it is less flexible than version 0.1. 0.2 only supports viewing installed ports, while 0.1 also supports viewing all ports in the database -- although I'm not sure why you'd want to do that. Take your pick!
This work is released under the MIT license.