Best way to get submodules into extracted source?

Zhenfu Shi szf1234 at
Fri May 22 19:16:36 UTC 2020

Hey guys,
I’m trying updating transmission(-x11) to just-released version 3.0, but it uses a lot of 3rd party submodules. I found the macports guide reads "the best distfile candidate (if available) is a distfile from GitHub releases”, so I’d like to know what’s the best way to put submodules into the extracted tarball, without using `fetch.type git` and `git submodule update —init`. Would be great if there’s a port already doing this so I could learn from it.

Thanks in advance!

More information about the macports-dev mailing list