gnuplot does contain a manual that should (at least) be installed if USE-flags contain "doc". --- snipp --- --- gnuplot-3.7.3.ebuild 2003-08-25 22:10:58.000000000 +0200 +++ gnuplot-3.7.3-r1.ebuild 2003-10-15 21:17:07.000000000 +0200 @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /home/cvsroot/gentoo-x86/media-gfx/gnuplot/gnuplot-3.7.3.ebuild,v 1.4 2003/08/25 19:51:15 weeve Exp $ -IUSE="X readline svga plotutils" +IUSE="X readline svga plotutils doc" S=${WORKDIR}/${P} DESCRIPTION="Quick and useful plotting program" @@ -68,6 +68,12 @@ make prefix=${D}/usr install || die dodoc 0* ChangeLog CodeStyle Copyright NEWS PGPKEYS TODO + if use doc; then + cd doc + ## one or more of [ps,dvi,pdf]: + make pdf + dodoc gnuplot.pdf + fi } pkg_postinst() { --- snapp --- Reproducible: Always Steps to Reproduce:
I added doc IUSE flag but I changed a bit of your patch. `cd doc` was actually `cd docs` and I moved `make pdf || die` to src_install. Any compilation process including document creation should go to src_install and the ebuild should die if compilation fails. Thanks for reporting the bug.