the ebuild man page should describe the FILESDIR variable.
that is 'man 5 ebuild' ...
this is already in cvs ;) http://cvs.gentoo.org/cgi-bin/viewcvs.cgi/gentoo-src/portage/man/ebuild.5.diff?r1=1.28&r2=1.29