I made a small/minimal FreeBSD LiveUSB/CD build script a few months ago*, among other things I stripped large packages and replaced them with smaller packages which did the same thing, among other things I replaced groff and related stuff with mdoc and that worked surprisingly well.
* Well, I never finished it, you know how these things go: The last 10% is 90% of the effort