Gentoo Archives: gentoo-commits

From: "Michael Sterrett (mr_bones_)" <mr_bones_@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in games-fps/rott: ChangeLog rott-1.1.1.ebuild
Date: Fri, 28 Aug 2009 20:15:48
Message-Id: E1MfpsV-0000wj-Dx@stork.gentoo.org
1 mr_bones_ 09/08/25 06:51:35
2
3 Modified: ChangeLog
4 Added: rott-1.1.1.ebuild
5 Log:
6 version bump
7 (Portage version: 2.1.6.13/cvs/Linux i686)
8
9 Revision Changes Path
10 1.9 games-fps/rott/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-fps/rott/ChangeLog?rev=1.9&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-fps/rott/ChangeLog?rev=1.9&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-fps/rott/ChangeLog?r1=1.8&r2=1.9
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/games-fps/rott/ChangeLog,v
19 retrieving revision 1.8
20 retrieving revision 1.9
21 diff -u -r1.8 -r1.9
22 --- ChangeLog 22 Jul 2007 13:10:50 -0000 1.8
23 +++ ChangeLog 25 Aug 2009 06:51:35 -0000 1.9
24 @@ -1,6 +1,12 @@
25 # ChangeLog for games-fps/rott
26 -# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/games-fps/rott/ChangeLog,v 1.8 2007/07/22 13:10:50 nyhm Exp $
28 +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/games-fps/rott/ChangeLog,v 1.9 2009/08/25 06:51:35 mr_bones_ Exp $
30 +
31 +*rott-1.1.1 (25 Aug 2009)
32 +
33 + 25 Aug 2009; Michael Sterrett <mr_bones_@g.o> +rott-1.1.1.ebuild,
34 + +files/rott-1.1.1-full-version.patch:
35 + version bump
36
37 22 Jul 2007; Tristan Heaven <nyhm@g.o>
38 +files/rott-1.0-full-version.patch, rott-1.0.ebuild:
39
40
41
42 1.1 games-fps/rott/rott-1.1.1.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-fps/rott/rott-1.1.1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-fps/rott/rott-1.1.1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: rott-1.1.1.ebuild
48 ===================================================================
49 # Copyright 1999-2009 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/games-fps/rott/rott-1.1.1.ebuild,v 1.1 2009/08/25 06:51:35 mr_bones_ Exp $
52
53 EAPI=2
54 inherit eutils games
55
56 DESCRIPTION="Rise of the Triad for Linux!"
57 HOMEPAGE="http://www.icculus.org/rott/"
58 SRC_URI="http://www.icculus.org/rott/releases/${P}.tar.gz
59 demo? ( http://filesingularity.timedoctor.org/swdata.zip )"
60
61 LICENSE="GPL-2"
62 SLOT="0"
63 KEYWORDS="~ppc ~x86"
64 IUSE="demo"
65
66 RDEPEND="media-libs/libsdl
67 media-libs/sdl-mixer"
68 DEPEND="${RDEPEND}
69 app-arch/unzip"
70
71 S=${WORKDIR}/${P}/rott
72
73 src_prepare() {
74 use demo || epatch "${FILESDIR}"/${P}-full-version.patch
75 cd "${S}"
76 sed -i \
77 -e '/^CC =/d' \
78 Makefile \
79 || die "sed failed"
80 emake clean || die
81 }
82
83 src_compile() {
84 emake -j1 \
85 EXTRACFLAGS="${CFLAGS} -DDATADIR=\\\"${GAMES_DATADIR}/${PN}/\\\"" \
86 || die "emake failed"
87 }
88
89 src_install() {
90 dogamesbin rott || die "dogamesbin failed"
91 dodoc ../doc/*.txt ../README
92 doman ../doc/rott.6
93 if use demo ; then
94 cd "${WORKDIR}"
95 insinto "${GAMES_DATADIR}"/${PN}
96 doins *.dmo huntbgin.* remote1.rts || die "doins failed"
97 fi
98 prepgamesdirs
99 }
100
101 pkg_postinst() {
102 games_pkg_postinst
103 if ! use demo ; then
104 elog "To play the full version, just copy the"
105 elog "data files to ${GAMES_DATADIR}/${PN}/"
106 fi
107 }