The ebuild for ViewVC 1.0.3 has a line for installing the bin files: cp -p bin/ ${D}/usr/share/webapps/${PN}/bin However, when installing, it skips this copy operation because bin is a directory and it's not using the -r option for cp. A simply fix is to change this line to cp -rp bin/ ${D}/usr/share/webapps/${PN}/ Note that I have also removed the 'bin' from the end.
Done
I stumbled upon this problem today - looks like the fix has not yet been committed?
You're right, I can't find anything of the fix in CVS at any revision. cp: omitting directory `bin/asp' cp: omitting directory `bin/cgi' cp: omitting directory `bin/mod_python' However, although I'm not that familiar with the package, I don't see any reason to alter the install location of those files (i.e. leave the target path as ${D}/usr/share/webapps/${PN}/bin). I'll ask to get this reopened, so the web-apps herd can bring some light into this...
reopening wrt comment #2 and #3
This also appears to affect the ebuild for version 1.0.4.
The reason for 'bin' being removed from the end was that this dir was created earlier in the ebuild, so the files would end up in ${D}/usr/share/webapps/${PN}/bin/bin. Another way to fix it should be cp -rp bin/* ${D}/usr/share/webapps/${PN}/bin
The directories within "bin" shouldn't get copied since they are being moved into other directories in /usr/share/webapps/viewvc. This is a pretty shabby ebuild though. I should really fix it at some point.