blob: 67fb77c032ca3760885671977febd9c6b653fc01 (
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
|
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-fps/doom3-phantasm/doom3-phantasm-1.2.ebuild,v 1.2 2008/02/15 00:41:21 wolf31o2 Exp $
MOD_DESC="single-player short mod based on the Phantasm horror movies"
MOD_NAME="Phantasm"
MOD_DIR="phantasm"
MOD_BINS="phantasm"
inherit games games-mods
HOMEPAGE="http://www.freewebs.com/bladeghost_j/
http://doom3.filefront.com/file/Phantasm_D3;72040"
SRC_URI="mirror://filefront/Doom_III/Mods/Addons/phantasm_d3_${PV}.zip
ftp://files.mhgaming.com/doom3/mods/phantasm_d3_${PV}.zip"
LICENSE="as-is"
RDEPEND="games-fps/doom3"
S=${WORKDIR}
src_unpack() {
games-mods_src_unpack
cd "${S}"
# Remove useless "_d3" from directory name
mv "${MOD_DIR}"* "${MOD_DIR}" || die
# Oh no, a filename containing a space! Gives Portage the heebee-jeebies:
# * checking 8 files for package collisions
# existing file /usr/share/games/doom3/phantasm/
# phantasm_d3_1.2 readme.txt is not owned by this package
mv "${MOD_DIR}"/phantasm*.txt "${MOD_DIR}"/README.phantasm.txt || die
}
|