It’s like they went backwards on this. The utility that handles .pkg files used to have a command line uninstall option.
Anyway, I kinda like PearCleaner for removing the cruft. It’s not perfect but it’s open source and one of the better options imo.