blob: ab553805ee8ec34644f0f35a94f4ae5a09ee24e2 (
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
|
# 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-hlguard/halflife-hlguard-1.50.02.ebuild,v 1.1 2003/09/10 05:51:11 vapier Exp $
inherit games eutils
DESCRIPTION="server-side anti-cheat solution for Half-Life and it's many MODs"
HOMEPAGE="http://www.unitedadmins.com/hlguard.php"
SRC_URI="http://www.unitedadmins.com/files/hlg-${PV//./_}-en.zip"
LICENSE="as-is"
SLOT="0"
KEYWORDS="-* x86"
RDEPEND="app-games/halflife-metamod
app-games/halflife-modsetup"
S=${WORKDIR}/addons/hlguard
src_unpack() {
unpack ${A}
edos2unix `find -name '*.txt' -o -name '*.cfg'`
}
src_install() {
local dir=${GAMES_PREFIX_OPT}/halflife/addons/hlguard
dodir ${dir}
mv * ${D}/${dir}/
dodoc ${WORKDIR}/hlg_readme.txt
exeinto ${dir}
doexe ${FILESDIR}/modsetup
dosed "s:GENTOO_CFGDIR:${GAMES_SYSCONFDIR}/halflife:" ${dir}/modsetup
prepgamesdirs
}
|