summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /games-mud
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'games-mud')
-rw-r--r--games-mud/circlemud/Manifest1
-rw-r--r--games-mud/circlemud/circlemud-3.1.ebuild63
-rw-r--r--games-mud/circlemud/files/circlemud-3.1-ldflags.patch65
-rw-r--r--games-mud/circlemud/metadata.xml12
-rw-r--r--games-mud/crystal/Manifest1
-rw-r--r--games-mud/crystal/crystal-0.2.4.ebuild41
-rw-r--r--games-mud/crystal/files/crystal-0.2.4-build.patch28
-rw-r--r--games-mud/crystal/files/crystal-0.2.4-gcc43.patch11
-rw-r--r--games-mud/crystal/metadata.xml5
-rw-r--r--games-mud/gmudix/Manifest1
-rw-r--r--games-mud/gmudix/files/gmudix-1.0-as-needed.patch28
-rw-r--r--games-mud/gmudix/gmudix-1.0.ebuild32
-rw-r--r--games-mud/gmudix/metadata.xml5
-rw-r--r--games-mud/gnome-mud/Manifest1
-rw-r--r--games-mud/gnome-mud/gnome-mud-0.11.2.ebuild60
-rw-r--r--games-mud/gnome-mud/metadata.xml5
-rw-r--r--games-mud/kildclient/Manifest1
-rw-r--r--games-mud/kildclient/files/kildclient-3.0.1-gentoo.patch114
-rw-r--r--games-mud/kildclient/kildclient-3.0.1.ebuild47
-rw-r--r--games-mud/kildclient/metadata.xml8
-rw-r--r--games-mud/kmuddy/Manifest1
-rw-r--r--games-mud/kmuddy/files/kmuddy-1.0.1-desktopvalidation.patch84
-rw-r--r--games-mud/kmuddy/files/kmuddy-1.0.1-gcc45.patch11
-rw-r--r--games-mud/kmuddy/files/kmuddy-1.0.1-kde45.patch11
-rw-r--r--games-mud/kmuddy/files/kmuddy-1.0.1-tempnam.patch29
-rw-r--r--games-mud/kmuddy/files/kmuddy-1.0.1-underlinking.patch24
-rw-r--r--games-mud/kmuddy/kmuddy-1.0.1-r3.ebuild35
-rw-r--r--games-mud/kmuddy/metadata.xml6
-rw-r--r--games-mud/lyntin/Manifest1
-rw-r--r--games-mud/lyntin/lyntin-4.2-r1.ebuild56
-rw-r--r--games-mud/lyntin/metadata.xml8
-rw-r--r--games-mud/metadata.xml36
-rw-r--r--games-mud/mudix/Manifest1
-rw-r--r--games-mud/mudix/files/mudix-4.3-as-needed.patch11
-rw-r--r--games-mud/mudix/metadata.xml5
-rw-r--r--games-mud/mudix/mudix-4.3-r1.ebuild32
-rw-r--r--games-mud/powwow/Manifest1
-rw-r--r--games-mud/powwow/files/powwow-1.2.16-underlinking.patch17
-rw-r--r--games-mud/powwow/metadata.xml5
-rw-r--r--games-mud/powwow/powwow-1.2.16.ebuild38
-rw-r--r--games-mud/tf/Manifest4
-rw-r--r--games-mud/tf/files/tf-50_beta8-pcre.patch61
-rw-r--r--games-mud/tf/files/tf-50_beta8-stdarg.patch30
-rw-r--r--games-mud/tf/metadata.xml13
-rw-r--r--games-mud/tf/tf-50_beta8-r1.ebuild76
-rw-r--r--games-mud/tintin/Manifest1
-rw-r--r--games-mud/tintin/metadata.xml8
-rw-r--r--games-mud/tintin/tintin-2.01.0.ebuild36
-rw-r--r--games-mud/tkmoo/Manifest1
-rw-r--r--games-mud/tkmoo/files/0.3.32-Makefile-noclean.patch15
-rw-r--r--games-mud/tkmoo/files/0.3.32-keys-workaround.patch13
-rw-r--r--games-mud/tkmoo/metadata.xml5
-rw-r--r--games-mud/tkmoo/tkmoo-0.3.32.ebuild48
-rw-r--r--games-mud/trebuchet/Manifest1
-rw-r--r--games-mud/trebuchet/metadata.xml8
-rw-r--r--games-mud/trebuchet/trebuchet-1.075.ebuild38
-rw-r--r--games-mud/wxmud/metadata.xml10
-rw-r--r--games-mud/wxmud/wxmud-9999.ebuild51
58 files changed, 1360 insertions, 0 deletions
diff --git a/games-mud/circlemud/Manifest b/games-mud/circlemud/Manifest
new file mode 100644
index 000000000000..c389e4a07622
--- /dev/null
+++ b/games-mud/circlemud/Manifest
@@ -0,0 +1 @@
+DIST circle-3.1.tar.bz2 1176136 SHA256 3813f6f903e958818afa5734403caa208d0a042ad1258f832d1ffc6923e098ea SHA512 161a0fd74aa248f6b357447be1de2d7c55e1fd281e9621d1cf7eb02d802ae06f362a318eeb3eb2425aad96620f71775245775a3aa42250e4374e8c82947df194 WHIRLPOOL 2f9a7cef407ab4d8b9017af1fef5af5a2b0b1edb7d320d7eba6679fed10989efebe1be10d28fc6956c0ee95941e8de7d7d1cf0849865b558d348f21468bbebf1
diff --git a/games-mud/circlemud/circlemud-3.1.ebuild b/games-mud/circlemud/circlemud-3.1.ebuild
new file mode 100644
index 000000000000..9af7a1ff969e
--- /dev/null
+++ b/games-mud/circlemud/circlemud-3.1.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit eutils games
+
+DESCRIPTION="a multi-user dungeon game system server"
+HOMEPAGE="http://www.circlemud.org/"
+SRC_URI="http://www.circlemud.org/pub/CircleMUD/3.x/circle-${PV}.tar.bz2"
+
+LICENSE="circlemud"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE=""
+
+DEPEND="dev-libs/openssl"
+
+S=${WORKDIR}/circle-${PV}
+
+src_prepare() {
+ cd src
+ touch .accepted
+ sed -i \
+ -e 's:^read.*::' licheck || die
+
+ # make circlemud fit into Gentoo nicely
+ sed -i \
+ -e "s:\"lib\":\"${GAMES_DATADIR}/${PN}\":g" \
+ -e "s:\(LOGNAME = \)NULL:\1\"${GAMES_LOGDIR}/${PN}.log\":g" \
+ config.c || die
+ sed -i \
+ -e "s:etc/:${GAMES_SYSCONFDIR}/${PN}/:g" db.h || die
+
+ # now lets rename binaries (too many are very generic)
+ sed -i \
+ -e "s:\.\./bin/autowiz:${PN}-autowiz:" limits.c || die
+ epatch "${FILESDIR}"/${P}-ldflags.patch
+}
+
+src_compile() {
+ emake -C src
+}
+
+src_install() {
+ local bin
+
+ for bin in autowiz delobjs listrent mudpasswd play2to3 purgeplay \
+ shopconv showplay sign split wld2html ; do
+ newgamesbin bin/${bin} ${PN}-${bin}
+ done
+ dogamesbin bin/circle
+
+ dodir "${GAMES_DATADIR}/${PN}"
+ cp -r lib/* "${D}/${GAMES_DATADIR}/${PN}" || die
+
+ insinto "${GAMES_SYSCONFDIR}/${PN}"
+ doins lib/etc/*
+
+ dodoc doc/{README.UNIX,*.pdf,*.txt} ChangeLog FAQ README release_notes.${PV}.txt
+ prepgamesdirs
+ fperms 770 "${GAMES_SYSCONFDIR}/${PN}/players"
+}
diff --git a/games-mud/circlemud/files/circlemud-3.1-ldflags.patch b/games-mud/circlemud/files/circlemud-3.1-ldflags.patch
new file mode 100644
index 000000000000..fc86e5e7056e
--- /dev/null
+++ b/games-mud/circlemud/files/circlemud-3.1-ldflags.patch
@@ -0,0 +1,65 @@
+--- src/Makefile.in.old 2010-09-16 12:19:26.000000000 +0200
++++ src/Makefile.in 2010-09-16 12:19:41.000000000 +0200
+@@ -54,7 +54,7 @@
+ $(MAKE) $(BINDIR)/circle
+
+ $(BINDIR)/circle : $(OBJFILES)
+- $(CC) -o $(BINDIR)/circle $(PROFILE) $(OBJFILES) $(LIBS)
++ $(CC) $(LDFLAGS) -o $(BINDIR)/circle $(PROFILE) $(OBJFILES) $(LIBS)
+
+ clean:
+ rm -f *.o
+--- src/util/Makefile.in.old 2010-09-16 12:31:01.000000000 +0200
++++ src/util/Makefile.in 2010-09-16 12:32:08.000000000 +0200
+@@ -52,40 +52,40 @@
+
+ $(BINDIR)/autowiz: autowiz.c $(INCDIR)/conf.h $(INCDIR)/sysdep.h \
+ $(INCDIR)/structs.h $(INCDIR)/utils.h $(INCDIR)/db.h
+- $(CC) $(CFLAGS) -o $(BINDIR)/autowiz autowiz.c
++ $(CC) $(LDFLAGS) $(CFLAGS) -o $(BINDIR)/autowiz autowiz.c
+
+ $(BINDIR)/delobjs: delobjs.c $(INCDIR)/conf.h $(INCDIR)/sysdep.h \
+ $(INCDIR)/structs.h $(INCDIR)/utils.h
+- $(CC) $(CFLAGS) -o $(BINDIR)/delobjs delobjs.c
++ $(CC) $(LDFLAGS) $(CFLAGS) -o $(BINDIR)/delobjs delobjs.c
+
+ $(BINDIR)/listrent: listrent.c $(INCDIR)/conf.h $(INCDIR)/sysdep.h \
+ $(INCDIR)/structs.h
+- $(CC) $(CFLAGS) -o $(BINDIR)/listrent listrent.c
++ $(CC) $(LDFLAGS) $(CFLAGS) -o $(BINDIR)/listrent listrent.c
+
+ $(BINDIR)/mudpasswd: mudpasswd.c $(INCDIR)/conf.h $(INCDIR)/sysdep.h \
+ $(INCDIR)/structs.h $(INCDIR)/utils.h
+- $(CC) $(CFLAGS) -o $(BINDIR)/mudpasswd mudpasswd.c @CRYPTLIB@
++ $(CC) $(LDFLAGS) $(CFLAGS) -o $(BINDIR)/mudpasswd mudpasswd.c @CRYPTLIB@
+
+ $(BINDIR)/play2to3: play2to3.c $(INCDIR)/conf.h $(INCDIR)/sysdep.h
+- $(CC) $(CFLAGS) -o $(BINDIR)/play2to3 play2to3.c
++ $(CC) $(LDFLAGS) $(CFLAGS) -o $(BINDIR)/play2to3 play2to3.c
+
+ $(BINDIR)/purgeplay: purgeplay.c $(INCDIR)/conf.h $(INCDIR)/sysdep.h \
+ $(INCDIR)/structs.h $(INCDIR)/utils.h
+- $(CC) $(CFLAGS) -o $(BINDIR)/purgeplay purgeplay.c
++ $(CC) $(LDFLAGS) $(CFLAGS) -o $(BINDIR)/purgeplay purgeplay.c
+
+ $(BINDIR)/shopconv: shopconv.c $(INCDIR)/conf.h $(INCDIR)/sysdep.h \
+ $(INCDIR)/structs.h $(INCDIR)/db.h $(INCDIR)/utils.h $(INCDIR)/shop.h
+- $(CC) $(CFLAGS) -o $(BINDIR)/shopconv shopconv.c
++ $(CC) $(LDFLAGS) $(CFLAGS) -o $(BINDIR)/shopconv shopconv.c
+
+ $(BINDIR)/showplay: showplay.c $(INCDIR)/conf.h $(INCDIR)/sysdep.h \
+ $(INCDIR)/structs.h
+- $(CC) $(CFLAGS) -o $(BINDIR)/showplay showplay.c
++ $(CC) $(LDFLAGS) $(CFLAGS) -o $(BINDIR)/showplay showplay.c
+
+ $(BINDIR)/sign: sign.c $(INCDIR)/conf.h $(INCDIR)/sysdep.h
+- $(CC) $(CFLAGS) -o $(BINDIR)/sign sign.c @NETLIB@
++ $(CC) $(LDFLAGS) $(CFLAGS) -o $(BINDIR)/sign sign.c @NETLIB@
+
+ $(BINDIR)/split: split.c $(INCDIR)/conf.h $(INCDIR)/sysdep.h
+- $(CC) $(CFLAGS) -o $(BINDIR)/split split.c
++ $(CC) $(LDFLAGS) $(CFLAGS) -o $(BINDIR)/split split.c
+
+ $(BINDIR)/wld2html: wld2html.c $(INCDIR)/conf.h $(INCDIR)/sysdep.h
+- $(CC) $(CFLAGS) -o $(BINDIR)/wld2html wld2html.c
++ $(CC) $(LDFLAGS) $(CFLAGS) -o $(BINDIR)/wld2html wld2html.c
diff --git a/games-mud/circlemud/metadata.xml b/games-mud/circlemud/metadata.xml
new file mode 100644
index 000000000000..fdb2e1e3c87a
--- /dev/null
+++ b/games-mud/circlemud/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>games</herd>
+<longdescription>
+CircleMUD is a multi-user dungeon game system (MUD) written by Jeremy Elson, originally at
+Johns Hopkins University's Department of Computer Science (I graduated in May of 1996).
+CircleMUD is a derivative of DikuMUD Gamma 0.0, which was written in 1990 at DIKU, the
+Department of Computer Science at the University of Copenhagen, by Katja Nyboe, Tom
+Madsen, Hans Henrik Staerfeldt, Michael Seifert, and Sebastian Hammer.
+</longdescription>
+</pkgmetadata>
diff --git a/games-mud/crystal/Manifest b/games-mud/crystal/Manifest
new file mode 100644
index 000000000000..ce0b66a47aab
--- /dev/null
+++ b/games-mud/crystal/Manifest
@@ -0,0 +1 @@
+DIST crystal-0.2.4.tar.gz 146962 SHA256 1f5843034d897977430cf1d84040cd6e50bcc1d1b7fdda4e9f07f4ea6d6db6ce SHA512 8493b0d84db610606ce97e918cfa418123c39e5afffb4bf880aa905c46dc13d0b7ff0366b497e020276afadf9db951fcd6fa7aa0e25f5357574fa465ee152916 WHIRLPOOL 50e202e6becf025289cb042d86b970bbf8d5a2aaf7c86ce372f4697ff61af21af9c94f281b763045e607ce28f60fd78c6e2c1279746023f1ed53d7031c0fd47e
diff --git a/games-mud/crystal/crystal-0.2.4.ebuild b/games-mud/crystal/crystal-0.2.4.ebuild
new file mode 100644
index 000000000000..8d7b34c0d467
--- /dev/null
+++ b/games-mud/crystal/crystal-0.2.4.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit autotools eutils games
+
+DESCRIPTION="The crystal MUD client"
+HOMEPAGE="http://www.evilmagic.org/crystal/"
+SRC_URI="http://www.evilmagic.org/dist/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE=""
+
+RDEPEND="sys-libs/zlib
+ sys-libs/ncurses
+ dev-libs/openssl
+ virtual/libiconv"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/${P}-gcc43.patch \
+ "${FILESDIR}"/${P}-build.patch
+ # avoid colliding with xscreensaver (bug #281191)
+ mv crystal.6 crystal-mud.6 || die
+ mv configure.in configure.ac || die
+ eautoreconf
+}
+
+src_configure() {
+ egamesconf --disable-scripting
+}
+
+src_install() {
+ default
+ prepgamesdirs
+}
diff --git a/games-mud/crystal/files/crystal-0.2.4-build.patch b/games-mud/crystal/files/crystal-0.2.4-build.patch
new file mode 100644
index 000000000000..147447f3c9a8
--- /dev/null
+++ b/games-mud/crystal/files/crystal-0.2.4-build.patch
@@ -0,0 +1,28 @@
+--- configure.in
++++ configure.in
+@@ -31,7 +31,9 @@
+ AC_PROG_CXX
+ AC_CHECK_FUNCS(select socket strerror strstr)
+
+-AC_CHECK_LIB(curses, main, [LIBS=" -lcurses "], AC_CHECK_LIB(ncurses, main, [LIBS=" -lncurses "], AC_MSG_ERROR([No curses])))
++PKG_CHECK_MODULES([NCURSES], [ncurses])
++AC_SUBST([NCURSES_CFLAGS])
++AC_SUBST([NCURSES_LIBS])
+
+ AC_CHECK_LIB(z, main, [LIBS=$LIBS" -lz "; AC_DEFINE(HAVE_ZLIB)], AC_MSG_WARN([No zlib - MCCP support will not be built]))
+
+--- Makefile.am
++++ Makefile.am
+@@ -5,7 +5,11 @@
+ common.h crystal.h grid.h io.h telnet.h wcwidth.c \
+ scripting.cc scripting.h
+
+-man_MANS = crystal.6
++crystal_CPPFLAGS = $(NCURSES_CFLAGS)
++
++crystal_LDADD = $(NCURSES_LIBS)
++
++man_MANS = crystal-mud.6
+
+ DEBDIST = README.Debian debian/changelog.real debian/compat debian/control debian/copyright debian/crystal-default.ex debian/crystal.substvars debian/docs debian/rules debian/watch.ex
+
diff --git a/games-mud/crystal/files/crystal-0.2.4-gcc43.patch b/games-mud/crystal/files/crystal-0.2.4-gcc43.patch
new file mode 100644
index 000000000000..40623c5c22b3
--- /dev/null
+++ b/games-mud/crystal/files/crystal-0.2.4-gcc43.patch
@@ -0,0 +1,11 @@
+--- common.h
++++ common.h
+@@ -3,6 +3,8 @@
+
+ #include <string>
+ #include <stdio.h>
++#include <cstring>
++#include <cstdlib>
+ #include <curses.h>
+ #include <termios.h>
+ #include <sys/ioctl.h>
diff --git a/games-mud/crystal/metadata.xml b/games-mud/crystal/metadata.xml
new file mode 100644
index 000000000000..d3c2cc926f0b
--- /dev/null
+++ b/games-mud/crystal/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>games</herd>
+</pkgmetadata>
diff --git a/games-mud/gmudix/Manifest b/games-mud/gmudix/Manifest
new file mode 100644
index 000000000000..129e687b9a41
--- /dev/null
+++ b/games-mud/gmudix/Manifest
@@ -0,0 +1 @@
+DIST gmudix-1.0.tar.gz 137548 SHA256 92588f498f5188ade961b7fd53951300236af105a72d0ffbd586d03a13008b03 SHA512 c22a725af6914d5177a737c1abf1ee38c133854fab8723dc01a89739b58214937008c3931ccc5928e88ee1ecbda385304ff862606eacec377addd6ee8de02b38 WHIRLPOOL 1467d80d629232e6eabbc75e111e652d458b559d6d7edd749a5d9479c2ad9502aba700ed8e072254b9fca991a2868b3ef5ba0a19b3f0814cd6f2326f85dd977d
diff --git a/games-mud/gmudix/files/gmudix-1.0-as-needed.patch b/games-mud/gmudix/files/gmudix-1.0-as-needed.patch
new file mode 100644
index 000000000000..838376ef256f
--- /dev/null
+++ b/games-mud/gmudix/files/gmudix-1.0-as-needed.patch
@@ -0,0 +1,28 @@
+--- configure.in
++++ configure.in
+@@ -8,7 +8,8 @@
+ AC_PROG_MAKE_SET
+
+ dnl Checks for libraries.
+-PKG_CHECK_MODULES(BASE_DEPENDENCIES, gtk+-2.0 >= 2.0.0)
++PKG_CHECK_MODULES(GTK, gtk+-2.0)
++PKG_CHECK_MODULES(GTHREAD, gthread-2.0)
+
+ dnl Checks for header files.
+ AC_HEADER_STDC
+--- src/Makefile.am
++++ src/Makefile.am
+@@ -1,10 +1,5 @@
+ bin_PROGRAMS = gmudix
+ gmudix_SOURCES = alias.c commands.c file.c gui_alias.c gui_capture.c gui_character.c gui_color.c gui_font.c gui_general.c gui_macro.c gui_main.c gui_path.c gui_preferences.c gui_tab.c gui_timer.c gui_trigger.c gui_user.c gui_variable.c history.c log.c macro.c mccp.c mudix.c net.c path.c process.c string.c tabs.c telnet.c timer.c trigger.c user.c variable.c
+-INCLUDES = -Wall -I.. -I../include `pkg-config --cflags gtk+-2.0`
+-gmudix_LDFLAGS = -lz `pkg-config --libs gtk+-2.0` `pkg-config --libs gthread-2.0`
+-
+-if DEBUG_SYMBOLS
+-CFLAGS := $(CFLAGS) -O2 -g
+-else
+-CFLAGS := $(CFLAGS) -O2
+-endif
++AM_CFLAGS = -Wall
++INCLUDES = -I.. -I../include $(GTK_CFLAGS) $(GTHREAD_CFLAGS)
++LDADD = -lz $(GTK_LIBS) $(GTHREAD_LIBS)
diff --git a/games-mud/gmudix/gmudix-1.0.ebuild b/games-mud/gmudix/gmudix-1.0.ebuild
new file mode 100644
index 000000000000..1490308617cc
--- /dev/null
+++ b/games-mud/gmudix/gmudix-1.0.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit autotools eutils games
+
+DESCRIPTION="GTK+ MUD client with ANSI color, macros, timers, triggers, variables, and an easy scripting language"
+HOMEPAGE="http://dw.nl.eu.org/mudix.html"
+SRC_URI="http://dw.nl.eu.org/gmudix/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE=""
+
+RDEPEND="x11-libs/gtk+:2"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-as-needed.patch
+ mv configure.in configure.ac || die
+ rm -f missing || die
+ eautoreconf
+}
+
+src_install() {
+ dogamesbin src/${PN}
+ dodoc AUTHORS ChangeLog README TODO doc/*txt
+ prepgamesdirs
+}
diff --git a/games-mud/gmudix/metadata.xml b/games-mud/gmudix/metadata.xml
new file mode 100644
index 000000000000..d3c2cc926f0b
--- /dev/null
+++ b/games-mud/gmudix/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>games</herd>
+</pkgmetadata>
diff --git a/games-mud/gnome-mud/Manifest b/games-mud/gnome-mud/Manifest
new file mode 100644
index 000000000000..36c27533e215
--- /dev/null
+++ b/games-mud/gnome-mud/Manifest
@@ -0,0 +1 @@
+DIST gnome-mud-0.11.2.tar.bz2 444294 SHA256 d449e1433ab7d8b40bd4133ae6ef25b723f2d2894709094d196a10b930f52b06 SHA512 b8dd4ffa0cd5ab7077b21c908fb92b6b5c3e1fc65c06c890d8ebb4ab4fd6d1f8ac4a67d9a815634fc45f3357dd495ba329057df5662c00d2074278a16470c422 WHIRLPOOL 69c85b79000967b1ded1ac02683c9f0e895e045c5b3928de5720e222233692f59e83b6a14811c978b0893eae15b7d7fec4deccf5c2dda96f078cbda21f30bb06
diff --git a/games-mud/gnome-mud/gnome-mud-0.11.2.ebuild b/games-mud/gnome-mud/gnome-mud-0.11.2.ebuild
new file mode 100644
index 000000000000..4e1a615930f5
--- /dev/null
+++ b/games-mud/gnome-mud/gnome-mud-0.11.2.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+GCONF_DEBUG="yes"
+GNOME_TARBALL_SUFFIX="bz2"
+
+inherit gnome2 games
+
+DESCRIPTION="GNOME MUD client"
+HOMEPAGE="https://wiki.gnome.org/Apps/GnomeMud"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~ppc x86 ~x86-fbsd"
+IUSE="gstreamer"
+
+RDEPEND="x11-libs/gtk+:2
+ >=gnome-base/libglade-2.0.1:2.0
+ gnome-base/gconf:2
+ >=x11-libs/vte-0.11:0
+ gstreamer? ( media-libs/gstreamer:0.10 )
+ dev-perl/XML-Parser
+ dev-libs/libpcre
+ net-libs/gnet:2
+ virtual/libintl"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ >=dev-util/intltool-0.23
+ >=sys-devel/gettext-0.11.5
+ app-text/rarian"
+
+src_configure() {
+ gnome2_src_configure \
+ --bindir="${GAMES_BINDIR}" \
+ $(use_enable gstreamer)
+}
+
+src_install() {
+ DOCS="AUTHORS BUGS ChangeLog NEWS PLUGIN.API README ROADMAP" \
+ gnome2_src_install
+ prepgamesdirs
+}
+
+pkg_preinst() {
+ gnome2_pkg_preinst
+ games_pkg_preinst
+}
+
+pkg_postinst() {
+ gnome2_pkg_postinst
+ games_pkg_postinst
+ echo
+ elog "For proper plugin operation, please create ~/.gnome-mud/plugins/"
+ elog "if that directory doesn't already exist."
+ elog "The command to do that is:"
+ elog " mkdir -p ~/.gnome-mud/plugins/"
+ echo
+}
diff --git a/games-mud/gnome-mud/metadata.xml b/games-mud/gnome-mud/metadata.xml
new file mode 100644
index 000000000000..d3c2cc926f0b
--- /dev/null
+++ b/games-mud/gnome-mud/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>games</herd>
+</pkgmetadata>
diff --git a/games-mud/kildclient/Manifest b/games-mud/kildclient/Manifest
new file mode 100644
index 000000000000..a258192a6847
--- /dev/null
+++ b/games-mud/kildclient/Manifest
@@ -0,0 +1 @@
+DIST kildclient-3.0.1.tar.gz 1838526 SHA256 6f7bb508392403d31ca8bb2317025671792f9e942be862c2b55462ce4b9e295c SHA512 835b31b2e45a5895fd4aefcb662d6c3bf2c888836f12511ef7bc6c15a12dac8563bc9226dbc33fb75915fdf6024ed61a0a05185d0998646ba380410d6e33a706 WHIRLPOOL f30b0f3c29f269adc0a37b815b232d7396f8f7fd388d8643368af66c3dde0507ff0f32382b5bee18a5f4aaa83e204ccebbf97019185ed1278e05fc8dcb06326c
diff --git a/games-mud/kildclient/files/kildclient-3.0.1-gentoo.patch b/games-mud/kildclient/files/kildclient-3.0.1-gentoo.patch
new file mode 100644
index 000000000000..75b39cfad414
--- /dev/null
+++ b/games-mud/kildclient/files/kildclient-3.0.1-gentoo.patch
@@ -0,0 +1,114 @@
+diff -ru kildclient-3.0.1.orig/Makefile.am kildclient-3.0.1/Makefile.am
+--- kildclient-3.0.1.orig/Makefile.am 2014-09-07 11:49:16.000000000 -0400
++++ kildclient-3.0.1/Makefile.am 2015-01-03 22:33:12.578096926 -0500
+@@ -9,11 +9,7 @@
+ share
+ endif
+
+-pkgdocdir = $(datadir)/doc/kildclient
+-
+-pkgdoc_DATA = README AUTHORS NEWS COPYING
+-
+-appsdir = $(datadir)/applications
++appsdir = /usr/share/applications
+ apps_DATA = kildclient.desktop
+
+ EXTRA_DIST = kildclient.spec \
+diff -ru kildclient-3.0.1.orig/doc/C/Makefile.am kildclient-3.0.1/doc/C/Makefile.am
+--- kildclient-3.0.1.orig/doc/C/Makefile.am 2012-02-12 10:48:07.000000000 -0500
++++ kildclient-3.0.1/doc/C/Makefile.am 2015-01-04 00:11:46.422941983 -0500
+@@ -1,8 +1,8 @@
+ SUBDIRS = images
+
+-pkgdocdir = $(datadir)/doc/kildclient
++pkgdocdir = @docdir@
+
+-manualdir = $(pkgdocdir)/html
++manualdir = @htmldir@
+
+ #pkgdoc_DATA = kildclient.pdf
+
+diff -ru kildclient-3.0.1.orig/po/Makefile.in.in kildclient-3.0.1/po/Makefile.in.in
+--- kildclient-3.0.1.orig/po/Makefile.in.in 2014-12-13 05:47:22.000000000 -0500
++++ kildclient-3.0.1/po/Makefile.in.in 2015-01-04 00:13:33.357326034 -0500
+@@ -28,9 +28,8 @@
+ datarootdir = @datarootdir@
+ datadir = @datadir@
+ libdir = @libdir@
+-localedir = $(libdir)/locale
+-gnulocaledir = $(datadir)/locale
+-gettextsrcdir = $(datadir)/glib-2.0/gettext/po
++localedir = @localedir@
++gnulocaledir = @localedir@
+ subdir = po
+
+ INSTALL = @INSTALL@
+@@ -163,13 +162,6 @@
+ fi; \
+ fi; \
+ done
+- if test "$(PACKAGE)" = "glib"; then \
+- $(MKINSTALLDIRS) $(DESTDIR)$(gettextsrcdir); \
+- $(INSTALL_DATA) $(srcdir)/Makefile.in.in \
+- $(DESTDIR)$(gettextsrcdir)/Makefile.in.in; \
+- else \
+- : ; \
+- fi
+
+ # Define this as empty until I found a useful application.
+ installcheck:
+@@ -184,9 +176,6 @@
+ rm -f $(DESTDIR)$(gnulocaledir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE)$(INSTOBJEXT); \
+ rm -f $(DESTDIR)$(gnulocaledir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE)$(INSTOBJEXT).m; \
+ done
+- if test "$(PACKAGE)" = "glib"; then \
+- rm -f $(DESTDIR)$(gettextsrcdir)/Makefile.in.in; \
+- fi
+
+ check: all
+
+diff -ru kildclient-3.0.1.orig/share/Makefile.am kildclient-3.0.1/share/Makefile.am
+--- kildclient-3.0.1.orig/share/Makefile.am 2012-02-12 10:48:56.000000000 -0500
++++ kildclient-3.0.1/share/Makefile.am 2015-01-04 00:14:05.375243115 -0500
+@@ -5,7 +5,7 @@
+ kildclient.hlp \
+ kcworld.dtd
+
+-pixmapdir = $(datadir)/pixmaps
++pixmapdir = /usr/share/pixmaps
+ pixmap_DATA = kildclient.png kildclient.xpm
+
+
+diff -ru kildclient-3.0.1.orig/src/Makefile.am kildclient-3.0.1/src/Makefile.am
+--- kildclient-3.0.1.orig/src/Makefile.am 2014-12-13 05:40:02.000000000 -0500
++++ kildclient-3.0.1/src/Makefile.am 2015-01-04 00:14:47.606814577 -0500
+@@ -84,11 +84,11 @@
+
+ EXTRA_DIST = $(pkgdata_DATA) $(uifiles)
+
+-pkgdocdir = $(datadir)/doc/kildclient
++pkgdocdir = @docdir@
+
+-manualdir = $(pkgdocdir)/html
++manualdir = @htmldir@
+
+-localedir = $(datadir)/locale
++localedir = @localedir@
+
+ kildclient_LDADD = $(GTK_LIBS) $(KILDCLIENT_PERL_LIBS) $(GTKSPELL_LIBS) $(LIBGNUTLS_LIBS) $(INTLLIBS) -lz
+
+diff -ru kildclient-3.0.1.orig/src/mainwindow.c kildclient-3.0.1/src/mainwindow.c
+--- kildclient-3.0.1.orig/src/mainwindow.c 2014-12-13 05:40:02.000000000 -0500
++++ kildclient-3.0.1/src/mainwindow.c 2015-01-04 00:15:43.877910836 -0500
+@@ -172,9 +172,9 @@
+ window = GTK_WIDGET(gtk_builder_get_object(main_builder, "wndMain"));
+ #ifndef __WIN32__
+ gtk_window_set_icon_from_file(GTK_WINDOW(window),
+- SYSDATADIR "/pixmaps/kildclient.png",
++ "/usr/share/pixmaps/kildclient.png",
+ NULL);
+- gtk_window_set_default_icon_from_file(SYSDATADIR "/pixmaps/kildclient.png",
++ gtk_window_set_default_icon_from_file("/usr/share/pixmaps/kildclient.png",
+ NULL);
+ #endif
+
diff --git a/games-mud/kildclient/kildclient-3.0.1.ebuild b/games-mud/kildclient/kildclient-3.0.1.ebuild
new file mode 100644
index 000000000000..936818dd571e
--- /dev/null
+++ b/games-mud/kildclient/kildclient-3.0.1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit autotools eutils games
+
+DESCRIPTION="Powerful MUD client with a built-in PERL interpreter"
+HOMEPAGE="http://kildclient.sourceforge.net"
+SRC_URI="mirror://sourceforge/kildclient/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="doc gnutls spell"
+
+RDEPEND="x11-libs/gtk+:3
+ dev-lang/perl
+ dev-perl/Locale-gettext
+ dev-perl/JSON
+ sys-libs/zlib
+ virtual/libintl
+ spell? ( app-text/gtkspell:3 )
+ gnutls? ( net-libs/gnutls )"
+DEPEND="${RDEPEND}
+ sys-devel/gettext
+ virtual/pkgconfig"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-gentoo.patch
+ eautoreconf
+}
+
+src_configure() {
+ egamesconf \
+ --localedir=/usr/share/locale \
+ --docdir=/usr/share/doc/${PF} \
+ --htmldir=/usr/share/doc/${PF}/html \
+ $(use_with spell gtkspell) \
+ $(use_with gnutls libgnutls) \
+ $(use_with doc docs)
+}
+
+src_install() {
+ default
+ prepgamesdirs
+}
diff --git a/games-mud/kildclient/metadata.xml b/games-mud/kildclient/metadata.xml
new file mode 100644
index 000000000000..24170aebd0a0
--- /dev/null
+++ b/games-mud/kildclient/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>games</herd>
+ <upstream>
+ <remote-id type="sourceforge">kildclient</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/games-mud/kmuddy/Manifest b/games-mud/kmuddy/Manifest
new file mode 100644
index 000000000000..e90c9d1204ed
--- /dev/null
+++ b/games-mud/kmuddy/Manifest
@@ -0,0 +1 @@
+DIST kmuddy-1.0.1.tar.gz 1435657 SHA256 d3db34aaddaa142da5a138b3e1179dc9b9b203058f225de037616cc24aa3e4ac SHA512 e797db9509c3dfabbbcf829d76733cceda0be53c20dc56a7f576a1562512ab23769b668b5ed08a6363c3de81577969d89a2027492560ab1731bff8fb6f3d54a2 WHIRLPOOL 89af46564e1c813c3499597c95f61285abddb48c2aa9f1d5ae798830b2252e985fe1112e7080dd4fa7a823ffcdc1557dfee4ee0376ec9fd4f4dbce1102e2a205
diff --git a/games-mud/kmuddy/files/kmuddy-1.0.1-desktopvalidation.patch b/games-mud/kmuddy/files/kmuddy-1.0.1-desktopvalidation.patch
new file mode 100644
index 000000000000..428dc94fc789
--- /dev/null
+++ b/games-mud/kmuddy/files/kmuddy-1.0.1-desktopvalidation.patch
@@ -0,0 +1,84 @@
+--- kmuddy/kmuddy.desktop
++++ kmuddy/kmuddy.desktop
+@@ -1,6 +1,5 @@
+ [Desktop Entry]
+ Version=1.0
+-Encoding=UTF-8
+ Name=KMuddy
+ Type=Application
+ Exec=kmuddy -caption "%c" %i %m
+--- libs/kmuddyplugin.desktop
++++ libs/kmuddyplugin.desktop
+@@ -1,6 +1,6 @@
+ [Desktop Entry]
+-Encoding=UTF-8
+ Type=ServiceType
++Name=KMuddy Plugins
+ X-KDE-ServiceType=KMuddy/Plugin
+ X-KDE-Derived=KPluginInfo
+ Comment=KMuddy Plugin
+--- plugins/converter/kmuddyconverterplugin.desktop
++++ plugins/converter/kmuddyconverterplugin.desktop
+@@ -1,5 +1,4 @@
+ [Desktop Entry]
+-Encoding=UTF-8
+ Name=Profile Converter
+ Comment=This plug-in converts profiles from old KMuddy versions.
+ ServiceTypes=KMuddy/Plugin
+--- plugins/mapper/plugins/standard/kmuddymapper_standard.desktop
++++ plugins/mapper/plugins/standard/kmuddymapper_standard.desktop
+@@ -1,6 +1,5 @@
+ [Desktop Entry]
+ Type=Service
+-Comment=The standard mapper tools and views
+ Name=Standard
+ Comment=The standard mapper tools and views
+ ServiceTypes=KMuddy/Mapper/Plugin
+--- plugins/scripting/kmuddyscriptingplugin.desktop
++++ plugins/scripting/kmuddyscriptingplugin.desktop
+@@ -1,5 +1,4 @@
+ [Desktop Entry]
+-Encoding=UTF-8
+ Name=External Scripting
+ Comment=Adds support for external scripting.
+ ServiceTypes=KMuddy/Plugin
+--- plugins/strings/kmuddystringsplugin.desktop
++++ plugins/strings/kmuddystringsplugin.desktop
+@@ -1,5 +1,4 @@
+ [Desktop Entry]
+-Encoding=UTF-8
+ Name=Strings
+ Comment=This plug-in adds many strings functions.
+ ServiceTypes=KMuddy/Plugin
+--- plugins/test/kmuddytestplugin.desktop
++++ plugins/test/kmuddytestplugin.desktop
+@@ -1,5 +1,4 @@
+ [Desktop Entry]
+-Encoding=UTF-8
+ Name=Testing Plug-in
+ Comment=Testing Plug-in
+ ServiceTypes=KMuddy/Plugin
+--- plugins/vartrigs/kmuddyvartrigplugin.desktop
++++ plugins/vartrigs/kmuddyvartrigplugin.desktop
+@@ -1,5 +1,4 @@
+ [Desktop Entry]
+-Encoding=UTF-8
+ Name=Variable Triggers
+ Comment=Adds supports for triggers that fire off variable changes.
+ ServiceTypes=KMuddy/Plugin
+--- plugins/varviewer/kmuddyvarviewerplugin.desktop
++++ plugins/varviewer/kmuddyvarviewerplugin.desktop
+@@ -1,5 +1,4 @@
+ [Desktop Entry]
+-Encoding=UTF-8
+ Name=Variable Viewer
+ Comment=This plug-in provides a variable viewer window.
+ ServiceTypes=KMuddy/Plugin
+--- template/kmuddyplugintemplate.desktop
++++ template/kmuddyplugintemplate.desktop
+@@ -1,5 +1,4 @@
+ [Desktop Entry]
+-Encoding=UTF-8
+ Name=Plugin Template
+ Comment=Plugin Template
+ ServiceTypes=KMuddy/Plugin
diff --git a/games-mud/kmuddy/files/kmuddy-1.0.1-gcc45.patch b/games-mud/kmuddy/files/kmuddy-1.0.1-gcc45.patch
new file mode 100644
index 000000000000..34b403c14715
--- /dev/null
+++ b/games-mud/kmuddy/files/kmuddy-1.0.1-gcc45.patch
@@ -0,0 +1,11 @@
+--- plugins/mapper/filefilters/cmapfilefilterkmudone.cpp.old 2010-06-08 17:55:09.000000000 +0200
++++ plugins/mapper/filefilters/cmapfilefilterkmudone.cpp 2010-06-08 17:55:49.000000000 +0200
+@@ -215,7 +215,7 @@
+
+ // Set room properties
+ room->setUseDefaultCol(in_room.useDefaultCol);
+- room->setColor(QColor::QColor(in_room.red,in_room.green,in_room.blue));
++ room->setColor(QColor(in_room.red,in_room.green,in_room.blue));
+ room->setLabel(label);
+ room->setDescription(description);
+
diff --git a/games-mud/kmuddy/files/kmuddy-1.0.1-kde45.patch b/games-mud/kmuddy/files/kmuddy-1.0.1-kde45.patch
new file mode 100644
index 000000000000..73ca381264bc
--- /dev/null
+++ b/games-mud/kmuddy/files/kmuddy-1.0.1-kde45.patch
@@ -0,0 +1,11 @@
+http://bugs.gentoo.org/331317
+
+--- doc/kmuddy/index.docbook
++++ doc/kmuddy/index.docbook
+@@ -1,5 +1,5 @@
+ <?xml version="1.0" ?>
+-<!DOCTYPE book PUBLIC "-//KDE//DTD DocBook XML V4.1-Based Variant V1.0//EN" "dtd/kdex.dtd" [
++<!DOCTYPE book PUBLIC "-//KDE//DTD DocBook XML V4.2-Based Variant V1.1//EN" "dtd/kdex.dtd" [
+ <!ENTITY kmuddy '<application>KMuddy</application>'>
+ <!ENTITY kapp "&kmuddy;">
+ <!ENTITY % addindex "IGNORE">
diff --git a/games-mud/kmuddy/files/kmuddy-1.0.1-tempnam.patch b/games-mud/kmuddy/files/kmuddy-1.0.1-tempnam.patch
new file mode 100644
index 000000000000..c4838aa4b89d
--- /dev/null
+++ b/games-mud/kmuddy/files/kmuddy-1.0.1-tempnam.patch
@@ -0,0 +1,29 @@
+--- plugins/scripting/cunixsocket.cpp
++++ plugins/scripting/cunixsocket.cpp
+@@ -40,12 +40,21 @@
+ varlist = 0;
+ connected = false;
+
+- //first of all, we need a file name
+- char *fname = tempnam ("/tmp", "km");
+- if (fname != 0) //only if it didn't fail
++ //22 = strlen(form) + strlen(/sock) + 1
++ char form[]="/tmp/kmuddyXXXXXX", *dirname, sockname[22];
++ dirname = mkdtemp(form);
++
++ if (dirname != NULL) //only if it didn't fail
+ {
+- name = fname;
+- free (fname);
++
++ strcpy(sockname, dirname);
++ strcat(dirname, "/sock");
++
++ name = dirname;
++ free (form);
++ free (dirname);
++ free (sockname);
++
+ //now that we have the name, we create a socket and set some parameters
+ id = socket (PF_UNIX, SOCK_STREAM, 0);
+ sa.sun_family = AF_UNIX;
diff --git a/games-mud/kmuddy/files/kmuddy-1.0.1-underlinking.patch b/games-mud/kmuddy/files/kmuddy-1.0.1-underlinking.patch
new file mode 100644
index 000000000000..18c68c4742df
--- /dev/null
+++ b/games-mud/kmuddy/files/kmuddy-1.0.1-underlinking.patch
@@ -0,0 +1,24 @@
+diff -ruN kmuddy-1.0.1.orig/kmuddy/CMakeLists.txt kmuddy-1.0.1/kmuddy/CMakeLists.txt
+--- kmuddy-1.0.1.orig/kmuddy/CMakeLists.txt 2009-03-14 13:24:55.000000000 +0100
++++ kmuddy-1.0.1/kmuddy/CMakeLists.txt 2012-01-01 11:40:31.000000000 +0100
+@@ -49,7 +49,7 @@
+
+ kde4_add_executable(kmuddy ${kmuddy_SRCS})
+
+-set (KMUDDY_LIBRARIES kmuddycore dialogs ${KDE4_KDECORE_LIBS} ${KDE4_KPARTS_LIBS} ${KDE4_KUTILS_LIBS} ${KDE4_KDEUI_LIBS} ${KDE4_PHONON_LIBS} ${KDE4_KDE3SUPPORT_LIBS})
++set (KMUDDY_LIBRARIES kmuddycore dialogs ${KDE4_KDECORE_LIBS} ${KDE4_KPARTS_LIBS} ${KDE4_KUTILS_LIBS} ${KDE4_KDEUI_LIBS} ${KDE4_PHONON_LIBS} ${KDE4_KDE3SUPPORT_LIBS} z)
+
+ if (MXP_FOUND)
+ set (KMUDDY_LIBRARIES ${KMUDDY_LIBRARIES} ${MXP_LIBRARIES})
+diff -ruN kmuddy-1.0.1.orig/plugins/mapper/plugins/speedwalk/CMakeLists.txt kmuddy-1.0.1/plugins/mapper/plugins/speedwalk/CMakeLists.txt
+--- kmuddy-1.0.1.orig/plugins/mapper/plugins/speedwalk/CMakeLists.txt 2009-01-10 12:40:59.000000000 +0100
++++ kmuddy-1.0.1/plugins/mapper/plugins/speedwalk/CMakeLists.txt 2012-01-01 13:15:35.000000000 +0100
+@@ -17,7 +17,7 @@
+
+ kde4_add_plugin(kmuddymapper_speedwalk WITH_PREFIX ${kmuddymapper_speedwalk_PART_SRCS})
+
+-target_link_libraries(kmuddymapper_speedwalk ${KDE4_KDECORE_LIBS} ${KDE4_KPARTS_LIBS} ${KDE4_KDE3SUPPORT_LIBS} kmuddymapper )
++target_link_libraries(kmuddymapper_speedwalk kmuddymapper kmuddycore ${KDE4_KDECORE_LIBS} ${KDE4_KPARTS_LIBS} ${KDE4_KDE3SUPPORT_LIBS} )
+
+ install(TARGETS kmuddymapper_speedwalk DESTINATION ${PLUGIN_INSTALL_DIR} )
+
diff --git a/games-mud/kmuddy/kmuddy-1.0.1-r3.ebuild b/games-mud/kmuddy/kmuddy-1.0.1-r3.ebuild
new file mode 100644
index 000000000000..c3ff8dcd2eb0
--- /dev/null
+++ b/games-mud/kmuddy/kmuddy-1.0.1-r3.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KDE_LINGUAS="es"
+KDE_DOC_DIRS="doc/${PN}"
+KDE_HANDBOOK=optional
+inherit kde4-base
+
+DESCRIPTION="MUD client for KDE"
+HOMEPAGE="http://www.kmuddy.com/"
+SRC_URI="http://www.kmuddy.com/releases/stable/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="4"
+KEYWORDS="amd64 ppc x86"
+IUSE="debug"
+
+DOC=( AUTHORS README CHANGELOG Scripting-HOWTO TODO DESIGN )
+
+PATCHES=(
+ "${FILESDIR}"/${P}-{gcc,kde}45.patch
+ "${FILESDIR}"/${P}-underlinking.patch
+ "${FILESDIR}"/${P}-tempnam.patch
+ "${FILESDIR}"/${P}-desktopvalidation.patch
+)
+src_configure() {
+ # not in portage yet
+ local mycmakeargs=(
+ -DWITH_MXP=OFF
+ )
+ kde4-base_src_configure
+}
diff --git a/games-mud/kmuddy/metadata.xml b/games-mud/kmuddy/metadata.xml
new file mode 100644
index 000000000000..ea290d70f97c
--- /dev/null
+++ b/games-mud/kmuddy/metadata.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>games</herd>
+<herd>kde</herd>
+</pkgmetadata>
diff --git a/games-mud/lyntin/Manifest b/games-mud/lyntin/Manifest
new file mode 100644
index 000000000000..d8bce9940cc6
--- /dev/null
+++ b/games-mud/lyntin/Manifest
@@ -0,0 +1 @@
+DIST lyntin-4.2.tar.gz 180111 SHA256 7e1d4ea273218cfc9e4a81adafd2e9e5df923e1f64d7baf36db5c7e353cea8fe SHA512 72792b0ffd3f07d6ad7ec335beca2b064e348c7e30c7517edb07a90ece0608b34ce68798fb7a0aa7ef6568ebbed14f5246368421f5e14c7520d306ae6a29e432 WHIRLPOOL 650ab535a26fa22e72d868770bf1d5a3b48e57a159a327531529e1197fec45354f06a00d7c018100616744a288961eb75a174e676c437fad9e43dbd9114a532b
diff --git a/games-mud/lyntin/lyntin-4.2-r1.ebuild b/games-mud/lyntin/lyntin-4.2-r1.ebuild
new file mode 100644
index 000000000000..7ba87f0cf9e2
--- /dev/null
+++ b/games-mud/lyntin/lyntin-4.2-r1.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+PYTHON_REQ_USE="tk?"
+
+inherit distutils-r1 games
+
+DESCRIPTION="tintin mud client clone implemented in Python"
+HOMEPAGE="http://lyntin.sourceforge.net/"
+SRC_URI="mirror://sourceforge/lyntin/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE="tk"
+
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
+RDEPEND=""
+
+DOCS=( COMMANDS PKG-INFO HACKING README )
+
+python_install() {
+ distutils-r1_python_install --install-scripts="${GAMES_BINDIR}"
+}
+
+src_prepare() {
+ distutils-r1_src_prepare
+}
+
+src_compile() {
+ distutils-r1_src_compile
+}
+
+src_install() {
+ distutils-r1_src_install
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ if use tk ; then
+ elog "To start lyntin in GUI mode, create a config file"
+ elog "with this in it:"
+ elog
+ elog "[Lyntin]"
+ elog "ui: tk"
+ elog
+ elog "Then start lyntin like this:"
+ elog
+ elog "runlyntin -c /path/to/config_file\n"
+ fi
+}
diff --git a/games-mud/lyntin/metadata.xml b/games-mud/lyntin/metadata.xml
new file mode 100644
index 000000000000..13ee14f49b0f
--- /dev/null
+++ b/games-mud/lyntin/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>games</herd>
+ <upstream>
+ <remote-id type="sourceforge">lyntin</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/games-mud/metadata.xml b/games-mud/metadata.xml
new file mode 100644
index 000000000000..a8e01b3f7cec
--- /dev/null
+++ b/games-mud/metadata.xml
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE catmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<catmetadata>
+ <longdescription lang="en">
+ The games-mud category contains multi-user dungeon games.
+ </longdescription>
+ <longdescription lang="de">
+ Die Kategorie games-mud enthält Multi-User Dungeon (MUD) Clients und Spiele.
+ </longdescription>
+ <longdescription lang="es">
+ La categoría games-mud contiene juegos de tipo MUD multijugador.
+ </longdescription>
+ <longdescription lang="ja">
+ games-mudカテゴリーには多人数用のダンジョン・ゲームが含まれています。
+ </longdescription>
+ <longdescription lang="nl">
+ De games-mud categorie bevat MUD (Multi-User Dungeon) spellen.
+ </longdescription>
+ <longdescription lang="vi">
+ Nhóm games-mud chứa các trò chơi dạng multi-user dungeon.
+ </longdescription>
+ <longdescription lang="sk">
+ Kategória games-mud obsahuje klienty a servery MUD (Multi User Dungeon).
+ </longdescription>
+ <longdescription lang="it">
+ La categoria games-mud contiene giochi di tipo MUD (Multi User Dungeon).
+ </longdescription>
+ <longdescription lang="pt">
+ A categoria games-mud contém jogos do tipo MUD (Multi User
+ Dungeon).
+ </longdescription>
+ <longdescription lang="pl">
+ Kategoria games-mud zawiera gry wieloosobowe typu MUD.
+ </longdescription>
+</catmetadata>
+
diff --git a/games-mud/mudix/Manifest b/games-mud/mudix/Manifest
new file mode 100644
index 000000000000..9d624e7de856
--- /dev/null
+++ b/games-mud/mudix/Manifest
@@ -0,0 +1 @@
+DIST mudix-4.3.tar.gz 43003 SHA256 91b5946fd09381135a226b3298298d67325b01f79a9ccb5641137376171fb680 SHA512 9f9c8ee43ded9b837eb50e463e67b666e0b2b34334d93e9a4471fa792da99350042cd8abbd9f8e97aa7ba114736b2d99c1b6595c76a5254270a514681130eb94 WHIRLPOOL 110753eeaf60003e9185032f4f581061f65d0fb2659f6aa4d6ca0fc183d5c49402a4f5623744fa41176d2553b2842b811ee5bd5ee499c42d5b5987f2e825fac8
diff --git a/games-mud/mudix/files/mudix-4.3-as-needed.patch b/games-mud/mudix/files/mudix-4.3-as-needed.patch
new file mode 100644
index 000000000000..51f5cc4d74fa
--- /dev/null
+++ b/games-mud/mudix/files/mudix-4.3-as-needed.patch
@@ -0,0 +1,11 @@
+--- src/Makefile.in.old 2009-02-08 17:32:15.000000000 +0100
++++ src/Makefile.in 2009-02-08 17:34:15.000000000 +0100
+@@ -23,7 +23,7 @@
+
+ $(EXEC): $(O_FILES)
+ rm -f $(EXEC)
+- $(CC) -o $(EXEC) $(L_FLAGS) $(O_FILES)
++ $(CC) -o $(EXEC) $(LDFLAGS) $(O_FILES) $(L_FLAGS)
+
+ .c.o: mudix.h conf.h
+ $(CC) -c $(C_FLAGS) $<
diff --git a/games-mud/mudix/metadata.xml b/games-mud/mudix/metadata.xml
new file mode 100644
index 000000000000..d3c2cc926f0b
--- /dev/null
+++ b/games-mud/mudix/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>games</herd>
+</pkgmetadata>
diff --git a/games-mud/mudix/mudix-4.3-r1.ebuild b/games-mud/mudix/mudix-4.3-r1.ebuild
new file mode 100644
index 000000000000..d47ab9f56e86
--- /dev/null
+++ b/games-mud/mudix/mudix-4.3-r1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit eutils games
+
+DESCRIPTION="A small, stable MUD client for the console"
+HOMEPAGE="http://dw.nl.eu.org/mudix.html"
+SRC_URI="http://dw.nl.eu.org/mudix/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE=""
+
+DEPEND="sys-libs/ncurses"
+RDEPEND=${DEPEND}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-as-needed.patch
+}
+
+src_compile() {
+ emake -C src O_FLAGS="${CFLAGS}"
+}
+
+src_install () {
+ dogamesbin mudix
+ dodoc README sample.usr
+ prepgamesdirs
+}
diff --git a/games-mud/powwow/Manifest b/games-mud/powwow/Manifest
new file mode 100644
index 000000000000..6f265ce21450
--- /dev/null
+++ b/games-mud/powwow/Manifest
@@ -0,0 +1 @@
+DIST powwow-1.2.16.tar.gz 295441 SHA256 6db8c6b82ab6dcc88856dc4b7723b2a9963fa16f03586efddcb9f8185fadaa58 SHA512 9bc046ba14760d55a7aabb550229d5f5b234f3ef0690d837f1de8df5e1f404b8483e61981cffdf8e82f164bd5a68f4da3f8342b0c09b98155adaabf14d8b079e WHIRLPOOL 342590dc59c1dec9a6c27643a4aae874e2280c617ebfac642e6ff48f07250250ec4d46503be45925ec19bcb647e9131098c975218c2fd31d8ae266f420f48a38
diff --git a/games-mud/powwow/files/powwow-1.2.16-underlinking.patch b/games-mud/powwow/files/powwow-1.2.16-underlinking.patch
new file mode 100644
index 000000000000..d6c5cceba1fd
--- /dev/null
+++ b/games-mud/powwow/files/powwow-1.2.16-underlinking.patch
@@ -0,0 +1,17 @@
+From: Julian Ospald <hasufell@gentoo.org>
+Date: Mon Feb 18 02:25:38 UTC 2013
+Subject: fix underlinking
+
+https://bugs.gentoo.org/show_bug.cgi?id=454928
+
+--- powwow-1.2.16/Makefile.am
++++ powwow-1.2.16/Makefile.am
+@@ -5,7 +5,7 @@
+ powwow_SOURCES = beam.c cmd.c log.c edit.c cmd2.c eval.c \
+ utils.c main.c tcp.c list.c map.c tty.c \
+ ptr.c
+-powwow_LDFLAGS = @dl_ldflags@
++powwow_LDADD = @dl_ldflags@
+ powwowdir = $(pkgincludedir)
+ powwow_HEADERS = beam.h cmd.h log.h edit.h cmd2.h eval.h \
+ utils.h main.h tcp.h list.h map.h tty.h \
diff --git a/games-mud/powwow/metadata.xml b/games-mud/powwow/metadata.xml
new file mode 100644
index 000000000000..d3c2cc926f0b
--- /dev/null
+++ b/games-mud/powwow/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>games</herd>
+</pkgmetadata>
diff --git a/games-mud/powwow/powwow-1.2.16.ebuild b/games-mud/powwow/powwow-1.2.16.ebuild
new file mode 100644
index 000000000000..8aa8279e3bd8
--- /dev/null
+++ b/games-mud/powwow/powwow-1.2.16.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit autotools eutils games
+
+DESCRIPTION="PowWow Console MUD Client"
+HOMEPAGE="http://hoopajoo.net/projects/powwow.html"
+SRC_URI="http://hoopajoo.net/static/projects/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE=""
+
+DEPEND="sys-libs/ncurses"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-underlinking.patch
+ # note that that the extra, seemingly-redundant files installed are
+ # actually used by in-game help commands
+ sed -i \
+ -e "s/pkgdata_DATA = powwow.doc/pkgdata_DATA = /" \
+ Makefile.am || die
+ mv configure.in configure.ac || die
+ eautoreconf
+}
+
+src_configure() {
+ egamesconf --includedir=/usr/include
+}
+
+src_install () {
+ DOCS="ChangeLog Config.demo Hacking NEWS powwow.doc powwow.help README.* TODO" \
+ default
+ prepgamesdirs
+}
diff --git a/games-mud/tf/Manifest b/games-mud/tf/Manifest
new file mode 100644
index 000000000000..8c8caebbb6f3
--- /dev/null
+++ b/games-mud/tf/Manifest
@@ -0,0 +1,4 @@
+DIST tf-50b8-help.tar.gz 175591 SHA256 d9f7c2475c6641100ff3f2e877917d4ec4660df1aaa46e0a4d510479f5d11b83 SHA512 fd0fcf7e96772cbb61a97d24d0327c45b31b280bca329dfe6c680137cc25b7db5b4b79c0f608ad213cd24a0f2a67ee471ce7ee1c405b039f52033d7d87974b74 WHIRLPOOL 41d7de945730c32c845fd1b530b996a49779e5ed6701f4ee6a7e7818bcea1fe7b4d9aa7b08fd2e37e647c7561d679b98d6f71383b5d1bf49c7982c58e590178f
+DIST tf-50b8.tar.gz 719553 SHA256 3750a114cf947b1e3d71cecbe258cb830c39f3186c369e368d4662de9c50d989 SHA512 3b99c039d7a9c6ab7ee7b1040ff7c99fe39cbe991f373333ea7c130d54383f102f14ae33303a415f5419cd43238caffc46114e842c6964329c0999e0f506e3d0 WHIRLPOOL 35f90e6f0880b21c269bdee11c04c251918cfb46d699731045b03d709ae6699e27b4c880b0af443f09fd6d392657ae9faf3ecef693cc3ddf7be3a3bf5837b3e7
+DIST tf-allrootpatch.txt 3349 SHA256 c11c5480666d7e0045680abd16e2dbd004e42036964b6a7862005402fbfe4600 SHA512 3fe44e7291d133abd04040f0f8258da6a2b7f67cab79cb1628897a4a483a0998495b6cf97eaf29ee447a650fdb16a48c846599807e570f687a256bb58179495e WHIRLPOOL 08db8f58f11a3469553c1ea1059190ea45b2c936443b12447b13acbbde5135d84bc0bcbcb3df72766d11ee38b023ea88ddbbeafe51904eacfd72e3cbfef95513
+DIST tf-allsrcpatch.txt 10392 SHA256 f2829b3de7cdf99fe636bbc90e72e9c6203fd64e6ff319dd018be50145084b9a SHA512 3ac2447e05911d156509bb44e8809c06c4b1a92cbc8067d196c7e5f688fccd5186a9073001958ca0e757c9db20e9f96889fe7a5b6255495539f23208f72ec613 WHIRLPOOL de040a72a9b4a79c2cdfd30ccea06ae812ca49159e53fbcc404c4ea1006394970ad41f2d45de032d28533e1cb8d2d6018737df839d9a3f29c0de4eac053d9d3c
diff --git a/games-mud/tf/files/tf-50_beta8-pcre.patch b/games-mud/tf/files/tf-50_beta8-pcre.patch
new file mode 100644
index 000000000000..4ff5e44db91b
--- /dev/null
+++ b/games-mud/tf/files/tf-50_beta8-pcre.patch
@@ -0,0 +1,61 @@
+From f61b5859d69c2d99264182f60f5ae1e430812b59 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Petr=20=C5=A0abata?= <contyk@redhat.com>
+Date: Fri, 10 Feb 2012 13:55:46 +0100
+Subject: [PATCH] Fix build with PCRE-8.30+
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+This patch fixes build with the latest PCRE release which removes some
+obsolete code tinyfugue still uses, namely pcre_info().
+
+Signed-off-by: Petr Šabata <contyk@redhat.com>
+---
+ src/macro.c | 3 ++-
+ src/pattern.c | 2 +-
+ src/pattern.h | 2 +-
+ 3 files changed, 4 insertions(+), 3 deletions(-)
+
+diff --git a/src/macro.c b/src/macro.c
+index ac28fc9..b492717 100644
+--- a/src/macro.c
++++ b/src/macro.c
+@@ -893,7 +893,8 @@ static int complete_macro(Macro *spec, unsigned int hash, int num,
+ }
+ spec->attr &= ~F_NONE;
+ if (spec->nsubattr) {
+- int n = pcre_info(spec->trig.ri->re, NULL, NULL);
++ int n;
++ pcre_fullinfo(spec->trig.ri->re, NULL, PCRE_INFO_CAPTURECOUNT, &n);
+ for (i = 0; i < spec->nsubattr; i++) {
+ spec->subattr[i].attr &= ~F_NONE;
+ if (spec->subattr[i].subexp > n) {
+diff --git a/src/pattern.c b/src/pattern.c
+index 047a44a..a7228ff 100644
+--- a/src/pattern.c
++++ b/src/pattern.c
+@@ -151,7 +151,7 @@ static RegInfo *tf_reg_compile_fl(const char *pattern, int optimize,
+ emsg ? emsg : "unknown error");
+ goto tf_reg_compile_error;
+ }
+- n = pcre_info(ri->re, NULL, NULL);
++ pcre_fullinfo(ri->re, NULL, PCRE_INFO_CAPTURECOUNT, &n);
+ if (n < 0) goto tf_reg_compile_error;
+ ri->ovecsize = 3 * (n + 1);
+ ri->ovector = dmalloc(NULL, sizeof(int) * ri->ovecsize, file, line);
+diff --git a/src/pattern.h b/src/pattern.h
+index 1eec0f9..cbe9af9 100644
+--- a/src/pattern.h
++++ b/src/pattern.h
+@@ -10,7 +10,7 @@
+ #ifndef PATTERN_H
+ #define PATTERN_H
+
+-#include "pcre-2.08/pcre.h"
++#include <pcre.h>
+
+ typedef struct RegInfo {
+ pcre *re;
+--
+1.7.7.6
+
diff --git a/games-mud/tf/files/tf-50_beta8-stdarg.patch b/games-mud/tf/files/tf-50_beta8-stdarg.patch
new file mode 100644
index 000000000000..6d568f4708a8
--- /dev/null
+++ b/games-mud/tf/files/tf-50_beta8-stdarg.patch
@@ -0,0 +1,30 @@
+diff -U5 -r tf-50b8.orig/src/tfio.c tf-50b8/src/tfio.c
+--- src/tfio.c.orig 2007-01-13 18:12:39.000000000 -0500
++++ src/tfio.c 2007-02-02 16:50:12.000000000 -0500
+@@ -495,10 +495,11 @@
+ const char *q, *sval;
+ char *specptr, quote;
+ const conString *Sval;
+ int len, min, max, leftjust, stars;
+ attr_t attrs = buf->attrs;
++ va_list aq;
+
+ if (!(flags & SP_APPEND) && buf->data) Stringtrunc(buf, 0);
+ while (*fmt) {
+ if (*fmt != '%' || *++fmt == '%') {
+ for (q = fmt + 1; *q && *q != '%'; q++);
+@@ -520,11 +521,13 @@
+ switch (*fmt) {
+ case 'd': case 'i':
+ case 'x': case 'X': case 'u': case 'o':
+ case 'f': case 'e': case 'E': case 'g': case 'G':
+ case 'p':
+- vsprintf(tempbuf, spec, ap);
++ va_copy(aq, ap);
++ vsprintf(tempbuf, spec, aq);
++ va_end(aq);
+ Stringcat(buf, tempbuf);
+ /* eat the arguments used by vsprintf() */
+ while (stars--) (void)va_arg(ap, int);
+ switch (*fmt) {
+ case 'd': case 'i':
diff --git a/games-mud/tf/metadata.xml b/games-mud/tf/metadata.xml
new file mode 100644
index 000000000000..12c9d5c70935
--- /dev/null
+++ b/games-mud/tf/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>games</herd>
+ <use>
+ <flag name="atcp">enable ATCP support.</flag>
+ <flag name="gmcp">enable GMCP support.</flag>
+ <flag name="option102">enable telnet option 102 support.</flag>
+ </use>
+ <upstream>
+ <remote-id type="sourceforge">tinyfugue</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/games-mud/tf/tf-50_beta8-r1.ebuild b/games-mud/tf/tf-50_beta8-r1.ebuild
new file mode 100644
index 000000000000..6395f602183c
--- /dev/null
+++ b/games-mud/tf/tf-50_beta8-r1.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit games
+
+MY_P="${P/_beta/b}"
+DESCRIPTION="A small, flexible, screen-oriented MUD client (aka TinyFugue)"
+HOMEPAGE="http://tinyfugue.sourceforge.net/"
+SRC_URI="mirror://sourceforge/tinyfugue/${MY_P}.tar.gz
+ http://homepage.mac.com/mikeride/abelinc/scripts/allrootpatch.txt ->
+ tf-allrootpatch.txt
+ http://homepage.mac.com/mikeride/abelinc/scripts/allsrcpatch.txt ->
+ tf-allsrcpatch.txt
+ doc? ( mirror://sourceforge/tinyfugue/${MY_P}-help.tar.gz )"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~ppc ~sparc x86"
+IUSE="+atcp debug doc +gmcp ipv6 +option102 ssl"
+
+RDEPEND="ssl? ( dev-libs/openssl )
+ dev-libs/libpcre"
+DEPEND=${RDEPEND}
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ epatch \
+ "${DISTDIR}"/tf-all*patch.txt \
+ "${FILESDIR}"/${P}-pcre.patch \
+ "${FILESDIR}"/${P}-stdarg.patch
+}
+
+src_configure() {
+ STRIP=: egamesconf \
+ $(use_enable atcp) \
+ $(use_enable gmcp) \
+ $(use_enable option102) \
+ $(use_enable ssl) \
+ $(use_enable debug core) \
+ $(use_enable ipv6 inet6) \
+ --enable-manpage
+}
+
+src_install() {
+ dogamesbin src/tf
+ newman src/tf.1.nroffman tf.1
+ dodoc CHANGES CREDITS README
+
+ insinto "${GAMES_DATADIR}"/${PN}-lib
+ # the application looks for this file here if /changes is called.
+ # see comments on bug #23274
+ doins CHANGES
+ insopts -m0755
+ doins tf-lib/*
+ if use doc ; then
+ cd ../${MY_P}-help
+ dohtml -r *.html commands topics
+ cd ../${MY_P}
+ fi
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ use ipv6 && {
+ echo
+ ewarn "You have merged TinyFugue with IPv6-support."
+ ewarn "Support for IPv6 is still being experimental."
+ ewarn "If you experience problems with connecting to hosts,"
+ ewarn "try re-merging this package with USE="-ipv6""
+ echo
+ }
+}
diff --git a/games-mud/tintin/Manifest b/games-mud/tintin/Manifest
new file mode 100644
index 000000000000..e79dc09b433d
--- /dev/null
+++ b/games-mud/tintin/Manifest
@@ -0,0 +1 @@
+DIST tintin-2.01.0.tar.gz 293651 SHA256 e0e35463a97ee5b33ef0b29b2c57fa8276c4e76328cb19c98a6ea92c603a9c76 SHA512 9bad5c3900965ff009c130f5bbeeee197b16bddaf4068329fd3282945ff7b8e17517254468c14f9c9979828ca3ea8bfebacdd3bbfb436d92a02b6ed9ed30af4f WHIRLPOOL e2fb023a38f0be63868ae0f333d19f621624f7b8b0bc8498d0b8cceb0e344df52ba7419829f341b7632a7f1d2c535add215c07911693ee479da74c616433d12a
diff --git a/games-mud/tintin/metadata.xml b/games-mud/tintin/metadata.xml
new file mode 100644
index 000000000000..61867dc41b23
--- /dev/null
+++ b/games-mud/tintin/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>games</herd>
+ <upstream>
+ <remote-id type="sourceforge">tintin</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/games-mud/tintin/tintin-2.01.0.ebuild b/games-mud/tintin/tintin-2.01.0.ebuild
new file mode 100644
index 000000000000..8a234acd3c84
--- /dev/null
+++ b/games-mud/tintin/tintin-2.01.0.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit games
+
+DESCRIPTION="(T)he k(I)cki(N) (T)ickin d(I)kumud clie(N)t"
+HOMEPAGE="http://tintin.sourceforge.net/"
+SRC_URI="mirror://sourceforge/tintin/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE=""
+
+DEPEND="sys-libs/zlib
+ dev-libs/libpcre
+ sys-libs/readline:0"
+RDEPEND=${DEPEND}
+
+S=${WORKDIR}/tt/src
+
+src_install () {
+ dogamesbin tt++
+ dodoc ../{CREDITS,FAQ,README,SCRIPTS,TODO,docs/*}
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ echo
+ ewarn "**** OLD TINTIN SCRIPTS ARE NOT 100% COMPATIBLE WITH THIS VERSION ****"
+ ewarn "read the README for more details."
+ echo
+}
diff --git a/games-mud/tkmoo/Manifest b/games-mud/tkmoo/Manifest
new file mode 100644
index 000000000000..1dfbe220d4a0
--- /dev/null
+++ b/games-mud/tkmoo/Manifest
@@ -0,0 +1 @@
+DIST tkMOO-light-0.3.32.tar.gz 95332 SHA256 8e5f5e2ed756587bf3f4687c574df3111bf77eff153f17fe1800ef98662c4b5b SHA512 59543692900613eae77b73f5f88a2380a77d1be38d486dc0461d0990ccb941497dd0d35aa109a5697dba3b92157d9943b540a73fe4fc0d519e144f65620443d2 WHIRLPOOL accbf77c88e403d0170856ce1356d15c49584f50da17afc568cae8cc1b36c597dcd64f965672164021d49800125bf39666e773db340c47ba7e3f0cabab196377
diff --git a/games-mud/tkmoo/files/0.3.32-Makefile-noclean.patch b/games-mud/tkmoo/files/0.3.32-Makefile-noclean.patch
new file mode 100644
index 000000000000..c61a29df0ac8
--- /dev/null
+++ b/games-mud/tkmoo/files/0.3.32-Makefile-noclean.patch
@@ -0,0 +1,15 @@
+--- Makefile.orig 2003-07-12 03:04:24.000000000 -0400
++++ Makefile 2003-07-12 03:04:32.000000000 -0400
+@@ -32,11 +32,8 @@
+
+ # some shells are set 'noclobber', so force overwriting of the
+ # executable and installation
+-clean:
+- \rm -f $(EXECUTABLE)
+- \rm -f $(TKMOO_BIN_DIR)/$(EXECUTABLE)
+
+-executable: clean
++executable:
+ if [ ! -e $(WISH) ]; then \
+ echo "***"; \
+ echo "*** Can't find executable '$(WISH)', building anyway..."; \
diff --git a/games-mud/tkmoo/files/0.3.32-keys-workaround.patch b/games-mud/tkmoo/files/0.3.32-keys-workaround.patch
new file mode 100644
index 000000000000..d70e017f09e4
--- /dev/null
+++ b/games-mud/tkmoo/files/0.3.32-keys-workaround.patch
@@ -0,0 +1,13 @@
+--- source.tcl.orig 2004-12-28 23:36:47.000000000 -0800
++++ source.tcl 2004-12-28 23:37:09.000000000 -0800
+@@ -51,6 +51,10 @@
+ #
+ #
+
++tk::unsupported::ExposePrivateCommand tkTextSetCursor
++tk::unsupported::ExposePrivateCommand tkTextScrollPages
++tk::unsupported::ExposePrivateCommand tkTextInsert
++
+ proc db.set { id field val args } {
+ global db
+ if { $args == {} } {
diff --git a/games-mud/tkmoo/metadata.xml b/games-mud/tkmoo/metadata.xml
new file mode 100644
index 000000000000..d3c2cc926f0b
--- /dev/null
+++ b/games-mud/tkmoo/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>games</herd>
+</pkgmetadata>
diff --git a/games-mud/tkmoo/tkmoo-0.3.32.ebuild b/games-mud/tkmoo/tkmoo-0.3.32.ebuild
new file mode 100644
index 000000000000..7e187456e131
--- /dev/null
+++ b/games-mud/tkmoo/tkmoo-0.3.32.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils games
+
+MY_PN=${PN/moo/MOO-light}
+MY_P=${P/moo/MOO-light}
+DESCRIPTION="MOO Client written in Tcl/Tk"
+HOMEPAGE="http://www.awns.com/tkMOO-light/"
+SRC_URI="http://www.awns.com/tkMOO-light/Source/${MY_P}.tar.gz"
+
+LICENSE="tkMOO"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+IUSE=""
+
+DEPEND="
+ >=dev-lang/tcl-8.3.3:0=
+ >=dev-lang/tk-8.3.3:0="
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}/${PV}-Makefile-noclean.patch" \
+ "${FILESDIR}/${PV}-keys-workaround.patch"
+}
+
+src_compile() {
+ emake \
+ WISH="$(type -P wish)" \
+ TKMOO_LIB_DIR="$(games_get_libdir)/${MY_PN}" \
+ TKMOO_BIN_DIR="${GAMES_BINDIR}"
+}
+
+src_install() {
+ emake \
+ TKMOO_LIB_DIR="${D}/$(games_get_libdir)/${MY_PN}" \
+ TKMOO_BIN_DIR="${D}/${GAMES_BINDIR}" \
+ install
+ dodoc README dot.tkmoolightrc bugsmail.txt
+ dosym tkMOO-lite "${GAMES_BINDIR}/tkmoo"
+ make_desktop_entry tkmoo "tkMOO"
+ prepgamesdirs
+}
diff --git a/games-mud/trebuchet/Manifest b/games-mud/trebuchet/Manifest
new file mode 100644
index 000000000000..9e5783929268
--- /dev/null
+++ b/games-mud/trebuchet/Manifest
@@ -0,0 +1 @@
+DIST trebuchet-1.075.tar.gz 339202 SHA256 5dcf76a8eaf2836ef54114e7d78f58f55d9122be83daa37e32bd55ffe1e47dbf SHA512 7d007172e228e1a33563b4141b9dc544de8d2ae124ec0ec1a9da8a253339d910ab00ce0570e1da81499a97aadfea701f9131fbafc20eae1e64830d1bd15ab1fa WHIRLPOOL 36ca2a860ab02ee963e15dcaa4680b5dd3ce269e54bab7cb5eaa310397be9f4b32fa510e692002d8fa14be4b80785f472a91c98bcdbb80e37570611aefaf806e
diff --git a/games-mud/trebuchet/metadata.xml b/games-mud/trebuchet/metadata.xml
new file mode 100644
index 000000000000..565ebc79b0bb
--- /dev/null
+++ b/games-mud/trebuchet/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>games</herd>
+ <upstream>
+ <remote-id type="sourceforge">trebuchet</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/games-mud/trebuchet/trebuchet-1.075.ebuild b/games-mud/trebuchet/trebuchet-1.075.ebuild
new file mode 100644
index 000000000000..80f816b69f49
--- /dev/null
+++ b/games-mud/trebuchet/trebuchet-1.075.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit games
+
+DESCRIPTION="A crossplatform TCL/TK based MUD client"
+HOMEPAGE="http://belfry.com/fuzzball/trebuchet/"
+SRC_URI="mirror://sourceforge/trebuchet/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 ~ppc x86"
+IUSE=""
+RESTRICT="test"
+
+RDEPEND="
+ >=dev-lang/tk-8.3.3:0=
+ dev-lang/tcl:0="
+
+src_prepare() {
+ sed -i \
+ -e "/Nothing/d" \
+ -e "/LN/ s:../libexec:${GAMES_DATADIR}:" \
+ Makefile || die
+}
+
+src_install() {
+ emake prefix="${D}/${GAMES_PREFIX}" \
+ ROOT="${D}/${GAMES_DATADIR}/${PN}" install
+
+ insinto "${GAMES_DATADIR}"/${PN}
+ doins COPYING
+ dodoc changes.txt readme.txt trebtodo.txt
+ prepgamesdirs
+}
diff --git a/games-mud/wxmud/metadata.xml b/games-mud/wxmud/metadata.xml
new file mode 100644
index 000000000000..b79539171d70
--- /dev/null
+++ b/games-mud/wxmud/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer>
+ <email>leio@gentoo.org</email>
+</maintainer>
+<longdescription>
+wxMUD is an open source cross-platform graphical MUD client featuring MCCP, MXP and MSP support, among other usual features.
+</longdescription>
+</pkgmetadata>
diff --git a/games-mud/wxmud/wxmud-9999.ebuild b/games-mud/wxmud/wxmud-9999.ebuild
new file mode 100644
index 000000000000..5d6d71bf90d2
--- /dev/null
+++ b/games-mud/wxmud/wxmud-9999.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+WX_GTK_VER=2.8
+PYTHON_COMPAT=( python2_7 )
+inherit flag-o-matic subversion wxwidgets autotools python-single-r1 games
+
+DESCRIPTION="Cross-platform MUD client"
+HOMEPAGE="http://wxmud.sourceforge.net/"
+SRC_URI=""
+ESVN_REPO_URI="https://wxmud.svn.sourceforge.net/svnroot/wxmud/trunk"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS=""
+IUSE="python"
+
+RDEPEND="x11-libs/wxGTK:${WX_GTK_VER}
+ >=x11-libs/gtk+-2.4:2
+ python? ( ${PYTHON_DEPS} )"
+DEPEND="${RDEPEND}"
+
+pkg_setup() {
+ games_pkg_setup
+ use python && python-single-r1_pkg_setup
+}
+
+src_unpack() {
+ subversion_src_unpack
+ cd "${S}" || die
+ AT_M4DIR="m4" eautoreconf
+}
+
+src_compile() {
+ append-flags -fno-strict-aliasing
+ # No audiere in portage yet, so useful MSP support is disabled for now
+ egamesconf \
+ --with-wx-config="${WX_CONFIG}" \
+ $(use_enable python) \
+ --disable-audiere
+ emake
+}
+
+src_install() {
+ default
+ dodoc docs/input.txt docs/scripting.txt
+ prepgamesdirs
+}