<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">HI,<div class=""><br class=""></div><div class="">If there is really no way to get everything via a tarball, one way is to configure the port to fetch directly from git clone and not a tar ball, and then in a post-fetch block run the git submodule init. See eg.</div><div class=""><br class=""></div><div class=""><a href="https://github.com/macports/macports-ports/blob/master/devel/ccls/Portfile" class="">https://github.com/macports/macports-ports/blob/master/devel/ccls/Portfile</a></div><div class=""><br class=""></div><div class="">as a randomly picked example. </div><div class=""><br class=""></div><div class="">Its not ideal, as for instance it by-passes macports checksum checks for instance, but if there is no other way …</div><div class=""><br class=""></div><div class="">Chris</div><div class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 1 Feb 2020, at 5:57 pm, miniupnp <<a href="mailto:miniupnp@free.fr" class="">miniupnp@free.fr</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">Hello,<br class=""><br class="">I have a Portfile that fetches sources from gitlab.<br class=""><a href="https://github.com/macports/macports-ports/blob/master/graphics/grafx2/Portfile" class="">https://github.com/macports/macports-ports/blob/master/graphics/grafx2/Portfile</a><br class=""><br class="">I used to get the .tar.bz2 archive from gitlab and that was ok, but now<br class="">there is a git submodule which of course is not included in the .tar.bz2<br class="">archive.<br class="">What is the right way of doing it ?<br class=""><br class="">Regards,<br class=""><br class="">Thomas Bernard<br class=""><br class=""></div></div></blockquote></div><br class=""></div></body></html>