You could use INSTALL_MASK or PKG_INSTALL_MASK to instruct Portage not to install or package them. You could use a package-specific Portage environment file to define a post_src_install that removes those files, before the packaging and merge phases run.