summaryrefslogtreecommitdiff
blob: 7fbdba0d6d16f8c56c75bc4b29044760b115ccb8 (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
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

DESCRIPTION="A nodebuilder and REJECT builder for DooM engine games"
HOMEPAGE="http://www.mrousseau.org/programs/ZenNode/"
SRC_URI="http://www.mrousseau.org/programs/ZenNode/archives/${P}.zip"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE=""

DEPEND="app-arch/zip"
RDEPEND=""

inherit games

S=${WORKDIR}/ZenNode-${PV}/src/ZenNode

src_unpack() {
	unpack ${A}
	cd ZenNode-${PV}
	unpack ./zennode-src.zip
}

src_compile() {
	cd "${S}"
	emake || die "emake failed"
}

src_install() {
	cd "${S}"
	dogamesbin ZenNode bspdiff bspinfo compare
	cd ../../doc
	dohtml Custom.html History.html Overview.html README.html RMB.html \
		bspdiff.html bspinfo.html compare.html index.html main.css manual.html
	prepgamesdirs
}