# 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="mirror://filefront/Doom_III/Hosted_Mods/Final_Releases/classic_doom3_version${PV}.zip mirror://filefront/Doom_III/Hosted_Mods/Patches/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="" RESTRICT="nomirror nostrip" DEPEND="games-fps/doom3" S=${WORKDIR} MOD="cdoom" src_install() { # Patch mv *.pk4 ${MOD}/ insinto "${GAMES_PREFIX_OPT}"/doom3/ doins -r ${MOD} || die "doins failed" games_make_wrapper ${PN} "doom3 +set fs_game ${MOD}" doicon ${FILESDIR}/${PN}.png make_desktop_entry ${PN} "Doom III - Classic Doom" ${PN}.png prepgamesdirs }