When Apple switched from Intel to its own silicon, Homebrew moved from that location to the /opt directory —it seems, because of a conflict with the Rosetta compatibility layer.
Because of that, I gave MacPorts a try, but it was sort of a nightmare compared to Homebrew… YMMV.