Rework the port and split plugins to separate ports.
Motivation: https://bugs.freebsd.org/288192
Reword and simplify a bit.