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

inherit games

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/unzip"
RDEPEND=""

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

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

src_compile() {
	emake || die "emake failed"
}

src_install() {
	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
}