Added sndfile USE flag, tidied up doc installation.
authorMarcus D. Hanwell <cryos@gentoo.org>
Fri, 7 Jan 2005 03:52:57 +0000 (03:52 +0000)
committerMarcus D. Hanwell <cryos@gentoo.org>
Fri, 7 Jan 2005 03:52:57 +0000 (03:52 +0000)
media-gfx/quickplot/ChangeLog
media-gfx/quickplot/Manifest
media-gfx/quickplot/quickplot-0.8.5.ebuild

index 270c8147e38d484e1a5ac08d1e3712b4d31211df..a61ecb57aac44834234cb54329da7c778a2573e3 100644 (file)
@@ -1,6 +1,9 @@
 # ChangeLog for media-gfx/quickplot
 # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/quickplot/ChangeLog,v 1.2 2005/01/06 07:42:35 cryos Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/quickplot/ChangeLog,v 1.3 2005/01/07 03:52:57 cryos Exp $
+
+  07 Jan 2005; Marcus Hanwell <cryos@gentoo.org> quickplot-0.8.5.ebuild:
+  Added sndfile USE flag, and tidied up documentation files.
 
 *quickplot-0.8.5 (06 Jan 2005)
 
index da44680dd0d62352e565db3d79c05702da84df11..7f95989c0f9c58f14ad0a30e88d8f873a0491b06 100644 (file)
@@ -2,13 +2,13 @@
 Hash: SHA1
 
 MD5 f7ccf447ef7110a72f7c987c517942bd metadata.xml 689
-MD5 4d6d3d2d3da3b29949b638b15a2729ab ChangeLog 836
-MD5 a87e8a8bf3c232d129f820b0ed92fb12 quickplot-0.8.5.ebuild 866
+MD5 edaab44c837941768a1144c993276047 ChangeLog 971
+MD5 df914cfa7c95511e362188dddb96306f quickplot-0.8.5.ebuild 1105
 MD5 161b412e414642dbef003cb31c9584b0 files/digest-quickplot-0.8.5 68
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.2.6 (GNU/Linux)
 
-iD8DBQFB3O0hntT9W3vfTuoRAsV8AKCHgwZa1bpzUqWP4/19WScRGSGyKwCcDnqB
-G/oVqo9mpEDeWeyBT2VDhHQ=
-=DJv/
+iD8DBQFB3gepntT9W3vfTuoRAoa1AJ9qPXC9oUYjKsYxSPRT6QGNvTBTjQCgsXgH
+v2Czbha29tPAzseCm9SNqUA=
+=eBfp
 -----END PGP SIGNATURE-----
index 02937506d22b50e3a84364580a3ec640ea226341..74d2f9bd83ee89d9b15b0082654b5ea6230f2693 100644 (file)
@@ -1,29 +1,34 @@
 # Copyright 1999-2005 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/quickplot/quickplot-0.8.5.ebuild,v 1.1 2005/01/06 07:42:35 cryos Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/quickplot/quickplot-0.8.5.ebuild,v 1.2 2005/01/07 03:52:57 cryos Exp $
 
 DESCRIPTION="A fast interactive 2D plotter."
 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
 HOMEPAGE="http://quickplot.sourceforge.net/"
 
-IUSE=""
+IUSE="sndfile"
 SLOT="0"
 LICENSE="GPL-2"
 KEYWORDS="~x86 ~amd64"
 
-DEPEND=">=dev-util/pkgconfig-0.15
-       >=dev-cpp/gtkmm-2.4.5
-       >=media-libs/libsndfile-1.0.5"
+RDEPEND=">=dev-cpp/gtkmm-2.4.5
+       sndfile? ( >=media-libs/libsndfile-1.0.5 )"
+
+DEPEND="${RDEPEND}
+       >=dev-util/pkgconfig-0.15"
 
 src_compile() {
-       econf || die "econf step failed."
-       emake || die "emake step failed."
+       econf `use_with sndfile libsndfile` || die "econf step failed."
+       emake htmldir=/usr/share/doc/${PF}/html || die "emake step failed."
 }
 
 src_install () {
-       make install DESTDIR=${D} || die "make install step failed."
-       # Remove the licence as it is specified in LICENCE
-       rm ${D}/usr/share/doc/${PN}/COPYING
-       # Move the docs to the correct location
-       mv ${D}/usr/share/doc/${PN} ${D}/usr/share/doc/${PF}
+       make install DESTDIR=${D} htmldir=/usr/share/doc/${PF}/html \
+               || die "make install step failed."
+       dodoc AUTHORS ChangeLog README README.devel TODO
+       # Remove COPYING as it is specified in LICENCE. Move other stuff.
+       cd ${D}/usr/share/doc/${PF}/html
+       rm COPYING quickplot_icon.png ChangeLog
+       mv ${D}/usr/share/pixmaps/quickplot_icon.png \
+               ${D}/usr/share/pixmaps/quickplot.png
 }