summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharlie Shepherd <masterdriverz@gentoo.org>2006-12-02 00:51:14 +0000
committerCharlie Shepherd <masterdriverz@gentoo.org>2006-12-02 00:51:14 +0000
commitda6e7fcd8d580d31544ee0410789a090b229ee03 (patch)
tree93e93f823b1fabf39a51084aaed70dfea9a82d37 /media-libs/gle
parentConvert make to emake, add x11-libs/libXi dependency, thanks to Patrick Lauer... (diff)
downloadgentoo-2-da6e7fcd8d580d31544ee0410789a090b229ee03.tar.gz
gentoo-2-da6e7fcd8d580d31544ee0410789a090b229ee03.tar.bz2
gentoo-2-da6e7fcd8d580d31544ee0410789a090b229ee03.zip
Fix doc install location, thanks to Chris Mayo for the patch, bug 154900
(Portage version: 2.1.2_rc2-r2)
Diffstat (limited to 'media-libs/gle')
-rw-r--r--media-libs/gle/ChangeLog6
-rw-r--r--media-libs/gle/gle-3.1.0-r1.ebuild11
2 files changed, 13 insertions, 4 deletions
diff --git a/media-libs/gle/ChangeLog b/media-libs/gle/ChangeLog
index cc6fbbd6a483..0c08c3e0cdee 100644
--- a/media-libs/gle/ChangeLog
+++ b/media-libs/gle/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-libs/gle
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/gle/ChangeLog,v 1.25 2006/10/29 23:41:16 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/gle/ChangeLog,v 1.26 2006/12/02 00:51:14 masterdriverz Exp $
+
+ 02 Dec 2006; Charlie Shepherd <masterdriverz@gentoo.org>
+ gle-3.1.0-r1.ebuild:
+ Fix doc install location, thanks to Chris Mayo for the patch, bug 154900
29 Oct 2006; Diego Pettenò <flameeyes@gentoo.org> gle-3.1.0-r1.ebuild:
Fix autotools dependencies. Closes bug #150142.
diff --git a/media-libs/gle/gle-3.1.0-r1.ebuild b/media-libs/gle/gle-3.1.0-r1.ebuild
index c2acc6b024f9..022aa3f7c645 100644
--- a/media-libs/gle/gle-3.1.0-r1.ebuild
+++ b/media-libs/gle/gle-3.1.0-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/gle/gle-3.1.0-r1.ebuild,v 1.3 2006/10/29 23:41:16 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/gle/gle-3.1.0-r1.ebuild,v 1.4 2006/12/02 00:51:14 masterdriverz Exp $
WANT_AUTOCONF="latest"
WANT_AUTOMAKE="1.4"
@@ -41,11 +41,16 @@ src_compile() {
--x-libraries=/usr/$(get_libdir)/opengl/xorg-x11 \
|| die "econf failed."
+ if use doc; then
+ sed -i -e 's:\$(datadir)/doc/gle:\$(datadir)/doc/${PF}:' doc/Makefile
+ sed -i -e 's:\$(datadir)/doc/gle/html:\$(datadir)/doc/${PF}/html:' doc/html/Makefile
+ fi
+
emake || die "emake failed."
}
src_install() {
- make DESTDIR="${D}" install || die "make install failed."
+ emake DESTDIR="${D}" install || die "make install failed."
dodoc AUTHORS ChangeLog NEWS README
- use doc || rm -rf "${D}"/usr/share/doc/gle
+ rm -rf "${D}/usr/share/doc/gle"
}