blob: be46ac69f4c54edb714e0c7fe72c139db3b1c0dd (
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
39
40
41
42
43
44
45
46
47
48
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit games
DESCRIPTION="3D models of Doom/Heretic/Hexen/Strife for Vavoom"
HOMEPAGE="http://www.vavoom-engine.com/"
SRC_URI="doom? ( mirror://sourceforge/vavoom/vmodels-doom-${PV}.zip )
heretic? ( mirror://sourceforge/vavoom/vmodels-heretic-${PV}.zip )
hexen? ( mirror://sourceforge/vavoom/vmodels-hexen-${PV}.zip )
strife? ( mirror://sourceforge/vavoom/vmodels-strife-${PV}.zip )
!doom? ( !heretic? ( !hexen? ( !strife? (
mirror://sourceforge/vavoom/vmodels-doom-${PV}.zip
mirror://sourceforge/vavoom/vmodels-heretic-${PV}.zip
mirror://sourceforge/vavoom/vmodels-hexen-${PV}.zip
mirror://sourceforge/vavoom/vmodels-strife-${PV}.zip ) ) ) )"
LICENSE="as-is"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doom heretic hexen strife"
DEPEND="app-arch/unzip"
RDEPEND="games-fps/vavoom"
S=${WORKDIR}
src_unpack() {
unpack ${A}
cd "${S}"
# Move docs outside of basev dir
for x in $(ls -1 basev) ; do
mv basev/${x}/xmodels.txt ${x}-models.txt
done
}
src_install() {
dodoc *.txt || die "dodoc failed"
cd basev
insinto "${GAMES_DATADIR}/vavoom/basev/"
doins -r * || die "doins failed"
prepgamesdirs
}
|