From: | "Jeroen Roovers (jer)" <jer@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in x11-misc/xmountains: ChangeLog xmountains-2.9.ebuild |
Date: | Sun, 04 Dec 2011 07:38:57 |
Message-Id: | 20111204073846.BAC602004B@flycatcher.gentoo.org |
1 | jer 11/12/04 07:38:46 |
2 | |
3 | Modified: ChangeLog |
4 | Added: xmountains-2.9.ebuild |
5 | Log: |
6 | Version bump. |
7 | |
8 | (Portage version: 2.2.0_alpha79/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.18 x11-misc/xmountains/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/xmountains/ChangeLog?rev=1.18&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/xmountains/ChangeLog?rev=1.18&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/xmountains/ChangeLog?r1=1.17&r2=1.18 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/x11-misc/xmountains/ChangeLog,v |
20 | retrieving revision 1.17 |
21 | retrieving revision 1.18 |
22 | diff -u -r1.17 -r1.18 |
23 | --- ChangeLog 15 Mar 2010 10:23:47 -0000 1.17 |
24 | +++ ChangeLog 4 Dec 2011 07:38:46 -0000 1.18 |
25 | @@ -1,6 +1,11 @@ |
26 | # ChangeLog for x11-misc/xmountains |
27 | -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/x11-misc/xmountains/ChangeLog,v 1.17 2010/03/15 10:23:47 ssuominen Exp $ |
29 | +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
30 | +# $Header: /var/cvsroot/gentoo-x86/x11-misc/xmountains/ChangeLog,v 1.18 2011/12/04 07:38:46 jer Exp $ |
31 | + |
32 | +*xmountains-2.9 (04 Dec 2011) |
33 | + |
34 | + 04 Dec 2011; Jeroen Roovers <jer@g.o> +xmountains-2.9.ebuild: |
35 | + Version bump. |
36 | |
37 | *xmountains-2.8 (15 Mar 2010) |
38 | |
39 | |
40 | |
41 | |
42 | 1.1 x11-misc/xmountains/xmountains-2.9.ebuild |
43 | |
44 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/xmountains/xmountains-2.9.ebuild?rev=1.1&view=markup |
45 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-misc/xmountains/xmountains-2.9.ebuild?rev=1.1&content-type=text/plain |
46 | |
47 | Index: xmountains-2.9.ebuild |
48 | =================================================================== |
49 | # Copyright 1999-2011 Gentoo Foundation |
50 | # Distributed under the terms of the GNU General Public License v2 |
51 | # $Header: /var/cvsroot/gentoo-x86/x11-misc/xmountains/xmountains-2.9.ebuild,v 1.1 2011/12/04 07:38:46 jer Exp $ |
52 | |
53 | EAPI=4 |
54 | inherit toolchain-funcs |
55 | |
56 | MY_P=${P/-/_} |
57 | |
58 | DESCRIPTION="Fractal terrains of snow-capped mountains near water" |
59 | HOMEPAGE="http://www.epcc.ed.ac.uk/~spb/xmountains/" |
60 | SRC_URI="http://www.epcc.ed.ac.uk/~spb/${PN}/${MY_P}.tar.gz" |
61 | |
62 | LICENSE="as-is" |
63 | SLOT="0" |
64 | KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd" |
65 | IUSE="" |
66 | |
67 | RDEPEND="x11-misc/xbitmaps |
68 | x11-libs/libX11" |
69 | DEPEND="${RDEPEND} |
70 | x11-proto/xproto" |
71 | |
72 | S=${WORKDIR} |
73 | |
74 | src_prepare() { |
75 | # add missing include for strcmp |
76 | sed -i xmountains.c -e '1a#include <string.h> /* strcmp() */' || die |
77 | # remove obsolete references to global.* |
78 | sed -i Makefile.alt README -e 's|global\..||g' || die |
79 | } |
80 | |
81 | src_compile() { |
82 | emake \ |
83 | -f Makefile.alt \ |
84 | CC="$(tc-getCC)" \ |
85 | CFLAGS="${CFLAGS}" \ |
86 | LDFLAGS="${LDFLAGS}" \ |
87 | ${PN} |
88 | } |
89 | |
90 | src_install() { |
91 | dobin ${PN} |
92 | dodoc README |
93 | newman ${PN}.man ${PN}.1 |
94 | } |