summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <nyhm@gentoo.org>2007-03-12 20:08:26 +0000
committerTristan Heaven <nyhm@gentoo.org>2007-03-12 20:08:26 +0000
commit0ac1fa2f55b0e660b635cb8e93c9b13dd201dfdb (patch)
tree2be3f1470f02a463c23c78e45a728b2268c4b7cc /games-action/phobiaii/phobiaii-1.1.ebuild
parentx86 stable (diff)
downloadgentoo-2-0ac1fa2f55b0e660b635cb8e93c9b13dd201dfdb.tar.gz
gentoo-2-0ac1fa2f55b0e660b635cb8e93c9b13dd201dfdb.tar.bz2
gentoo-2-0ac1fa2f55b0e660b635cb8e93c9b13dd201dfdb.zip
Install menu entry, bug #159760
(Portage version: 2.1.2.2)
Diffstat (limited to 'games-action/phobiaii/phobiaii-1.1.ebuild')
-rw-r--r--games-action/phobiaii/phobiaii-1.1.ebuild16
1 files changed, 7 insertions, 9 deletions
diff --git a/games-action/phobiaii/phobiaii-1.1.ebuild b/games-action/phobiaii/phobiaii-1.1.ebuild
index 8432af715806..1a5c7b9d1432 100644
--- a/games-action/phobiaii/phobiaii-1.1.ebuild
+++ b/games-action/phobiaii/phobiaii-1.1.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-action/phobiaii/phobiaii-1.1.ebuild,v 1.13 2006/11/27 01:29:22 blubb Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-action/phobiaii/phobiaii-1.1.ebuild,v 1.14 2007/03/12 20:08:26 nyhm Exp $
-inherit games
+inherit eutils games
MY_P="linuxphobia-${PV}"
DESCRIPTION="Just a moment ago, you were safe inside your ship, behind five inch armour"
@@ -15,7 +15,6 @@ KEYWORDS="amd64 x86"
IUSE=""
RESTRICT="strip"
-DEPEND=""
RDEPEND="media-libs/sdl-mixer
media-libs/libsdl
x86? ( sys-libs/lib-compat )
@@ -25,13 +24,12 @@ S=${WORKDIR}/${MY_P}
src_install() {
local dir=${GAMES_PREFIX_OPT}/${PN}
-
- games_make_wrapper ${PN/ii/II} ./linuxphobia "${dir}"
-
+ games_make_wrapper phobiaII ./linuxphobia "${dir}"
+ newicon phobia2.ico ${PN}.ico
+ make_desktop_entry phobiaII "Phobia II" /usr/share/pixmaps/${PN}.ico
insinto "${dir}"
doins -r * || die "doins failed"
-
- rm -rf "${D}/${dir}"/{*.desktop,*.sh,*.ico,/pics/.xvpics}
+ rm -rf "${D}/${dir}"/{*.desktop,*.sh,/pics/.xvpics}
fperms 750 "${dir}"/linuxphobia
prepgamesdirs
}