summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-board')
-rw-r--r--games-board/ccgo/ChangeLog5
-rw-r--r--games-board/ccgo/ccgo-0.3.6.4.ebuild24
2 files changed, 24 insertions, 5 deletions
diff --git a/games-board/ccgo/ChangeLog b/games-board/ccgo/ChangeLog
index b1c10cd34555..c39fcf449746 100644
--- a/games-board/ccgo/ChangeLog
+++ b/games-board/ccgo/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-board/ccgo
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/ccgo/ChangeLog,v 1.8 2010/01/15 16:15:12 tupone Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-board/ccgo/ChangeLog,v 1.9 2010/01/15 20:04:50 mr_bones_ Exp $
+
+ 15 Jan 2010; Michael Sterrett <mr_bones_@gentoo.org> ccgo-0.3.6.4.ebuild:
+ fix desktop file; fix nls install
*ccgo-0.3.6.4 (15 Jan 2010)
diff --git a/games-board/ccgo/ccgo-0.3.6.4.ebuild b/games-board/ccgo/ccgo-0.3.6.4.ebuild
index 3e4700a1d4f5..7ac0825263b3 100644
--- a/games-board/ccgo/ccgo-0.3.6.4.ebuild
+++ b/games-board/ccgo/ccgo-0.3.6.4.ebuild
@@ -1,9 +1,9 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/ccgo/ccgo-0.3.6.4.ebuild,v 1.1 2010/01/15 16:15:12 tupone Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-board/ccgo/ccgo-0.3.6.4.ebuild,v 1.2 2010/01/15 20:04:50 mr_bones_ Exp $
EAPI=2
-inherit games
+inherit autotools games
DESCRIPTION="An IGS client written in C++"
HOMEPAGE="http://ccdw.org/~cjj/prog/ccgo/"
@@ -21,13 +21,29 @@ DEPEND="${RDEPEND}
dev-util/pkgconfig
nls? ( sys-devel/gettext )"
+src_prepare() {
+ sed -i \
+ -e '/^Encoding/d' \
+ -e '/^Categories/s/Application;//' \
+ ccgo.desktop.in \
+ || die 'sed failed'
+ sed -i \
+ -e '/^localedir/s/=.*/=@localedir@/' \
+ -e '/^appicondir/s:=.*:=/usr/share/pixmaps:' \
+ -e '/^desktopdir/s:=.*:=/usr/share/applications:' \
+ Makefile.am \
+ || die 'sed failed'
+ eautoreconf
+}
+
src_configure() {
egamesconf \
- --datadir="${GAMES_DATADIR_BASE}" \
+ --disable-dependency-tracking \
+ --localedir=/usr/share/locale \
$(use_enable nls)
}
src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
+ emake DESTDIR="${D}" install || die 'emake install failed'
prepgamesdirs
}