summaryrefslogtreecommitdiff
blob: e14beff9afdce1c7097609c44821e1f9d62210c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-fps/doom3-cdoom/doom3-cdoom-1.ebuild,v 1.4 2006/09/28 21:01:50 nyhm Exp $

inherit eutils games

MOD="cdoom"
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
	mirror://gentoo/${PN}.png
	http://dev.gentoo.org/~wolf31o2/sources/dump/${PN}.png"

LICENSE="as-is"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
RESTRICT="mirror strip"

RDEPEND="games-fps/doom3"
DEPEND="${RDEPEND}
	app-arch/unzip"

S=${WORKDIR}

src_install() {
	mv *.pk4 ${MOD}/

	insinto "${GAMES_PREFIX_OPT}"/doom3
	doins -r ${MOD} || die "doins failed"

	games_make_wrapper ${PN} "doom3 +set fs_game ${MOD}"
	doicon ${DISTDIR}/${PN}.png
	make_desktop_entry ${PN} "Doom III - Classic Doom" ${PN}.png

	prepgamesdirs
}