$ ls /usr/share/doc/tclap* /usr/share/doc/tclap: html index.html manual.html style.css /usr/share/doc/tclap-1.2.0: html Fixed for me by adding docdir="/usr/share/doc/${PF}/html" to emake install and removing dohtml: src_install() { emake DESTDIR="${D}" docdir="/usr/share/doc/${PF}/html" install || die "emake install failed" } This results in: $ ls /usr/share/doc/tclap-1.2.0/html/ html index.html manual.html style.css portage automatically creates the symlink: /usr/share/doc/html/dev-cpp/tclap -> /usr/share/doc/tclap-1.2.0/html which can be used to find index.html and manual.html independently of version.
+ 25 Jul 2012; Pacho Ramos <pacho@gentoo.org> tclap-1.2.0.ebuild: + Install doc files at proper place, bug #427810 by Chris Mayo. +