summaryrefslogtreecommitdiff
blob: 6252885cdbe721b27434bbf83577dc8198946352 (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
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-server/halflife-clanmod/halflife-clanmod-1.81.24e.ebuild,v 1.6 2004/11/03 00:31:47 vapier Exp $

inherit games eutils

DESCRIPTION="tool for Half-Life mods which helps ease admining a server"
HOMEPAGE="http://www.unitedadmins.com/clanmod.php"
SRC_URI="mirror://sourceforge/clanmod/cm-${PV}-all-mods.zip"

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

RDEPEND="games-server/halflife-metamod"
DEPEND="${RDEPEND}
	app-arch/unzip"

S="${WORKDIR}/cm-${PV}/addons/clanmod"

src_unpack() {
	unpack ${A}
	edos2unix `find -name '*.cfg' -o -name '*.sql' -o -name '*.txt'`
}

src_install() {
	local dir=${GAMES_PREFIX_OPT}/halflife/addons/clanmod
	dodir ${dir}
	cp -rf * ${D}/${dir}
	prepgamesdirs
}