summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2010-03-11 21:51:46 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2010-03-11 21:51:46 +0000
commit71db8ff0a3e4c6799762efea522d846f5528e689 (patch)
tree5fe23b9e948acf234a331c6960681381fafc386b /games-roguelike
parentAutomated update of use.local.desc (diff)
downloadhistorical-71db8ff0a3e4c6799762efea522d846f5528e689.tar.gz
historical-71db8ff0a3e4c6799762efea522d846f5528e689.tar.bz2
historical-71db8ff0a3e4c6799762efea522d846f5528e689.zip
version bump
Package-Manager: portage-2.1.7.17/cvs/Linux i686
Diffstat (limited to 'games-roguelike')
-rw-r--r--games-roguelike/tomenet/ChangeLog10
-rw-r--r--games-roguelike/tomenet/Manifest4
-rw-r--r--games-roguelike/tomenet/tomenet-100310.ebuild60
3 files changed, 71 insertions, 3 deletions
diff --git a/games-roguelike/tomenet/ChangeLog b/games-roguelike/tomenet/ChangeLog
index 769916846665..cb975cff5d25 100644
--- a/games-roguelike/tomenet/ChangeLog
+++ b/games-roguelike/tomenet/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-roguelike/tomenet
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-roguelike/tomenet/ChangeLog,v 1.5 2009/11/03 05:20:15 mr_bones_ Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-roguelike/tomenet/ChangeLog,v 1.6 2010/03/11 21:51:46 mr_bones_ Exp $
+
+*tomenet-100310 (11 Mar 2010)
+
+ 11 Mar 2010; Michael Sterrett <mr_bones_@gentoo.org>
+ +tomenet-100310.ebuild:
+ version bump
*tomenet-091102 (03 Nov 2009)
diff --git a/games-roguelike/tomenet/Manifest b/games-roguelike/tomenet/Manifest
index 4326bbf4dd1a..995b0edf81f1 100644
--- a/games-roguelike/tomenet/Manifest
+++ b/games-roguelike/tomenet/Manifest
@@ -1,4 +1,6 @@
DIST tomenet-cvs-snapshot-091102.tar.bz2 2235024 RMD160 c2ac0ce3ebd8ca905076a4f04b166c918526d975 SHA1 4e103d60df3cc617d125383cd5a1ac377051daef SHA256 dd5cc0e83822d14b3b82c3a3b1f0f8d0f9914361331446154a802d8e4484da1d
+DIST tomenet-cvs-snapshot-100310.tar.bz2 2253747 RMD160 717ddd11db89026af02fe5ceec21204c115a7608 SHA1 2db24b33b6539162dc1cce544dd47885dc837e9d SHA256 f76872a4f36d5b509d1b4e9c4449610b7f5f1897928541b8fe5d96f81095d658
EBUILD tomenet-091102.ebuild 1393 RMD160 253d04633e530722a9383c47df3f486b7e460344 SHA1 8d365da30bf347e5d6dddc95c271071d6c1a4e88 SHA256 2bb706b25e361aeb1c729b2f1a0d0b2bfbcc4c01a8a3feb2193345fd0eb85ffe
-MISC ChangeLog 780 RMD160 ea8454bc0ead1868d8fc246e1e6d0d91f85d9b19 SHA1 ae1d14a6dc1d033e3c9a5a40ac59eb1d42be7b38 SHA256 0feb8ad1689585478b3a0c3df91b86b3c76ea07f66dc67d4fb58565093175fb0
+EBUILD tomenet-100310.ebuild 1389 RMD160 0727430a4150edc55b5e7f8bef73f9f5d2427950 SHA1 bec0956aa52cbbe99ff3fe05ec3ea2a2b3b6d9ad SHA256 b07ec0124ade5859ab0c092ec9862eba4e913720728bf558b36678f656f9d694
+MISC ChangeLog 908 RMD160 85356a7475580e619b2ae34a7dc62cad423f81dc SHA1 cb91e1ccff2e89d1cdb9ff59743539e3a0208928 SHA256 e35dedccb02bc39f9ee2d1f1087002ff50c8ec3a049a9c6012f6b2852a700a1c
MISC metadata.xml 615 RMD160 6e41fbf20f8d17d62bce377302b80b46a17de1b5 SHA1 1a7aa3899f4851c5eec4129df8d444f4b3bcb881 SHA256 541b50b3c0f2924cd150c5560fe1c6a9fd17f8feddce78b36c3c506456eb2fd3
diff --git a/games-roguelike/tomenet/tomenet-100310.ebuild b/games-roguelike/tomenet/tomenet-100310.ebuild
new file mode 100644
index 000000000000..cce853634c2e
--- /dev/null
+++ b/games-roguelike/tomenet/tomenet-100310.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-roguelike/tomenet/tomenet-100310.ebuild,v 1.1 2010/03/11 21:51:46 mr_bones_ Exp $
+
+EAPI=2
+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="sys-libs/ncurses
+ X? ( x11-libs/libX11 )
+ Xaw3d? ( x11-libs/libXaw )"
+
+S=${WORKDIR}/${PN}/src
+
+src_prepare() {
+ sed -i \
+ -e '/^CC =/d' \
+ makefile \
+ || die "sed failed"
+}
+
+src_compile() {
+ local GENTOO_DEFINES="-DUSE_GCU "
+ local GENTOO_LIBS="-lncurses -lcrypt -lm"
+
+ 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 "dogamesbin failed"
+ dodoc ../{ChangeLog,TomeNET-Guide.txt,changes.txt}
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ elog "To start playing right away:"
+ elog "$ tomenet totem.ielf.org"
+}