# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit games MY_PN=Pang_Win_and_Linux DESCRIPTION="A port of the arcade ball game Pang!" HOMEPAGE="http://perso.club-internet.fr/michel.louvet" SRC_URI="http://perso.club-internet.fr/michel.louvet/${MY_PN}.zip" LICENSE="as-is" SLOT="0" KEYWORDS="~x86" IUSE="" S=${WORKDIR}/${MY_PN} DEPEND="virtual/x11 media-libs/libsdl media-libs/sdl-mixer" src_unpack() { unpack ${A} cd ${S} sed -i -e "s:romdisk/:${GAMES_DATADIR}/${PN}/romdisk/:" main.c rm tuxpang *.o } src_install() { newgamesbin tuxpang ${PN} insinto ${GAMES_DATADIR}/${PN}/romdisk doins romdisk/*.wav romdisk/*.bmp prepgamesdirs }