How can I download all FreeBSD distfiles into /usr/ports/distfiles so that I have them for offline use? I realize it will be a huge download.
I remember reading how to do this (possibly in the Handbook) but I can't seem to find it anymore.
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.Sign up to join this community
Just my luck, right after I posted this question I found an answer.
Here's the applicable info from the Handbook:
For users who cannot be connected to the Internet all the time, make fetch can be run within /usr/ports, to fetch all distfiles, or within a category, such as /usr/ports/net, or within the specific port skeleton. Note that if a port has any dependencies, running this command in a category or ports skeleton will not fetch the distfiles of ports from another category. Instead, use make fetch-recursive to also fetch the distfiles for all the dependencies of a port.
This was very hard to find using Google so hopefully this question and answer will help posterity. Sorry for turning this into a blog post of sorts.