net-libs/libgmail installs two copies of all the examples, one using dodoc and another with a cp -r. The attached patch fixes this, and changes the examples to use the ebuild provided functions to install the examples. Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 49264 [details, diff] patch to only install examples once
Since the demos are also executable, I edited your patch to use exeinto/doexe and now only one copy of the docs is installed. Thanks :).