diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2010-01-19 05:02:58 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2010-01-19 05:02:58 +0000 |
commit | 00b4628d7fb0d2b83ffa5513bc1725be3ac72a4b (patch) | |
tree | 96dc93be5024e57f3781770e651338c30776c812 /sci-visualization/g3data | |
parent | Keyword ~amd64-linux/~x86-linux (diff) | |
download | gentoo-2-00b4628d7fb0d2b83ffa5513bc1725be3ac72a4b.tar.gz gentoo-2-00b4628d7fb0d2b83ffa5513bc1725be3ac72a4b.tar.bz2 gentoo-2-00b4628d7fb0d2b83ffa5513bc1725be3ac72a4b.zip |
Added a doc flag
(Portage version: 2.2_rc61/cvs/Linux x86_64)
Diffstat (limited to 'sci-visualization/g3data')
-rw-r--r-- | sci-visualization/g3data/ChangeLog | 6 | ||||
-rw-r--r-- | sci-visualization/g3data/files/g3data-1.5.3-makefile.patch | 2 | ||||
-rw-r--r-- | sci-visualization/g3data/g3data-1.5.3.ebuild | 18 |
3 files changed, 20 insertions, 6 deletions
diff --git a/sci-visualization/g3data/ChangeLog b/sci-visualization/g3data/ChangeLog index 9b5c37122657..bc44cc25ec31 100644 --- a/sci-visualization/g3data/ChangeLog +++ b/sci-visualization/g3data/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sci-visualization/g3data # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-visualization/g3data/ChangeLog,v 1.6 2010/01/12 15:47:58 fauli Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/g3data/ChangeLog,v 1.7 2010/01/19 05:02:57 bicatali Exp $ + + 19 Jan 2010; Sébastien Fabbro <bicatali@gentoo.org> g3data-1.5.3.ebuild, + files/g3data-1.5.3-makefile.patch: + Added a doc flag 12 Jan 2010; Christian Faulhammer <fauli@gentoo.org> g3data-1.5.3.ebuild: stable x86, bug 299847 diff --git a/sci-visualization/g3data/files/g3data-1.5.3-makefile.patch b/sci-visualization/g3data/files/g3data-1.5.3-makefile.patch index 9c9bbfd546f9..4f393442a69c 100644 --- a/sci-visualization/g3data/files/g3data-1.5.3-makefile.patch +++ b/sci-visualization/g3data/files/g3data-1.5.3-makefile.patch @@ -15,7 +15,7 @@ -g3data: main.o sort.o points.o drawing.o g3data.1.gz - $(CC) $(CFLAGS) -o g3data main.o sort.o points.o drawing.o $(LIBS) - strip g3data -+g3data: main.o sort.o points.o drawing.o g3data.1 ++g3data: main.o sort.o points.o drawing.o + $(CC) $(LDFLAGS) -o g3data main.o sort.o points.o drawing.o $(LIBS) main.o: main.c main.h strings.h vardefs.h diff --git a/sci-visualization/g3data/g3data-1.5.3.ebuild b/sci-visualization/g3data/g3data-1.5.3.ebuild index 539cefa97faa..85a8846855e4 100644 --- a/sci-visualization/g3data/g3data-1.5.3.ebuild +++ b/sci-visualization/g3data/g3data-1.5.3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-visualization/g3data/g3data-1.5.3.ebuild,v 1.2 2010/01/12 15:47:58 fauli Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-visualization/g3data/g3data-1.5.3.ebuild,v 1.3 2010/01/19 05:02:57 bicatali Exp $ EAPI=2 inherit eutils @@ -12,20 +12,27 @@ SRC_URI="http://www.frantz.fi/software/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 x86" -IUSE="examples" +IUSE="doc examples" RDEPEND=">=x11-libs/gtk+-2.6.0" DEPEND="${RDEPEND} dev-util/pkgconfig - ~app-text/docbook-sgml-utils-0.6.14" + doc? ( ~app-text/docbook-sgml-utils-0.6.14 )" src_prepare() { epatch "${FILESDIR}"/${P}-makefile.patch } +src_compile() { + emake || die "emake failed" + # although doc is only 1 man file, it pulls lots of deps + if use doc; then + emake g3data.1 || die "emake doc failed" + fi +} + src_install() { dobin g3data || die "dobin failed - no binary!" - doman g3data.1 || die "doman failed" dodoc README.SOURCE # xpm image is really a png file newicon g3data-icon.xpm g3data.png @@ -36,4 +43,7 @@ src_install() { insinto /usr/share/doc/${PF}/examples doins test1.png test1.values test2.png test2.values fi + if use doc; then + doman g3data.1 || die "doman failed" + fi } |