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-roguelike/moria: ChangeLog moria-5.5.2.ebuild
Date: Wed, 05 May 2010 20:28:25
Message-Id: 20100505202822.17F112C3FB@corvid.gentoo.org
1 mr_bones_ 10/05/05 20:28:21
2
3 Modified: ChangeLog moria-5.5.2.ebuild
4 Log:
5 EAPI=2; honor LDFLAGS; read hours file correctly (bug #316389)
6 (Portage version: 2.1.8.3/cvs/Linux i686)
7
8 Revision Changes Path
9 1.9 games-roguelike/moria/ChangeLog
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-roguelike/moria/ChangeLog?rev=1.9&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-roguelike/moria/ChangeLog?rev=1.9&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-roguelike/moria/ChangeLog?r1=1.8&r2=1.9
14
15 Index: ChangeLog
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/games-roguelike/moria/ChangeLog,v
18 retrieving revision 1.8
19 retrieving revision 1.9
20 diff -u -r1.8 -r1.9
21 --- ChangeLog 18 Jul 2006 07:59:25 -0000 1.8
22 +++ ChangeLog 5 May 2010 20:28:21 -0000 1.9
23 @@ -1,6 +1,10 @@
24 # ChangeLog for games-roguelike/moria
25 -# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
26 -# $Header: /var/cvsroot/gentoo-x86/games-roguelike/moria/ChangeLog,v 1.8 2006/07/18 07:59:25 flameeyes Exp $
27 +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 +# $Header: /var/cvsroot/gentoo-x86/games-roguelike/moria/ChangeLog,v 1.9 2010/05/05 20:28:21 mr_bones_ Exp $
29 +
30 + 05 May 2010; Michael Sterrett <mr_bones_@g.o>
31 + +files/5.5.2-hours.patch, moria-5.5.2.ebuild:
32 + EAPI=2; honor LDFLAGS; read hours file correctly (bug #316389)
33
34 18 Jul 2006; Diego Pettenò <flameeyes@g.o>
35 +files/5.5.2-fbsd.patch, files/5.5.2-glibc.patch, moria-5.5.2.ebuild:
36
37
38
39 1.12 games-roguelike/moria/moria-5.5.2.ebuild
40
41 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-roguelike/moria/moria-5.5.2.ebuild?rev=1.12&view=markup
42 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-roguelike/moria/moria-5.5.2.ebuild?rev=1.12&content-type=text/plain
43 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-roguelike/moria/moria-5.5.2.ebuild?r1=1.11&r2=1.12
44
45 Index: moria-5.5.2.ebuild
46 ===================================================================
47 RCS file: /var/cvsroot/gentoo-x86/games-roguelike/moria/moria-5.5.2.ebuild,v
48 retrieving revision 1.11
49 retrieving revision 1.12
50 diff -u -r1.11 -r1.12
51 --- moria-5.5.2.ebuild 18 Jul 2006 07:59:25 -0000 1.11
52 +++ moria-5.5.2.ebuild 5 May 2010 20:28:21 -0000 1.12
53 @@ -1,7 +1,8 @@
54 -# Copyright 1999-2006 Gentoo Foundation
55 +# Copyright 1999-2010 Gentoo Foundation
56 # Distributed under the terms of the GNU General Public License v2
57 -# $Header: /var/cvsroot/gentoo-x86/games-roguelike/moria/moria-5.5.2.ebuild,v 1.11 2006/07/18 07:59:25 flameeyes Exp $
58 +# $Header: /var/cvsroot/gentoo-x86/games-roguelike/moria/moria-5.5.2.ebuild,v 1.12 2010/05/05 20:28:21 mr_bones_ Exp $
59
60 +EAPI=2
61 inherit eutils toolchain-funcs games
62
63 DESCRIPTION="Rogue-like D&D curses game similar to nethack (BUT BETTER)"
64 @@ -21,16 +22,14 @@
65
66 S=${WORKDIR}/umoria
67
68 -src_unpack() {
69 +src_prepare() {
70 local f
71
72 - unpack ${A}
73 - cd "${S}"
74 -
75 epatch \
76 "${FILESDIR}"/${PV}-gentoo-paths.patch \
77 "${FILESDIR}"/${PV}-glibc.patch \
78 - "${FILESDIR}"/${PV}-fbsd.patch
79 + "${FILESDIR}"/${PV}-fbsd.patch \
80 + "${FILESDIR}"/${PV}-hours.patch
81
82 for f in source/* unix/* ; do
83 ln -s ${f} $(basename ${f})
84 @@ -42,6 +41,8 @@
85 -e "s:GENTOO_STATEDIR:${GAMES_STATEDIR}:" \
86 config.h \
87 || die "sed failed"
88 + echo "#include <stdlib.h>" >> config.h
89 + echo "#include <stdio.h>" >> config.h
90 sed -i \
91 -e "/^STATEDIR =/s:=.*:=\$(DESTDIR)${GAMES_STATEDIR}:" \
92 -e "/^BINDIR = /s:=.*:=\$(DESTDIR)${GAMES_BINDIR}:" \
93 @@ -50,6 +51,7 @@
94 -e "/^OWNER = /s:=.*:=${GAMES_USER}:" \
95 -e "/^GROUP = /s:=.*:=${GAMES_GROUP}:" \
96 -e "/^CC = /s:=.*:=$(tc-getCC):" \
97 + -e '/^LFLAGS = /s:=.*:= $(LDFLAGS):' \
98 Makefile \
99 || die "sed failed"
100 mv doc/moria.6 "${S}" || die "mv failed"
101 @@ -57,7 +59,7 @@
102
103 src_install() {
104 dodir "${GAMES_BINDIR}" "${GAMES_DATADIR}/${PN}" "${GAMES_STATEDIR}"
105 - make DESTDIR="${D}" install || die "make install failed"
106 + emake DESTDIR="${D}" install || die "emake install failed"
107
108 doman moria.6
109 dodoc README doc/* "${WORKDIR}"/${PN}-extras/*