Hello
mrd!
It need not be in /usr/ports. For example, if you did a 'git clone' of freebsd-ports to a different directory, you could use that.
To protect my own sanity when doing this kind of work, I create a separate branch for the new code. I can do a diff between main and working branches to confirm changes. Since your work spans multiple ports, you may need to separate them into different branches. If the ports are tightly coupled it would make sense to me to include them all in the same "
hail mary" patch but that also makes the size of the review larger. You could start with the port with the least dependencies and submit that first. Some of the feeback would likely apply to the other ports. I leave that choice up to you.
Submit a git-diff style patch created from the port's own working directory. Do a make clean first so that only the minimum number of files remain. Also, the patch should be flattened so that, when applied, it appears as a single commit. Attach the patch to a new issue in bugzilla.
A more elaborate way is to use phabricator. Given the size of your patch (multiple ports), this may be better.
You can create a review that looks something like this (not the best as it's an X11 font) example:
reviews.freebsd.org
Odds are you will get some feedback in the review. The wiki page above describes a tool called arcanist that helps streamline the process of updating your patch.