This is usually done by:
pkg query -e '%a == 0' %o
which gives you the list of packages on your system, excluding those
that were automatically installed to fulfil dependencies. ie. it's
basically the collection of packages where you said 'pkg install foo' at
some point.
However, if you want to print out the dependency tree:
https://github.com/freebsd/pkg/blob/master/scripts/pkg_tree.sh
Cheers,
Matthew
_______________________________________________
freebs...@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-port...@freebsd.org"