Anyone heard of sdl_sge? Simple line/pixel graphics on a SDL 1 surface on Xorg.. It's out of the tree for years but I still use it because I don't have time to change things that need it. It still works when added to a recent portstree with the distfile.
I could try to get it back in the portstree but I don't think anybody is interested, which probably is why it has deprecated.
Never tried to add a port. Looks like a lot of work. Isn't there a web-form send option for it that has to contain all required information?
I'm not using the software, so replying in general.
First of all, there must be the upstream hosting distfile(s). GitHub and GitLab are OK, too, if wanted version(s) is/are properly tagged (without tag for wanted version, need to specify a commit, but it would be trickier). Without any of these, no one can fetch the distfile(s).
Here, for once existed but deleted ports, you'll need to request the deleted port(s) to be resurrected to properly inherit prior commit history. This would be to revert (part of) the commit that deleted it. Only ports committers can do it. File a PR on
Bugzilla for it or open review on
Phabricator with patch to revert the deletion (If rejected, you cannot go further). Some committer would accept GitHub pull request, too, but it's basically considered "trial" and the accounts are NOT managed by FreeBSD project unlike Bugzilla or Phabricator.
For Phabricator,
this page would help how you can do it. The method using specific CLI tool is described first, but usage of web interface is described later.
Next, you need to prepare patch for the port. You need to read Porter's Handbook to see what's needed. The milage may vary depending on the port.
But as you said you can add back deleted ports locally with success, it would be relatively easy. Fitting with up-to-date ports framework and making yourself as the maintainer would be the minimum requirements (, if any,) to be considered to be re-added.
Once ready, file a PR or open review like done on requesting resurrection.
For brand-new ports, you need to hook it on category Makefile (if the port is to be graphics/foo, you need to add foo to graphics/Makefile), too. You need to include the part in your patch.
I've described
how I create patch to submit here before.
And
my example of review to add new ports in conjunction with upgrading existing ones is here.