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-action/atanks: ChangeLog atanks-3.2.ebuild
Date: Sun, 28 Sep 2008 07:30:14
Message-Id: E1KjqjL-0002xy-RO@stork.gentoo.org
1 mr_bones_ 08/09/28 07:30:11
2
3 Modified: ChangeLog
4 Added: atanks-3.2.ebuild
5 Log:
6 version bump
7 (Portage version: 2.1.4.4)
8
9 Revision Changes Path
10 1.33 games-action/atanks/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-action/atanks/ChangeLog?rev=1.33&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-action/atanks/ChangeLog?rev=1.33&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-action/atanks/ChangeLog?r1=1.32&r2=1.33
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/games-action/atanks/ChangeLog,v
19 retrieving revision 1.32
20 retrieving revision 1.33
21 diff -u -r1.32 -r1.33
22 --- ChangeLog 11 Aug 2008 08:14:07 -0000 1.32
23 +++ ChangeLog 28 Sep 2008 07:30:11 -0000 1.33
24 @@ -1,6 +1,11 @@
25 # ChangeLog for games-action/atanks
26 # Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/games-action/atanks/ChangeLog,v 1.32 2008/08/11 08:14:07 mr_bones_ Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/games-action/atanks/ChangeLog,v 1.33 2008/09/28 07:30:11 mr_bones_ Exp $
29 +
30 +*atanks-3.2 (28 Sep 2008)
31 +
32 + 28 Sep 2008; Michael Sterrett <mr_bones_@g.o> +atanks-3.2.ebuild:
33 + version bump
34
35 *atanks-3.1 (11 Aug 2008)
36
37
38
39
40 1.1 games-action/atanks/atanks-3.2.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-action/atanks/atanks-3.2.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-action/atanks/atanks-3.2.ebuild?rev=1.1&content-type=text/plain
44
45 Index: atanks-3.2.ebuild
46 ===================================================================
47 # Copyright 1999-2008 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/games-action/atanks/atanks-3.2.ebuild,v 1.1 2008/09/28 07:30:11 mr_bones_ Exp $
50
51 inherit eutils toolchain-funcs games
52
53 DESCRIPTION="Worms and Scorched Earth-like game"
54 HOMEPAGE="http://atanks.sourceforge.net/"
55 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
56
57 LICENSE="GPL-2"
58 SLOT="0"
59 KEYWORDS="~amd64 ~ppc ~x86"
60 IUSE=""
61
62 DEPEND="media-libs/allegro"
63
64 S=${WORKDIR}/${PN}
65
66 src_unpack() {
67 unpack ${A}
68 cd "${S}"
69 sed -i \
70 -e "/^CC/s:g++:$(tc-getCXX):" \
71 -e '/^CFLAGS/s:-g::' \
72 -e 's:CFLAGS:CXXFLAGS:' \
73 -e '/^LDFLAGS/s:=:+=:' \
74 -e "s:DATA_DIR=.*:DATA_DIR=\\\\\"${GAMES_DATADIR}/${PN}\\\\\":" \
75 src/Makefile \
76 || die "sed failed"
77 emake clean
78 }
79
80 src_install() {
81 dogamesbin ${PN} || die "dogamesbin failed"
82 insinto "${GAMES_DATADIR}"/${PN}
83 doins *.dat *.txt || die "doins failed"
84 doicon ${PN}.png
85 make_desktop_entry atanks "Atomic Tanks"
86 dodoc Changelog README TODO
87 prepgamesdirs
88 }