<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>31219</bug_id>
          
          <creation_ts>2003-10-15 12:18 0000</creation_ts>
          <short_desc>media-gfx/gnuplot: should install more (optional) docs</short_desc>
          <delta_ts>2003-10-16 02:22:04 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>eckert.thomas@gmx.net</reporter>
          <assigned_to>usata@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>eckert.thomas@gmx.net</who>
            <bug_when>2003-10-15 12:18:42 0000</bug_when>
            <thetext>gnuplot does contain a manual that should (at least) be installed if USE-flags
contain &quot;doc&quot;.

--- 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=&quot;X readline svga plotutils&quot;
+IUSE=&quot;X readline svga plotutils doc&quot;
 
 S=${WORKDIR}/${P}
 DESCRIPTION=&quot;Quick and useful plotting program&quot;
@@ -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:</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>usata@gentoo.org</who>
            <bug_when>2003-10-16 02:22:04 0000</bug_when>
            <thetext>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.
</thetext>
          </long_desc>
      
    </bug>

</bugzilla>