# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit games DESCRIPTION="A road figher remake" HOMEPAGE="http://braingames.getput.com/roadf/default.asp" SRC_URI="http://www.braingames.getput.com/roadf/download/RF-sources.zip http://www.braingames.getput.com/roadf/download/RoadFighter.zip" LICENSE="" SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND="media-libs/libsdl media-libs/sdl-mixer media-libs/sdl-sound media-libs/sdl-ttf media-libs/sdl-image media-libs/sge" RDEPEND="${DEPEND}" S=${WORKDIR} src_install() { dodir "${GAMES_DATADIR}/${PN}" cp -r rf RoadFighter/fonts RoadFighter/graphics RoadFighter/maps RoadFighter/sound "${D}${GAMES_DATADIR}/${PN}" || die "cp failed" echo "#!/bin/sh cd ${GAMES_DATADIR}/${PN} ./rf" > ${PN} dogamesbin ${PN} prepgamesdirs }