I recall a script or other method was made available at least a couple times to just check out parts of pkgsrc. I can't find it now, but I thought I heard about one this year. Basically it needs all the pkgsrc/mk and then fetches all the ".include" as used by the desired package. Good luck.