From: | "Michael Sterrett (mr_bones_)" <mr_bones_@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in games-board/mah-jong: ChangeLog mah-jong-1.10.ebuild |
Date: | Thu, 07 Jan 2010 07:51:00 |
Message-Id: | E1NSn8z-00018t-JR@stork.gentoo.org |
1 | mr_bones_ 10/01/07 07:50:57 |
2 | |
3 | Modified: ChangeLog |
4 | Added: mah-jong-1.10.ebuild |
5 | Log: |
6 | version bump |
7 | (Portage version: 2.1.6.13/cvs/Linux i686) |
8 | |
9 | Revision Changes Path |
10 | 1.15 games-board/mah-jong/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-board/mah-jong/ChangeLog?rev=1.15&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-board/mah-jong/ChangeLog?rev=1.15&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-board/mah-jong/ChangeLog?r1=1.14&r2=1.15 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/games-board/mah-jong/ChangeLog,v |
19 | retrieving revision 1.14 |
20 | retrieving revision 1.15 |
21 | diff -u -r1.14 -r1.15 |
22 | --- ChangeLog 25 Jun 2008 19:19:20 -0000 1.14 |
23 | +++ ChangeLog 7 Jan 2010 07:50:57 -0000 1.15 |
24 | @@ -1,6 +1,12 @@ |
25 | # ChangeLog for games-board/mah-jong |
26 | -# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/games-board/mah-jong/ChangeLog,v 1.14 2008/06/25 19:19:20 nixnut Exp $ |
28 | +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
29 | +# $Header: /var/cvsroot/gentoo-x86/games-board/mah-jong/ChangeLog,v 1.15 2010/01/07 07:50:57 mr_bones_ Exp $ |
30 | + |
31 | +*mah-jong-1.10 (07 Jan 2010) |
32 | + |
33 | + 07 Jan 2010; Michael Sterrett <mr_bones_@g.o> |
34 | + +mah-jong-1.10.ebuild: |
35 | + version bump |
36 | |
37 | 25 Jun 2008; nixnut <nixnut@g.o> mah-jong-1.8.ebuild: |
38 | Stable on ppc wrt bug 229171 |
39 | |
40 | |
41 | |
42 | 1.1 games-board/mah-jong/mah-jong-1.10.ebuild |
43 | |
44 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-board/mah-jong/mah-jong-1.10.ebuild?rev=1.1&view=markup |
45 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-board/mah-jong/mah-jong-1.10.ebuild?rev=1.1&content-type=text/plain |
46 | |
47 | Index: mah-jong-1.10.ebuild |
48 | =================================================================== |
49 | # Copyright 1999-2010 Gentoo Foundation |
50 | # Distributed under the terms of the GNU General Public License v2 |
51 | # $Header: /var/cvsroot/gentoo-x86/games-board/mah-jong/mah-jong-1.10.ebuild,v 1.1 2010/01/07 07:50:57 mr_bones_ Exp $ |
52 | |
53 | EAPI=2 |
54 | inherit eutils toolchain-funcs games |
55 | |
56 | MY_P="mj-${PV}-src" |
57 | DESCRIPTION="A networked Mah Jong program, together with a computer player" |
58 | HOMEPAGE="http://www.stevens-bradfield.com/MahJong/" |
59 | SRC_URI="http://mahjong.julianbradfield.org/Source/${MY_P}.tar.gz" |
60 | |
61 | LICENSE="GPL-2" |
62 | SLOT="0" |
63 | KEYWORDS="~amd64 ~ppc ~x86" |
64 | IUSE="" |
65 | |
66 | RDEPEND="x11-libs/gtk+:2" |
67 | DEPEND="${RDEPEND} |
68 | dev-lang/perl" |
69 | |
70 | S=${WORKDIR}/${MY_P} |
71 | |
72 | src_prepare() { |
73 | sed -i \ |
74 | -e '/^.TH/ s/1/6/' xmj.man \ |
75 | || die "sed failed" |
76 | sed -i \ |
77 | -e "/^DESTDIR =/ s:=.*:= ${D}:" \ |
78 | -e "/^BINDIR =/ s:=.*:= ${GAMES_BINDIR}:" \ |
79 | -e '/^MANDIR =/ s:man/man1:/usr/share/man/man6:' \ |
80 | -e '/^MANSUFFIX =/ s:1:6:' \ |
81 | -e "/^CC =/ s:gcc:$(tc-getCC):" \ |
82 | -e "/^CFLAGS =/ s:=:= ${CFLAGS}:" \ |
83 | -e "/^LDLIBS =/ s:$:${LDFLAGS}:" \ |
84 | -e '/^INSTPGMFLAGS =/ s:-s::' \ |
85 | -e '/^CDEBUGFLAGS =/d' \ |
86 | -e "/^TILESETPATH=/ s:NULL:\"${GAMES_DATADIR}/${PN}/\":" Makefile \ |
87 | || die "sed failed" |
88 | } |
89 | |
90 | src_install() { |
91 | emake install install.man || die "emake install failed" |
92 | insinto "${GAMES_DATADIR}/${PN}" |
93 | doins -r fallbacktiles/ tiles-numbered/ tiles-small/ || die "doins failed" |
94 | newicon tiles-v1/tongE.xpm ${PN}.xpm |
95 | make_desktop_entry xmj Mah-Jong ${PN} |
96 | dodoc CHANGES ChangeLog *.txt |
97 | prepgamesdirs |
98 | } |