Fetch branch from github

abi abi at abinet.ru
Sun Jul 24 20:38:22 UTC 2016

It is not. I read handbook - and I found no explanation how to fetch 
branch and failed to achieve results tinkering options randomly :P

Here is example

1. Account is ZoneMinder
2. Project is ZoneMinder

I need a branch here, they have plenty of them. |GH_TAGNAME is working 
only for releases or for commit id. The latter tries master branch.|

On 24.07.2016 22:15, Bradley T. Hughes wrote:
>> On 24 Jul 2016, at 18:23, abi <abi at abinet.ru> wrote:
>> Hello,
>> is it possible to fetch specific branch+commit from GitHub in port makefile? I found only release fetch or master+commit one.
> Yes, it's possible. The Porter's handbook has a great explanation of it:
> https://www.freebsd.org/doc/en/books/porters-handbook/makefile-distfiles.html#makefile-master_sites-github-description
> --
> Bradley T. Hughes
> bradleythughes at fastmail.fm

More information about the freebsd-ports mailing list