Gentoo Archives: gentoo-commits

From: "Tristan Heaven (nyhm)" <nyhm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in games-action/atanks: ChangeLog atanks-2.9.ebuild
Date: Thu, 27 Mar 2008 17:08:14
Message-Id: E1JevaG-0003kb-39@stork.gentoo.org
1 nyhm 08/03/27 17:08:12
2
3 Modified: ChangeLog
4 Added: atanks-2.9.ebuild
5 Log:
6 Version bump
7 (Portage version: 2.1.4.4)
8
9 Revision Changes Path
10 1.28 games-action/atanks/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-action/atanks/ChangeLog?rev=1.28&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-action/atanks/ChangeLog?rev=1.28&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-action/atanks/ChangeLog?r1=1.27&r2=1.28
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/games-action/atanks/ChangeLog,v
19 retrieving revision 1.27
20 retrieving revision 1.28
21 diff -u -r1.27 -r1.28
22 --- ChangeLog 17 Feb 2008 19:36:21 -0000 1.27
23 +++ ChangeLog 27 Mar 2008 17:08:11 -0000 1.28
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.27 2008/02/17 19:36:21 nyhm Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/games-action/atanks/ChangeLog,v 1.28 2008/03/27 17:08:11 nyhm Exp $
29 +
30 +*atanks-2.9 (27 Mar 2008)
31 +
32 + 27 Mar 2008; Tristan Heaven <nyhm@g.o> +atanks-2.9.ebuild:
33 + Version bump
34
35 *atanks-2.8 (17 Feb 2008)
36
37
38
39
40 1.1 games-action/atanks/atanks-2.9.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-action/atanks/atanks-2.9.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-action/atanks/atanks-2.9.ebuild?rev=1.1&content-type=text/plain
44
45 Index: atanks-2.9.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-2.9.ebuild,v 1.1 2008/03/27 17:08:11 nyhm 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 }
89
90
91
92 --
93 gentoo-commits@l.g.o mailing list