diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2009-11-03 05:20:15 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2009-11-03 05:20:15 +0000 |
commit | 5b93fb01a44fe0619c0ba7830ec57093c23b520b (patch) | |
tree | 34d67f91899bb71ae0069c31713ad7964a261eb2 /games-roguelike | |
parent | Update kde-base/ deps so KDE 4 doesn't satisfy it (diff) | |
download | gentoo-2-5b93fb01a44fe0619c0ba7830ec57093c23b520b.tar.gz gentoo-2-5b93fb01a44fe0619c0ba7830ec57093c23b520b.tar.bz2 gentoo-2-5b93fb01a44fe0619c0ba7830ec57093c23b520b.zip |
version bump
(Portage version: 2.1.6.13/cvs/Linux i686)
Diffstat (limited to 'games-roguelike')
-rw-r--r-- | games-roguelike/tomenet/ChangeLog | 8 | ||||
-rw-r--r-- | games-roguelike/tomenet/tomenet-091102.ebuild | 60 |
2 files changed, 67 insertions, 1 deletions
diff --git a/games-roguelike/tomenet/ChangeLog b/games-roguelike/tomenet/ChangeLog index 882ae6024937..769916846665 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.4 2009/01/29 02:18:07 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-roguelike/tomenet/ChangeLog,v 1.5 2009/11/03 05:20:15 mr_bones_ Exp $ + +*tomenet-091102 (03 Nov 2009) + + 03 Nov 2009; Michael Sterrett <mr_bones_@gentoo.org> + +tomenet-091102.ebuild: + version bump 29 Jan 2009; Michael Sterrett <mr_bones_@gentoo.org> tomenet-070104.ebuild: diff --git a/games-roguelike/tomenet/tomenet-091102.ebuild b/games-roguelike/tomenet/tomenet-091102.ebuild new file mode 100644 index 000000000000..b8798bb735d9 --- /dev/null +++ b/games-roguelike/tomenet/tomenet-091102.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-roguelike/tomenet/tomenet-091102.ebuild,v 1.1 2009/11/03 05:20:15 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 europe.tomenet.net" +} |