Gentoo Archives: gentoo-commits

From: "Alfredo Tupone (tupone)" <tupone@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in games-roguelike/angband: ChangeLog angband-3.0.9b.ebuild
Date: Fri, 29 Aug 2008 21:09:14
Message-Id: E1KZBDS-0005px-L6@stork.gentoo.org
1 tupone 08/08/29 21:09:10
2
3 Modified: ChangeLog
4 Added: angband-3.0.9b.ebuild
5 Log:
6 Version bump to 3.0.9b. Bug #235597
7 (Portage version: 2.1.4.4)
8
9 Revision Changes Path
10 1.25 games-roguelike/angband/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-roguelike/angband/ChangeLog?rev=1.25&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-roguelike/angband/ChangeLog?rev=1.25&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-roguelike/angband/ChangeLog?r1=1.24&r2=1.25
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/games-roguelike/angband/ChangeLog,v
19 retrieving revision 1.24
20 retrieving revision 1.25
21 diff -u -r1.24 -r1.25
22 --- ChangeLog 14 Jan 2008 20:31:55 -0000 1.24
23 +++ ChangeLog 29 Aug 2008 21:09:10 -0000 1.25
24 @@ -1,6 +1,12 @@
25 # ChangeLog for games-roguelike/angband
26 # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/games-roguelike/angband/ChangeLog,v 1.24 2008/01/14 20:31:55 grobian Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/games-roguelike/angband/ChangeLog,v 1.25 2008/08/29 21:09:10 tupone Exp $
29 +
30 +*angband-3.0.9b (29 Aug 2008)
31 +
32 + 29 Aug 2008; <tupone@g.o> +files/angband-3.0.9b-gentoo.patch,
33 + +angband-3.0.9b.ebuild:
34 + Version bump to 3.0.9b. Bug #235597 by Sergey 'L29Ah' Alirzaev
35
36 14 Jan 2008; Fabian Groffen <grobian@g.o> angband-3.0.6.ebuild:
37 Dropped ppc-macos keyword, see you in prefix
38
39
40
41 1.1 games-roguelike/angband/angband-3.0.9b.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-roguelike/angband/angband-3.0.9b.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-roguelike/angband/angband-3.0.9b.ebuild?rev=1.1&content-type=text/plain
45
46 Index: angband-3.0.9b.ebuild
47 ===================================================================
48 # Copyright 1999-2008 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/games-roguelike/angband/angband-3.0.9b.ebuild,v 1.1 2008/08/29 21:09:10 tupone Exp $
51
52 inherit eutils flag-o-matic games
53
54 DESCRIPTION="A roguelike dungeon exploration game based on the books of J.R.R.Tolkien"
55 HOMEPAGE="http://rephial.org/"
56 SRC_URI="http://rephial.org/downloads/3.0/${P}-src.tar.gz"
57
58 LICENSE="Moria"
59 SLOT="0"
60 KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~x86-fbsd"
61 IUSE="X gtk ncurses sdl"
62
63 DEPEND="gtk? ( >=gnome-base/libglade-2.6 )
64 X? ( x11-libs/libSM
65 x11-libs/libX11 )
66 sdl? ( media-libs/sdl-ttf
67 media-libs/sdl-image )"
68
69 src_unpack() {
70 unpack ${A}
71 cd "${S}"
72 epatch "${FILESDIR}"/${P}-gentoo.patch
73 }
74
75 src_compile() {
76 local myConf;
77 if ! use ncurses && ( use gtk || use X || use sdl); then
78 myConf=--disable-curses
79 fi
80 egamesconf \
81 --disable-dependency-tracking \
82 --bindir="${GAMES_BINDIR}" \
83 --with-setgid="${GAMES_GROUP}" \
84 --with-libpath="${GAMES_DATADIR}"/${PN} \
85 $myConf \
86 $(use_enable gtk) \
87 $(use_enable X x11) \
88 $(use_enable sdl) \
89 || die
90 append-ldflags -Wl,-z,now
91 emake || die "emake failed"
92 }
93
94 src_install() {
95 emake DESTDIR="${D}" install || die "emake install failed"
96 insinto "${GAMES_DATADIR}"/${PN}/xtra
97 doins lib/xtra/angband.glade || die "doins angband.glade failed"
98 dodoc changes.txt faq.txt readme.txt thanks.txt
99 prepgamesdirs
100 }
101
102 pkg_postinst() {
103 games_pkg_postinst
104 chmod -R g+w "${ROOT}${GAMES_DATADIR}"/angband/{apex,data,save,user}
105 }