summaryrefslogtreecommitdiff
blob: 02f5293db5869f7f50b5f6cc2c6d610cc46c3578 (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
# Copyright 1999-2003 Gentoo Technologies, Inc.
# 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.1 2003/09/10 05:51:11 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"

RDEPEND="app-games/halflife-metamod"

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
}