ChangeLog

# ChangeLog for games-roguelike/tomenet
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/games-roguelike/tomenet/ChangeLog,v 1.3 2007/11/05 19:03:36 tupone Exp $

05 Nov 2007; Tupone Alfredo tomenet-070104.ebuild:
homepage fix

12 Mar 2007; Marius Mauch tomenet-070104.ebuild:
Replacing einfo with elog

*tomenet-070104 (05 Jan 2007)

05 Jan 2007; +metadata.xml, +tomenet-070104.ebuild:
New ebuild. Bug #90283 by Zedr

Manifest

DIST tomenet-cvs-snapshot-070104.tar.bz2 1814548 RMD160 3dd0a11becfd6ba21f7b670b0d35854d8a62e36b SHA1 408e363a3f74b2021f9b6490b7a74e206a4baff5 SHA256 eab208cb5b06049c00e0710b2bf11340ed49f62cd7e78d2edeb82fb357b32d88
EBUILD tomenet-070104.ebuild 1330 RMD160 488dda07992920e959e97b7edd7797440828c696 SHA1 389ef756c7bfbe2fc9d52e523fa343f89de4add8 SHA256 9a7e48d39cb398e1ad7b55d6aad271ccfff8a86b3785052bf6bc2488e92857d3
MISC ChangeLog 547 RMD160 c2311689e50ab61053e6ace92c79610c1e79d737 SHA1 fc9837b098260bf967d192aa3977b922557c8f16 SHA256 b20cd38e059d9a92e274eca3d95c45f8820dae077874dc3bc0bd8b8f99c4aab8
MISC metadata.xml 615 RMD160 6e41fbf20f8d17d62bce377302b80b46a17de1b5 SHA1 1a7aa3899f4851c5eec4129df8d444f4b3bcb881 SHA256 541b50b3c0f2924cd150c5560fe1c6a9fd17f8feddce78b36c3c506456eb2fd3

metadata.xml




games

TomeNET is a multiplayer fantasy dungeon exploration game based on the works of
J.R.R. Tolkien. It is a game that emphasizes intricate, challenging, and varied
gameplay over graphics. Hundreds of different monsters in randomly-generated,
unpredictable dungeons will strive to slay you by various means, and you counter
- if you survive - by developing the skills of your choice and wielding mighty
artifacts.

tomenet-070104.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-roguelike/tomenet/tomenet-070104.ebuild,v 1.4 2008/01/14 15:46:33 nyhm Exp $

inherit games

DESCRIPTION="A MMORPG based on the works of J.R.R. Tolkien"
HOMEPAGE="http://www.tomenet.net/"
SRC_URI="http://angband.oook.cz/${PN}-nightly/${PN}-cvs-snapshot-${PV}.tar.bz2"

LICENSE="Moria"
SLOT="0"
KEYWORDS="~x86"
IUSE="X Xaw3d"

DEPEND="X? ( x11-libs/libX11 )
Xaw3d? ( x11-libs/libXaw )"

S="${WORKDIR}/${PN}/src"

src_compile() {
local GENTOO_DEFINES="-DUSE_GCU "
local GENTOO_LIBS="-lncurses -lcrypt "
if use Xaw3d; then
GENTOO_DEFINES="${GENTOO_DEFINES} -DUSE_XAW"
elif use X; then
GENTOO_DEFINES="${GENTOO_DEFINES} -DUSE_X11"
fi
if use X; then
GENTOO_LIBS="${GENTOO_LIBS} -lX11 "
fi
if use Xaw3d; then
GENTOO_LIBS="${GENTOO_LIBS} -lXaw "
fi
emake CFLAGS="${CFLAGS} ${GENTOO_DEFINES} -Iserver -Iserver/lua" \
LIBS="${GENTOO_LIBS}" tomenet \
|| die "emake failed"
}

src_install() {
dogamesbin ${PN} || die "installing the binary failed"
cd ..
dodoc ChangeLog TomeNET-Guide.txt changes.txt \
|| die "installing docs failed"
prepgamesdirs
}

pkg_postinst() {
games_pkg_postinst
elog "To start playing right away:"
elog "$ tomenet europe.tomenet.net"
}