When I do port installed, I get useless list of hundreds of items. However, only a handful of these are ports I actually installed first-hand. The rest are dependen
port installed
To get a list of literally all installed ports that nothing depends on, you can run
for port in $(port echo installed | awk '{print $1}'); do [ -z "$(port echo installed and depends:$port)" ] && echo $port; done
(warning: this will take a while).