/[gentoo-x86]/games-server/bf1942-lnxded/bf1942-lnxded-1.5.ebuild
Gentoo

Contents of /games-server/bf1942-lnxded/bf1942-lnxded-1.5.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Tue Aug 30 19:34:46 2005 UTC (14 years, 1 month ago) by wolf31o2
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +1 -1 lines
FILE REMOVED
Marking 1.61 stable on x86 and removing old versions.
(Portage version: 1.589-cvs)

1 # Copyright 1999-2004 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/games-server/bf1942-lnxded/bf1942-lnxded-1.5.ebuild,v 1.5 2004/07/01 11:22:47 eradicator Exp $
4
5 inherit games
6
7 DESCRIPTION="dedicated server for Battlefield 1942"
8 HOMEPAGE="http://www.eagames.com/official/battlefield/1942/us/editorial/serveradminfaq.jsp"
9 SRC_URI="bf1942_lnxded-${PV}.tar.bz2"
10
11 LICENSE="as-is"
12 SLOT="0"
13 KEYWORDS="x86"
14 IUSE=""
15 RESTRICT="fetch"
16
17 RDEPEND="virtual/libc
18 sys-devel/gcc"
19
20 S="${WORKDIR}/bf1942"
21
22 pkg_nofetch() {
23 einfo "Please download ${A} from"
24 einfo "http://www.3dgamers.com/dl/games/battlefield1942/bf1942_lnxded-${PV}.tar.bz2.html"
25 einfo "and put it in ${DISTDIR}"
26 }
27
28 src_install() {
29 local dir=${GAMES_PREFIX_OPT}/bf1942
30 dodir ${dir}
31
32 mv * ${D}/${dir}/
33 dosym bf1942_lnxded.dynamic ${dir}/bf1942_lnxded
34 dogamesbin ${FILESDIR}/bf1942-lnxded
35 dosed "s:GENTOO_DIR:${dir}:" ${GAMES_BINDIR}/bf1942-lnxded
36
37 prepgamesdirs
38 }

  ViewVC Help
Powered by ViewVC 1.1.20