summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <nyhm@gentoo.org>2006-12-24 11:07:59 +0000
committerTristan Heaven <nyhm@gentoo.org>2006-12-24 11:07:59 +0000
commit909e1f4d900f20f90a040c8eb3427978d9f4bbab (patch)
tree474f537a8a42ec19fad024a11b795a0af1b8632e /games-board/qgo
parentAdd bug number to net-mail/base64 mask (diff)
downloadgentoo-2-909e1f4d900f20f90a040c8eb3427978d9f4bbab.tar.gz
gentoo-2-909e1f4d900f20f90a040c8eb3427978d9f4bbab.tar.bz2
gentoo-2-909e1f4d900f20f90a040c8eb3427978d9f4bbab.zip
Use games eclass, bug #158515
(Portage version: 2.1.2_rc4)
Diffstat (limited to 'games-board/qgo')
-rw-r--r--games-board/qgo/ChangeLog5
-rw-r--r--games-board/qgo/qgo-1.5.2.ebuild17
2 files changed, 18 insertions, 4 deletions
diff --git a/games-board/qgo/ChangeLog b/games-board/qgo/ChangeLog
index a0e59a76665a..da5e62cef24a 100644
--- a/games-board/qgo/ChangeLog
+++ b/games-board/qgo/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-board/qgo
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/qgo/ChangeLog,v 1.22 2006/10/11 22:10:00 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-board/qgo/ChangeLog,v 1.23 2006/12/24 11:07:59 nyhm Exp $
+
+ 24 Dec 2006; Tristan Heaven <nyhm@gentoo.org> qgo-1.5.2.ebuild:
+ Use games eclass, bug #158515
*qgo-1.5.2 (11 Oct 2006)
diff --git a/games-board/qgo/qgo-1.5.2.ebuild b/games-board/qgo/qgo-1.5.2.ebuild
index 0e4a8fc290a3..92a31395eb0e 100644
--- a/games-board/qgo/qgo-1.5.2.ebuild
+++ b/games-board/qgo/qgo-1.5.2.ebuild
@@ -1,10 +1,10 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/qgo/qgo-1.5.2.ebuild,v 1.1 2006/10/11 22:10:00 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-board/qgo/qgo-1.5.2.ebuild,v 1.2 2006/12/24 11:07:59 nyhm Exp $
-inherit eutils qt3
+inherit eutils qt3 games
-DESCRIPTION="A c++/qt go client and sgf editor"
+DESCRIPTION="A Qt Go client and SGF editor"
HOMEPAGE="http://qgo.sourceforge.net/"
SRC_URI="mirror://sourceforge/qgo/${P}.tar.gz"
@@ -15,6 +15,17 @@ IUSE=""
DEPEND="$(qt_min_version 3.3)"
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i 's:$(datadir):/usr/share:' \
+ templates/Makefile.in \
+ || die "sed Makefile.in failed"
+ sed -i "s:/usr/share:${GAMES_DATADIR}:" \
+ templates/*.desktop \
+ || die "sed .desktop failed"
+}
+
src_install() {
emake DESTDIR="${D}" install || die "emake install failed"
dodoc AUTHORS ChangeLog NEWS README TODO