summaryrefslogtreecommitdiff
blob: a783b23d42f1be3c43bbe8178d95465f3ed4b7ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-arcade/penguin-command/penguin-command-1.6.10.ebuild,v 1.2 2006/09/28 20:55:11 nyhm Exp $

inherit eutils games

DESCRIPTION="A clone of the classic Missile Command Game"
HOMEPAGE="http://www.linux-games.com/penguin-command/"
SRC_URI="mirror://sourceforge/penguin-command/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
IUSE="nls"

DEPEND="media-libs/libpng
	media-libs/jpeg
	>=media-libs/libsdl-1.1.5
	media-libs/sdl-mixer
	media-libs/sdl-image"

src_install() {
	make install DESTDIR="${D}" || die
	dodoc ChangeLog README NEWS AUTHORS
	if use nls ; then
		dodir /usr/share/man/ja/man6
		mv "${D}"/usr/share/man/man6/penguin-command.ja.6 "${D}"/usr/share/man/ja/man6/penguin-command.6
	else
		rm -f "${D}"/usr/share/man/man6/*.ja.*
	fi
	newicon data/gfx/icon.xpm ${PN}.xpm
	make_desktop_entry ${PN} ${PN} ${PN}.xpm
	prepgamesdirs
}