# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit games DESCRIPTION="Doom 1 conversion for Doom 3" HOMEPAGE="http://cdoom.d3files.com/" SRC_URI="http://www.doomwadstation.com/doom3/maps/cdoom/classic_doom3_version${PV}.zip http://www.doomwadstation.com/doom3/maps/cdoom/cdoom3_v${PV}_update_patch.zip" # See /opt/doom3/cdoom/docs/license.txt LICENSE="as-is" SLOT="0" # Will probably work on amd64 also KEYWORDS="~x86" IUSE="" DEPEND="games-fps/doom3" S=${WORKDIR} src_install() { # cdoom/cdoom.ico is not visible in Gnome 2.12, so reuse the doom3 icon make_desktop_entry "doom3 +set fs_game cdoom" "Classic Doom 3" doom3.png mv *.pk4 cdoom/ insinto "${GAMES_PREFIX_OPT}"/doom3/ doins -r cdoom || die "doins failed" prepgamesdirs }