# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ # Nonofficial ebuild by Ycarus. For new version look here : http://gentoo.zugaina.org/ # This ebuild is a small modification of the official penguin-command ebuild inherit gnuconfig games DESCRIPTION="A clone of the classic Missile Command Game" DESCRIPTION_FR="Un clone du jeu Missile Command" HOMEPAGE="http://www.linux-games.com/penguin-command/" SRC_URI="mirror://sourceforge/penguin-command/${P}.tar.gz" RESTRICT="nomirror" LICENSE="GPL-2" SLOT="0" KEYWORDS="x86 ppc sparc ~amd64" IUSE="nls" DEPEND="media-libs/libpng media-libs/jpeg >=media-libs/libsdl-1.1.5 media-libs/sdl-mixer media-libs/sdl-image" src_unpack() { unpack ${A} sed -i 's:-DUSE_SOUND::' ${S}/configure gnuconfig_update } src_install() { make install DESTDIR=${D} || die dodoc ChangeLog README NEWS AUTHORS use nls || rm ${D}/usr/share/man/man6/*.ja.* prepgamesdirs }