Hello!
I'm baffled. My distfiles with over 1200 ports installed total 9.1GB. This makes me wonder just why you are doing things like 'make checksum'? 'make install' will do the following:config, fetch, checksum, depends, extract, patch, configure, build, install.
That normally results in a single file in distfiles. Some ports require multiple dist files, usually for a port which maintains multiple versions or a metaport that contains distfiles for many ports included in the metaport. E.g. gnome. Still, this does not mean that there will be anything like what you are seeing.
It is exactly so for everything but NOT for
/usr/ports/distfiles/go
I see that "make checksum" fetches and checksums not only the
files listed in, say, /usr/ports/archivers/nfpm/distinfo but some
(lots of) files placed in
/usr/ports/distfiles/go/archivers_nfpm/pkg/mod/cache - and I
cannot understand why.
Can you explain exactly how you are doing this?
For instance (I use archivers/nfpm as a testbed for this problem - it's the first one in alphabetical order):
# cd /usr/ports/archivers/nfpm
# make fetch
# make checksum
# make install
I am afraid of discussing the "why". Hint: HTTP error 451And, why?
Why not just use packages?
Either pull down the packages you need or use poudriere or 'make package' to generate what you need? Either way will be far less resource intensive. Especially pulling down the pre-built packages.
Clearly, something you're doing is not what you want.