Created attachment 194843 [details]
I couldn't find a Makefile option to support either devel/git or devel/git-lite, so I added a config option.
Happy to discuss; simply didn't want to install more depends than needed.
The port builds with devel/git-lite installed; what is this intended to address?
I am not able to install shells/zsh-antigen without replacing devel/git-lite with devel/git.
Am I missing something?
Installing it from pkg when you have git-lite installed will, of course,
remove the conflicting package. If you install it from the ports tree, it will
find the git executable and move on. This patch wouldn't solve the issue of
respecting user preferences when installed from the official repos, and no
other ports with devel/git dependencies seem to provide these options either.
I think that the only way to properly respect user preferences in this
case is to remove the git dependency and add 'please install git, git-lite or
your preferred package' to pkg-message but that breaks the idea of packages
working out of the box.
(In reply to Victor from comment #3)
Another option at least for now might be to create a slave port, say "zsh-antigen-gitlite" with the option set, then you'd get a zsh-antigen-gitlite package you could install.
The real solution will be when pkg supports requires/provides, but that could do until then.