Portfiles with fetch.type git ... can one add arguments to git?

"René J.V. Bertin" rjvbertin at gmail.com
Sat Aug 16 05:04:16 PDT 2014


Hi,

I'm whipping up a portfile for kdevplatform-devel and kdevelop-devel, aiming to follow the git repo. KDevplatform has a rather big repo, which is re-fetched each time I modify the portfile. It'd be useful to do a `git clone --depth=1` to avoid downloading the entire commit history for what might be just a single build ... is that possible?

Cheers,
R.


More information about the macports-users mailing list