Combining GitHub and regular MASTER_SITES for multiple DISTFILES

Ben Woods woodsb02 at
Sun Jan 4 14:49:41 UTC 2015

I am trying to create a new port, where the main source code should be
retrieved from GitHub, and a secondary piece of source code should be
retrieved from an FTP site.

The USE_GITHUB port magic does not work for the primary source code if the
MASTER_SITES and DISTFILES variables are also specified in the Makefile for
the secondary source code. The result is that only the secondary code is
downloaded and extracted. Using += for the MASTER_SITES and DISTFILES
assignment does not fix the issue.

Is there a way that these can be used together for this propose?



From: Benjamin Woods
woodsb02 at

More information about the freebsd-ports mailing list