blob: bbcaf6f39c06caf542ef4d831413af611f02f068 (
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.2 2003/09/10 06:02:19 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="games-server/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
}
|