summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2007-01-09 23:57:00 +0000
committerAlfredo Tupone <tupone@gentoo.org>2007-01-09 23:57:00 +0000
commit4318ca96aefaccf7ee4e607d1986c4e438fdb66e (patch)
treee163254c161e3d222850c0b93222d748cbc91462 /games-board/grhino
parentFixed redundant braces that were breaking on newer bash versions and closing ... (diff)
downloadgentoo-2-4318ca96aefaccf7ee4e607d1986c4e438fdb66e.tar.gz
gentoo-2-4318ca96aefaccf7ee4e607d1986c4e438fdb66e.tar.bz2
gentoo-2-4318ca96aefaccf7ee4e607d1986c4e438fdb66e.zip
Install menu entry only if gnome use flag has been specified
(Portage version: 2.1.1-r2)
Diffstat (limited to 'games-board/grhino')
-rw-r--r--games-board/grhino/ChangeLog5
-rw-r--r--games-board/grhino/grhino-0.16.0.ebuild8
2 files changed, 9 insertions, 4 deletions
diff --git a/games-board/grhino/ChangeLog b/games-board/grhino/ChangeLog
index b3f06c9c4231..d98d43e24008 100644
--- a/games-board/grhino/ChangeLog
+++ b/games-board/grhino/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-board/grhino
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/grhino/ChangeLog,v 1.3 2007/01/08 17:55:34 tupone Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-board/grhino/ChangeLog,v 1.4 2007/01/09 23:57:00 tupone Exp $
+
+ 09 Jan 2007; <tupone@gentoo.org> grhino-0.16.0.ebuild:
+ Install menu entry only if gnome use flag has been specified
08 Jan 2007; <tupone@gentoo.org> grhino-0.16.0.ebuild:
Defaulting to use gtp if neither gnome or gtp are specified
diff --git a/games-board/grhino/grhino-0.16.0.ebuild b/games-board/grhino/grhino-0.16.0.ebuild
index e90369bcbcc7..8320856afc88 100644
--- a/games-board/grhino/grhino-0.16.0.ebuild
+++ b/games-board/grhino/grhino-0.16.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/grhino/grhino-0.16.0.ebuild,v 1.3 2007/01/08 17:55:34 tupone Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-board/grhino/grhino-0.16.0.ebuild,v 1.4 2007/01/09 23:57:00 tupone Exp $
inherit eutils games
@@ -32,8 +32,10 @@ src_install() {
dodoc ChangeLog NEWS README TODO || die "installing docs failed"
- doicon ${PN}.png
- make_desktop_entry ${PN} "GRhino" ${PN}.png
+ if use gnome; then
+ doicon ${PN}.png
+ make_desktop_entry ${PN} "GRhino" ${PN}.png
+ fi
prepgamesdirs
}