From: | "Michael Sterrett (mr_bones_)" <mr_bones_@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in games-roguelike/tomenet: ChangeLog tomenet-091102.ebuild |
Date: | Tue, 03 Nov 2009 05:20:18 |
Message-Id: | E1N5BoV-0006qr-RX@stork.gentoo.org |
1 | mr_bones_ 09/11/03 05:20:15 |
2 | |
3 | Modified: ChangeLog |
4 | Added: tomenet-091102.ebuild |
5 | Log: |
6 | version bump |
7 | (Portage version: 2.1.6.13/cvs/Linux i686) |
8 | |
9 | Revision Changes Path |
10 | 1.5 games-roguelike/tomenet/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-roguelike/tomenet/ChangeLog?rev=1.5&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-roguelike/tomenet/ChangeLog?rev=1.5&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-roguelike/tomenet/ChangeLog?r1=1.4&r2=1.5 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/games-roguelike/tomenet/ChangeLog,v |
19 | retrieving revision 1.4 |
20 | retrieving revision 1.5 |
21 | diff -u -r1.4 -r1.5 |
22 | --- ChangeLog 29 Jan 2009 02:18:07 -0000 1.4 |
23 | +++ ChangeLog 3 Nov 2009 05:20:15 -0000 1.5 |
24 | @@ -1,6 +1,12 @@ |
25 | # ChangeLog for games-roguelike/tomenet |
26 | # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/games-roguelike/tomenet/ChangeLog,v 1.4 2009/01/29 02:18:07 mr_bones_ Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/games-roguelike/tomenet/ChangeLog,v 1.5 2009/11/03 05:20:15 mr_bones_ Exp $ |
29 | + |
30 | +*tomenet-091102 (03 Nov 2009) |
31 | + |
32 | + 03 Nov 2009; Michael Sterrett <mr_bones_@g.o> |
33 | + +tomenet-091102.ebuild: |
34 | + version bump |
35 | |
36 | 29 Jan 2009; Michael Sterrett <mr_bones_@g.o> |
37 | tomenet-070104.ebuild: |
38 | |
39 | |
40 | |
41 | 1.1 games-roguelike/tomenet/tomenet-091102.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-roguelike/tomenet/tomenet-091102.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-roguelike/tomenet/tomenet-091102.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: tomenet-091102.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2009 Gentoo Foundation |
49 | # Distributed under the terms of the GNU General Public License v2 |
50 | # $Header: /var/cvsroot/gentoo-x86/games-roguelike/tomenet/tomenet-091102.ebuild,v 1.1 2009/11/03 05:20:15 mr_bones_ Exp $ |
51 | |
52 | EAPI=2 |
53 | inherit games |
54 | |
55 | DESCRIPTION="A MMORPG based on the works of J.R.R. Tolkien" |
56 | HOMEPAGE="http://www.tomenet.net/" |
57 | SRC_URI="http://angband.oook.cz/${PN}-nightly/${PN}-cvs-snapshot-${PV}.tar.bz2" |
58 | |
59 | LICENSE="Moria" |
60 | SLOT="0" |
61 | KEYWORDS="~x86" |
62 | IUSE="X Xaw3d" |
63 | |
64 | DEPEND="sys-libs/ncurses |
65 | X? ( x11-libs/libX11 ) |
66 | Xaw3d? ( x11-libs/libXaw )" |
67 | |
68 | S=${WORKDIR}/${PN}/src |
69 | |
70 | src_prepare() { |
71 | sed -i \ |
72 | -e '/^CC =/d' \ |
73 | makefile \ |
74 | || die "sed failed" |
75 | } |
76 | |
77 | src_compile() { |
78 | local GENTOO_DEFINES="-DUSE_GCU " |
79 | local GENTOO_LIBS="-lncurses -lcrypt -lm" |
80 | |
81 | if use Xaw3d; then |
82 | GENTOO_DEFINES="${GENTOO_DEFINES} -DUSE_XAW" |
83 | elif use X; then |
84 | GENTOO_DEFINES="${GENTOO_DEFINES} -DUSE_X11" |
85 | fi |
86 | if use X; then |
87 | GENTOO_LIBS="${GENTOO_LIBS} -lX11" |
88 | fi |
89 | if use Xaw3d; then |
90 | GENTOO_LIBS="${GENTOO_LIBS} -lXaw" |
91 | fi |
92 | emake CFLAGS="${CFLAGS} ${GENTOO_DEFINES} -Iserver -Iserver/lua" \ |
93 | LIBS="${GENTOO_LIBS}" tomenet \ |
94 | || die "emake failed" |
95 | } |
96 | |
97 | src_install() { |
98 | dogamesbin ${PN} || die "dogamesbin failed" |
99 | dodoc ../{ChangeLog,TomeNET-Guide.txt,changes.txt} |
100 | prepgamesdirs |
101 | } |
102 | |
103 | pkg_postinst() { |
104 | games_pkg_postinst |
105 | elog "To start playing right away:" |
106 | elog "$ tomenet europe.tomenet.net" |
107 | } |