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-board/mah-jong: ChangeLog mah-jong-1.8.ebuild
Date: Tue, 30 Oct 2007 21:31:56
Message-Id: E1Imygc-0000Uu-2j@stork.gentoo.org
1 tupone 07/10/30 21:31:46
2
3 Modified: ChangeLog
4 Added: mah-jong-1.8.ebuild
5 Log:
6 Version bump to 1.8
7 (Portage version: 2.1.3.9)
8
9 Revision Changes Path
10 1.10 games-board/mah-jong/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-board/mah-jong/ChangeLog?rev=1.10&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-board/mah-jong/ChangeLog?rev=1.10&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-board/mah-jong/ChangeLog?r1=1.9&r2=1.10
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/games-board/mah-jong/ChangeLog,v
19 retrieving revision 1.9
20 retrieving revision 1.10
21 diff -u -r1.9 -r1.10
22 --- ChangeLog 28 Dec 2006 00:59:28 -0000 1.9
23 +++ ChangeLog 30 Oct 2007 21:31:45 -0000 1.10
24 @@ -1,6 +1,11 @@
25 # ChangeLog for games-board/mah-jong
26 -# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/games-board/mah-jong/ChangeLog,v 1.9 2006/12/28 00:59:28 nyhm Exp $
28 +# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/games-board/mah-jong/ChangeLog,v 1.10 2007/10/30 21:31:45 tupone Exp $
30 +
31 +*mah-jong-1.8 (30 Oct 2007)
32 +
33 + 30 Oct 2007; Tupone Alfredo <tupone@g.o> +mah-jong-1.8.ebuild:
34 + Version bump
35
36 28 Dec 2006; Tristan Heaven <nyhm@g.o> mah-jong-1.7.ebuild:
37 Install desktop entry, bug #159205
38
39
40
41 1.1 games-board/mah-jong/mah-jong-1.8.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-board/mah-jong/mah-jong-1.8.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-board/mah-jong/mah-jong-1.8.ebuild?rev=1.1&content-type=text/plain
45
46 Index: mah-jong-1.8.ebuild
47 ===================================================================
48 # Copyright 1999-2007 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/games-board/mah-jong/mah-jong-1.8.ebuild,v 1.1 2007/10/30 21:31:45 tupone Exp $
51
52 inherit eutils toolchain-funcs games
53
54 MY_P="mj-${PV}-src"
55 DESCRIPTION="A networked Mah Jong program, together with a computer player"
56 HOMEPAGE="http://www.stevens-bradfield.com/MahJong/"
57 SRC_URI="http://www.stevens-bradfield.com/MahJong/Source/${MY_P}.tar.gz"
58
59 LICENSE="GPL-2"
60 SLOT="0"
61 KEYWORDS="~amd64 ~ppc ~x86"
62 IUSE=""
63
64 RDEPEND="=x11-libs/gtk+-1.2*"
65 DEPEND="${RDEPEND}
66 dev-lang/perl"
67
68 S=${WORKDIR}/${MY_P}
69
70 src_unpack() {
71 unpack ${A}
72 cd "${S}"
73
74 sed -i \
75 -e '/^.TH/ s/1/6/' xmj.man \
76 || die "sed failed"
77 sed -i \
78 -e "/^DESTDIR =/ s:=.*:= ${D}:" \
79 -e "/^BINDIR =/ s:=.*:= ${GAMES_BINDIR}:" \
80 -e '/^MANDIR =/ s:man/man1:/usr/share/man/man6:' \
81 -e '/^MANSUFFIX =/ s:1:6:' \
82 -e "/^CC =/ s:gcc:$(tc-getCC):" \
83 -e "/^CFLAGS =/ s:=:= ${CFLAGS}:" \
84 -e "/^LDLIBS =/ s:$:${LDFLAGS}:" \
85 -e '/^INSTPGMFLAGS =/ s:-s::' \
86 -e '/^CDEBUGFLAGS =/d' \
87 -e "/^TILESETPATH=/ s:NULL:\"${GAMES_DATADIR}/${PN}/\":" Makefile \
88 || die "sed failed"
89 }
90
91 src_install() {
92 emake install install.man || die "emake install failed"
93 insinto "${GAMES_DATADIR}/${PN}"
94 doins -r fallbacktiles/ tiles-numbered/ tiles-small/ || die "doins failed"
95 newicon tiles-v1/tongE.xpm ${PN}.xpm
96 make_desktop_entry xmj Mah-Jong ${PN}.xpm
97 dodoc CHANGES ChangeLog *.txt
98 prepgamesdirs
99 }
100
101
102
103 --
104 gentoo-commits@g.o mailing list