blob: 4b10165ad7c543f87e619cf50721a0f9a8962cd5 (
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
|
# 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-modsetup/halflife-modsetup-0.1.1.ebuild,v 1.1 2003/09/10 05:51:11 vapier Exp $
inherit games
DESCRIPTION="script to assist in setting up your server"
HOMEPAGE="http://wh0rd.org/"
SRC_URI="mirror://gentoo/${P}.tbz2"
LICENSE="public-domain"
SLOT="0"
KEYWORDS="x86"
RDEPEND="dev-util/dialog"
src_unpack() {
unpack ${A}
sed -i \
-e "s:GENTOO_HLDIR:${GAMES_PREFIX_OPT}/halflife:" \
-e "s:GENTOO_CFGDIR:${GAMES_SYSCONFDIR}/halflife:" \
${S}/halflife-modsetup
}
src_install() {
dogamesbin halflife-modsetup
insinto ${GAMES_SYSCONFDIR}/halflife
doins modsetup.conf
prepgamesdirs
}
|