Add /var/tmp/* to mtree.prebuildexclude and mtree.preinstexclude.
A few tex ports put their temporary file in /var/tmp/texfonts, some other ports put temporary files in /var/tmp/vi.recover.