summaryrefslogtreecommitdiff
path: root/games-mud
diff options
context:
space:
mode:
authorPalica <palica+gitlab@liguros.net>2020-06-23 22:35:08 +0200
committerPalica <palica+gitlab@liguros.net>2020-06-23 22:35:08 +0200
commitecdac123787b96ce6649f0f91da12ea6458cc2b1 (patch)
treeb89c74d9e6fe6e8aebc4c77bcbeb4ab73214127d /games-mud
parent1be72aa41cf41dedadeecf59dca9f01de6381f5e (diff)
downloadbaldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.tar.gz
baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.tar.xz
baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.zip
Updating liguros repo
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.xml16
-rw-r--r--games-mud/crystal/Manifest1
-rw-r--r--games-mud/crystal/crystal-0.2.4-r1.ebuild40
-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.xml9
-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/files/gmudix-1.0-format.patch11
-rw-r--r--games-mud/gmudix/gmudix-1.0-r1.ebuild36
-rw-r--r--games-mud/gmudix/metadata.xml9
-rw-r--r--games-mud/gnome-mud/Manifest1
-rw-r--r--games-mud/gnome-mud/files/0.11.2-gst1.patch42
-rw-r--r--games-mud/gnome-mud/files/0.11.2-telopts-reenable.patch35
-rw-r--r--games-mud/gnome-mud/gnome-mud-0.11.2-r2.ebuild60
-rw-r--r--games-mud/gnome-mud/gnome-mud-9999.ebuild50
-rw-r--r--games-mud/gnome-mud/metadata.xml13
-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-r1.ebuild45
-rw-r--r--games-mud/kildclient/metadata.xml12
-rw-r--r--games-mud/lyntin/Manifest1
-rw-r--r--games-mud/lyntin/lyntin-4.2-r2.ebuild53
-rw-r--r--games-mud/lyntin/metadata.xml12
-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/files/mudix-4.3-tinfo.patch43
-rw-r--r--games-mud/mudix/metadata.xml9
-rw-r--r--games-mud/mudix/mudix-4.3-r2.ebuild38
-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.xml9
-rw-r--r--games-mud/powwow/powwow-1.2.16-r1.ebuild42
-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.xml17
-rw-r--r--games-mud/tf/tf-50_beta8-r2.ebuild70
-rw-r--r--games-mud/tintin/Manifest1
-rw-r--r--games-mud/tintin/metadata.xml12
-rw-r--r--games-mud/tintin/tintin-2.01.8.ebuild32
-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.xml9
-rw-r--r--games-mud/tkmoo/tkmoo-0.3.32-r1.ebuild45
-rw-r--r--games-mud/trebuchet/Manifest1
-rw-r--r--games-mud/trebuchet/metadata.xml12
-rw-r--r--games-mud/trebuchet/trebuchet-1.075-r1.ebuild37
53 files changed, 1325 insertions, 0 deletions
diff --git a/games-mud/circlemud/Manifest b/games-mud/circlemud/Manifest
new file mode 100644
index 000000000000..7a0c5a3ea836
--- /dev/null
+++ b/games-mud/circlemud/Manifest
@@ -0,0 +1 @@
+DIST circle-3.1.tar.bz2 1176136 BLAKE2B f48a8feeb2cca17f23142f3456e09bc319aa26e2e295badc0e80b9d5f87f09f30f697ffba87c2edefdd6f77c8c56af68e395532c4a2232687c02ad869c19fb3f SHA512 161a0fd74aa248f6b357447be1de2d7c55e1fd281e9621d1cf7eb02d802ae06f362a318eeb3eb2425aad96620f71775245775a3aa42250e4374e8c82947df194
diff --git a/games-mud/circlemud/circlemud-3.1.ebuild b/games-mud/circlemud/circlemud-3.1.ebuild
new file mode 100644
index 000000000000..0e4c0eb1a255
--- /dev/null
+++ b/games-mud/circlemud/circlemud-3.1.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit eutils games
+
+DESCRIPTION="a multi-user dungeon game system server"
+HOMEPAGE="https://www.circlemud.org/"
+SRC_URI="https://www.circlemud.org/pub/CircleMUD/3.x/circle-${PV}.tar.bz2"
+
+LICENSE="circlemud"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="dev-libs/openssl:0="
+RDEPEND=${DEPEND}
+
+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..399f56ad0b94
--- /dev/null
+++ b/games-mud/circlemud/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>games@gentoo.org</email>
+ <name>Gentoo Games Project</name>
+</maintainer>
+<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>
+ <origin>gentoo-staging</origin>
+</pkgmetadata>
diff --git a/games-mud/crystal/Manifest b/games-mud/crystal/Manifest
new file mode 100644
index 000000000000..b1199d2ad161
--- /dev/null
+++ b/games-mud/crystal/Manifest
@@ -0,0 +1 @@
+DIST crystal-0.2.4.tar.gz 146962 BLAKE2B 0b98e7db594ea27be26d7391c1f1ee8cdbf3239b9d841ebebf61d1022e492e3791057b70ddbe67f3da2e4a93c5b2d3f390ee2852cb489cbad7426b14661b7de0 SHA512 8493b0d84db610606ce97e918cfa418123c39e5afffb4bf880aa905c46dc13d0b7ff0366b497e020276afadf9db951fcd6fa7aa0e25f5357574fa465ee152916
diff --git a/games-mud/crystal/crystal-0.2.4-r1.ebuild b/games-mud/crystal/crystal-0.2.4-r1.ebuild
new file mode 100644
index 000000000000..c5f5e04e44bf
--- /dev/null
+++ b/games-mud/crystal/crystal-0.2.4-r1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit autotools eutils
+
+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 ~x86"
+IUSE=""
+
+RDEPEND="
+ dev-libs/openssl:0=
+ sys-libs/ncurses:0=
+ sys-libs/zlib
+ virtual/libiconv"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-gcc43.patch
+ "${FILESDIR}"/${P}-build.patch
+)
+
+src_prepare() {
+ default
+
+ # avoid colliding with xscreensaver (bug #281191)
+ mv crystal.6 crystal-mud.6 || die
+ mv configure.in configure.ac || die
+ eautoreconf
+}
+
+src_configure() {
+ econf --disable-scripting
+}
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..1f8917e4056d
--- /dev/null
+++ b/games-mud/crystal/files/crystal-0.2.4-build.patch
@@ -0,0 +1,28 @@
+--- a/configure.in
++++ b/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]))
+
+--- a/Makefile.am
++++ b/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..dbb4e2a1649f
--- /dev/null
+++ b/games-mud/crystal/files/crystal-0.2.4-gcc43.patch
@@ -0,0 +1,11 @@
+--- a/common.h
++++ b/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..972e3be0ecc4
--- /dev/null
+++ b/games-mud/crystal/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>games@gentoo.org</email>
+ <name>Gentoo Games Project</name>
+</maintainer>
+ <origin>gentoo-staging</origin>
+</pkgmetadata>
diff --git a/games-mud/gmudix/Manifest b/games-mud/gmudix/Manifest
new file mode 100644
index 000000000000..13285c23bff7
--- /dev/null
+++ b/games-mud/gmudix/Manifest
@@ -0,0 +1 @@
+DIST gmudix-1.0.tar.gz 137548 BLAKE2B 5b6b5cb75a41967e8a436651397e2560303006f34a88cf47991b331a60589b9e47835657155bf284f569180169f10a5f8871659d1d380a1cf211b8d853e2c575 SHA512 c22a725af6914d5177a737c1abf1ee38c133854fab8723dc01a89739b58214937008c3931ccc5928e88ee1ecbda385304ff862606eacec377addd6ee8de02b38
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..fe1de7b8cbdc
--- /dev/null
+++ b/games-mud/gmudix/files/gmudix-1.0-as-needed.patch
@@ -0,0 +1,28 @@
+--- a/configure.in
++++ b/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
+--- a/src/Makefile.am
++++ b/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/files/gmudix-1.0-format.patch b/games-mud/gmudix/files/gmudix-1.0-format.patch
new file mode 100644
index 000000000000..4bb9729840e8
--- /dev/null
+++ b/games-mud/gmudix/files/gmudix-1.0-format.patch
@@ -0,0 +1,11 @@
+--- a/src/gui_user.c 2016-02-04 21:21:15.141455597 +0100
++++ b/src/gui_user.c 2016-02-04 21:21:31.016156493 +0100
+@@ -820,7 +820,7 @@
+
+ dialog = gtk_message_dialog_new(GTK_WINDOW(user->gui_user.g_window),
+ GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_INFO,
+- GTK_BUTTONS_CLOSE, msg);
++ GTK_BUTTONS_CLOSE, "%s", msg);
+
+ gtk_window_set_transient_for(GTK_WINDOW(user->gui_user.g_window),
+ GTK_WINDOW(dialog));
diff --git a/games-mud/gmudix/gmudix-1.0-r1.ebuild b/games-mud/gmudix/gmudix-1.0-r1.ebuild
new file mode 100644
index 000000000000..fa4c5f6bdf05
--- /dev/null
+++ b/games-mud/gmudix/gmudix-1.0-r1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit autotools eutils
+
+DESCRIPTION="GTK+ MUD client with many features 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 ~x86"
+IUSE=""
+
+RDEPEND="x11-libs/gtk+:2"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-as-needed.patch
+ "${FILESDIR}"/${P}-format.patch
+)
+
+src_prepare() {
+ default
+
+ mv configure.in configure.ac || die
+ rm -f missing || die
+ eautoreconf
+}
+
+src_install() {
+ dobin src/${PN}
+ dodoc AUTHORS ChangeLog README TODO doc/*txt
+}
diff --git a/games-mud/gmudix/metadata.xml b/games-mud/gmudix/metadata.xml
new file mode 100644
index 000000000000..972e3be0ecc4
--- /dev/null
+++ b/games-mud/gmudix/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>games@gentoo.org</email>
+ <name>Gentoo Games Project</name>
+</maintainer>
+ <origin>gentoo-staging</origin>
+</pkgmetadata>
diff --git a/games-mud/gnome-mud/Manifest b/games-mud/gnome-mud/Manifest
new file mode 100644
index 000000000000..c940700aedb2
--- /dev/null
+++ b/games-mud/gnome-mud/Manifest
@@ -0,0 +1 @@
+DIST gnome-mud-0.11.2.tar.bz2 444294 BLAKE2B e3e1c6ebb4dbd4169f947adb5e481db19b8a7d774866e56e17d6448486b2962cdd5a021195e3b26840143362dbe60c519105166c7b5f8d0f9cc10e3563eef8f9 SHA512 b8dd4ffa0cd5ab7077b21c908fb92b6b5c3e1fc65c06c890d8ebb4ab4fd6d1f8ac4a67d9a815634fc45f3357dd495ba329057df5662c00d2074278a16470c422
diff --git a/games-mud/gnome-mud/files/0.11.2-gst1.patch b/games-mud/gnome-mud/files/0.11.2-gst1.patch
new file mode 100644
index 000000000000..64c6682c6726
--- /dev/null
+++ b/games-mud/gnome-mud/files/0.11.2-gst1.patch
@@ -0,0 +1,42 @@
+From 15c37855ab3559efaeffcef651c98ed971ae84bb Mon Sep 17 00:00:00 2001
+From: Steven Jackson
+Date: Wed, 19 Apr 2017 20:02:57 +0100
+Subject: [PATCH] gstreamer: Upgrade to 1.0 from 0.10
+---
+ configure.ac | 6 +++---
+ gnome-mud.spec.in | 4 ++--
+ 2 files changed, 5 insertions(+), 5 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index 50c4c81..125b054 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -76,7 +76,7 @@ LIBGNET_REQUIRED=0.22
+ VTE_REQUIRED=0.11.00
+ PCRE_REQUIRED=6.0.0
+ GCONF_REQUIRED=0.20
+-GSTREAMER_REQUIRED=0.10
++GSTREAMER_REQUIRED=1.0
+
+ PKG_CHECK_MODULES(GMUD, gtk+-2.0 >= $GTK_REQUIRED vte >= $VTE_REQUIRED libglade-2.0 >= $LIBGLADE_REQUIRED libpcre >= $PCRE_REQUIRED gmodule-2.0 >= $GMODULE_REQUIRED gnet-2.0 >= $LIBGNET_REQUIRED gconf-2.0 >= $GCONF_REQUIRED)
+ AC_SUBST(GMUD_CFLAGS)
+@@ -114,14 +114,14 @@ AC_ARG_ENABLE(gstreamer,
+ [Enable GStreamer used for MSP (Mud Sound Protocol) Default=auto]),,
+ enable_gstreamer=auto)
+ if test "x$enable_gstreamer" != "xno"; then
+- PKG_CHECK_EXISTS(gstreamer-0.10, have_gst=yes, have_gst=no)
++ PKG_CHECK_EXISTS(gstreamer-1.0, have_gst=yes, have_gst=no)
+ if test "x$have_gst" = "xno" -a "x$enable_gstreamer" = "xyes"; then
+ AC_MSG_ERROR([Gstreamer support explicitly requested but libgstreamer was not found])
+ fi
+ if test "x$have_gst" = "xyes"; then
+ AC_DEFINE(ENABLE_GST, 1, [Define if GStreamer should be enabled])
+ enable_gstreamer=yes
+- PKG_CHECK_MODULES(MSP, gstreamer-0.10 >= $GSTREAMER_REQUIRED)
++ PKG_CHECK_MODULES(MSP, gstreamer-1.0 >= $GSTREAMER_REQUIRED)
+ fi
+ fi
+ AM_CONDITIONAL(USE_GSTREAMER, test "x$enable_gstreamer" = xyes)
+--
+2.10.2
+
diff --git a/games-mud/gnome-mud/files/0.11.2-telopts-reenable.patch b/games-mud/gnome-mud/files/0.11.2-telopts-reenable.patch
new file mode 100644
index 000000000000..ebafe30c4cf4
--- /dev/null
+++ b/games-mud/gnome-mud/files/0.11.2-telopts-reenable.patch
@@ -0,0 +1,35 @@
+From 62b043beedc14741a000e848a004ba44982b28b8 Mon Sep 17 00:00:00 2001
+From: Steven Jackson
+Date: Wed, 19 Apr 2017 10:38:18 +0000
+Subject: [PATCH] mud-telnet: Fix re-enabling disabled TELOPTS
+
+When the server disabled a TELOPT it wasn't possible for it to
+re-enable it, as it should.
+
+Enabling and disabling MSP and CHARSET in the preferences window
+doesn't control the MudTelnetHandler enabled field, so this change
+doesn't break that. Those preferences are used at a higher level,
+in mud-window-view.c.
+
+Thanks to shentino for reporting and assisting with the fix.
+
+Bug report: https://bugzilla.gnome.org/show_bug.cgi?id=781452
+---
+ src/mud-telnet.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/mud-telnet.c b/src/mud-telnet.c
+index 052ba04..0fe274a 100644
+--- a/src/mud-telnet.c
++++ b/src/mud-telnet.c
+@@ -939,7 +939,7 @@ mud_telnet_handle_positive_nego(MudTelnet *telnet,
+ // his state to YES and send DO; otherwise send DONT
+ // FIXME-US/HIM
+ // FIXME: What to do in the opposite "him" gint value case?
+- if (mud_telnet_isenabled(telnet, opt_no, him))
++ if (mud_telnet_get_index_by_option(telnet, opt_no) != -1)
+ {
+ mud_telnet_set_telopt_state(opt, TELOPT_STATE_YES, bitshift);
+ mud_telnet_send_iac(telnet, affirmative, opt_no);
+--
+1.9.1
diff --git a/games-mud/gnome-mud/gnome-mud-0.11.2-r2.ebuild b/games-mud/gnome-mud/gnome-mud-0.11.2-r2.ebuild
new file mode 100644
index 000000000000..07b8f8194856
--- /dev/null
+++ b/games-mud/gnome-mud/gnome-mud-0.11.2-r2.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+GNOME_TARBALL_SUFFIX="bz2"
+GNOME2_EAUTORECONF="yes"
+
+inherit gnome2
+
+DESCRIPTION="GNOME MUD client"
+HOMEPAGE="https://wiki.gnome.org/Apps/GnomeMud"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="gstreamer"
+
+RDEPEND="virtual/libintl
+ dev-libs/libpcre
+ dev-perl/XML-Parser
+ gnome-base/gconf:2
+ >=gnome-base/libglade-2.0.1:2.0
+ gstreamer? ( media-libs/gstreamer:1.0 )
+ net-libs/gnet:2
+ x11-libs/gtk+:2
+ >=x11-libs/vte-0.11:0"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ app-text/rarian
+ >=dev-util/intltool-0.23
+ >=sys-devel/gettext-0.11.5"
+
+PATCHES=(
+ "${FILESDIR}"/${PV}-telopts-reenable.patch #616000
+ "${FILESDIR}"/${PV}-gst1.patch # Needs eautoreconf
+)
+
+src_configure() {
+ gnome2_src_configure \
+ $(use_enable gstreamer)
+}
+
+src_install() {
+ DOCS="AUTHORS BUGS ChangeLog NEWS PLUGIN.API README ROADMAP" \
+ gnome2_src_install
+}
+
+pkg_preinst() {
+ gnome2_pkg_preinst
+}
+
+pkg_postinst() {
+ gnome2_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/gnome-mud-9999.ebuild b/games-mud/gnome-mud/gnome-mud-9999.ebuild
new file mode 100644
index 000000000000..2f5881345670
--- /dev/null
+++ b/games-mud/gnome-mud/gnome-mud-9999.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+GNOME2_EAUTORECONF="yes"
+
+inherit gnome2-utils git-r3 meson xdg
+
+DESCRIPTION="GNOME MUD client"
+HOMEPAGE="https://wiki.gnome.org/Apps/GnomeMud"
+SRC_URI=""
+EGIT_REPO_URI="https://gitlab.gnome.org/GNOME/gnome-mud.git"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS=""
+IUSE="debug gstreamer"
+
+RDEPEND="
+ >=dev-libs/glib-2.48:2
+ >=x11-libs/gtk+-3.22:3
+ >=x11-libs/vte-0.37:2.91
+ dev-libs/libpcre
+ sys-libs/zlib
+ gstreamer? ( media-libs/gstreamer:1.0 )"
+DEPEND="${RDEPEND}
+ dev-util/glib-utils
+ >=sys-devel/gettext-0.19.8
+ virtual/pkgconfig"
+
+src_configure() {
+ local emesonargs=(
+ -Dmccp=enabled
+ -Dgstreamer=$(usex gstreamer enabled disabled)
+ $(meson_use debug debug-logger)
+ )
+ meson_src_configure
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+ gnome2_icon_cache_update
+ gnome2_schemas_update
+}
+
+pkg_postrm() {
+ xdg_pkg_postrm
+ gnome2_icon_cache_update
+ gnome2_schemas_update
+}
diff --git a/games-mud/gnome-mud/metadata.xml b/games-mud/gnome-mud/metadata.xml
new file mode 100644
index 000000000000..f88442276e53
--- /dev/null
+++ b/games-mud/gnome-mud/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+ <email>leio@gentoo.org</email>
+ <name>Mart Raudsepp</name>
+</maintainer>
+<maintainer type="project">
+ <email>games@gentoo.org</email>
+ <name>Gentoo Games Project</name>
+</maintainer>
+ <origin>gentoo-staging</origin>
+</pkgmetadata>
diff --git a/games-mud/kildclient/Manifest b/games-mud/kildclient/Manifest
new file mode 100644
index 000000000000..0e41ab953c70
--- /dev/null
+++ b/games-mud/kildclient/Manifest
@@ -0,0 +1 @@
+DIST kildclient-3.0.1.tar.gz 1838526 BLAKE2B 06243adbd682574f0ff155b9087fa81a35c2b7462b8051a9315d67eeb520dd6211e8c402d7f90a76a04d105f517645e628cec5d355c8f1b6725775fd94eb3911 SHA512 835b31b2e45a5895fd4aefcb662d6c3bf2c888836f12511ef7bc6c15a12dac8563bc9226dbc33fb75915fdf6024ed61a0a05185d0998646ba380410d6e33a706
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-r1.ebuild b/games-mud/kildclient/kildclient-3.0.1-r1.ebuild
new file mode 100644
index 000000000000..0722a19dc538
--- /dev/null
+++ b/games-mud/kildclient/kildclient-3.0.1-r1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit autotools eutils
+
+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="
+ dev-lang/perl
+ dev-perl/Locale-gettext
+ dev-perl/JSON
+ sys-libs/zlib
+ x11-libs/gtk+:3
+ virtual/libintl
+ spell? ( app-text/gtkspell:3 )
+ gnutls? ( net-libs/gnutls )"
+DEPEND="${RDEPEND}
+ sys-devel/gettext
+ virtual/pkgconfig"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-gentoo.patch
+)
+
+src_prepare() {
+ default
+
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --localedir=/usr/share/locale \
+ $(use_with spell gtkspell) \
+ $(use_with gnutls libgnutls) \
+ $(use_with doc docs)
+}
diff --git a/games-mud/kildclient/metadata.xml b/games-mud/kildclient/metadata.xml
new file mode 100644
index 000000000000..822453168d5a
--- /dev/null
+++ b/games-mud/kildclient/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>games@gentoo.org</email>
+ <name>Gentoo Games Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">kildclient</remote-id>
+ </upstream>
+ <origin>gentoo-staging</origin>
+</pkgmetadata>
diff --git a/games-mud/lyntin/Manifest b/games-mud/lyntin/Manifest
new file mode 100644
index 000000000000..5af064f841eb
--- /dev/null
+++ b/games-mud/lyntin/Manifest
@@ -0,0 +1 @@
+DIST lyntin-4.2.tar.gz 180111 BLAKE2B e54c7c609f9f6150a6aa30b0ef9d913cad16ada0e227bdd9369dd02b27b5f6871cd64f10e0f404cef68ba91ab4be2d28e77e6dcbbee95d35bb21ebaae9f0ee28 SHA512 72792b0ffd3f07d6ad7ec335beca2b064e348c7e30c7517edb07a90ece0608b34ce68798fb7a0aa7ef6568ebbed14f5246368421f5e14c7520d306ae6a29e432
diff --git a/games-mud/lyntin/lyntin-4.2-r2.ebuild b/games-mud/lyntin/lyntin-4.2-r2.ebuild
new file mode 100644
index 000000000000..a579a566c971
--- /dev/null
+++ b/games-mud/lyntin/lyntin-4.2-r2.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+PYTHON_REQ_USE="tk?"
+
+inherit distutils-r1
+
+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 ~x86"
+IUSE="tk"
+
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
+RDEPEND=""
+
+DOCS=( COMMANDS PKG-INFO HACKING README )
+
+python_install() {
+ distutils-r1_python_install --install-scripts=/usr/bin
+}
+
+src_prepare() {
+ distutils-r1_src_prepare
+}
+
+src_compile() {
+ distutils-r1_src_compile
+}
+
+src_install() {
+ distutils-r1_src_install
+}
+
+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..06af1c7fe932
--- /dev/null
+++ b/games-mud/lyntin/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>games@gentoo.org</email>
+ <name>Gentoo Games Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">lyntin</remote-id>
+ </upstream>
+ <origin>gentoo-staging</origin>
+</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..783448bddb1d
--- /dev/null
+++ b/games-mud/mudix/Manifest
@@ -0,0 +1 @@
+DIST mudix-4.3.tar.gz 43003 BLAKE2B e7bc7a053de3987ae9903cda01b6d5cf3bcf7967bc25bc502d8968792638b890afadaf2e66f09890a83beb80e5e340ec4af8b8559f967020ed76a4954b925b0a SHA512 9f9c8ee43ded9b837eb50e463e67b666e0b2b34334d93e9a4471fa792da99350042cd8abbd9f8e97aa7ba114736b2d99c1b6595c76a5254270a514681130eb94
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..4230ac507763
--- /dev/null
+++ b/games-mud/mudix/files/mudix-4.3-as-needed.patch
@@ -0,0 +1,11 @@
+--- a/src/Makefile.in 2009-02-08 17:32:15.000000000 +0100
++++ b/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/files/mudix-4.3-tinfo.patch b/games-mud/mudix/files/mudix-4.3-tinfo.patch
new file mode 100644
index 000000000000..0c11f235244e
--- /dev/null
+++ b/games-mud/mudix/files/mudix-4.3-tinfo.patch
@@ -0,0 +1,43 @@
+https://bugs.gentoo.org/690072
+
+--- mudix-4.3/configure.in
++++ mudix-4.3/configure.in
+@@ -4,9 +4,12 @@
+
+ dnl Checks for programs.
+ AC_PROG_CC
++PKG_PROG_PKG_CONFIG
+
+ dnl Checks for libraries.
+-AC_CHECK_LIB(ncurses, initscr)
++PKG_CHECK_MODULES(NCURSES, ncurses,,
++ [AC_MSG_ERROR([Cannot find ncurses libs])]
++ )
+ AC_CHECK_LIB(panel, new_panel)
+
+ dnl Checks for header files.
+--- mudix-4.3/Makefile.in
++++ mudix-4.3/Makefile.in
+@@ -1,5 +1,7 @@
++export NCURSES_LIBS=@NCURSES_LIBS@
++
+ all:
+- (cd src; make)
++ $(MAKE) -C src
+
+ clean:
+- (cd src; make $@)
++ $(MAKE) -C src $@
+--- mudix-4.3/src/Makefile.in
++++ mudix-4.3/src/Makefile.in
+@@ -2,9 +2,8 @@
+ #DEBUG = -DKEY_DEBUG
+ DEBUG =
+ EXEC = ../mudix
+-O_FLAGS = -O -g
+ C_FLAGS = $(O_FLAGS) $(DEBUG) -Wall -I../include
+-L_FLAGS = $(O_FLAGS) $(DEBUG) -lpanel -lncurses
++L_FLAGS = $(O_FLAGS) $(DEBUG) -lpanel $(NCURSES_LIBS)
+
+ O_FILES = alias.o \
+ commands.o \
diff --git a/games-mud/mudix/metadata.xml b/games-mud/mudix/metadata.xml
new file mode 100644
index 000000000000..972e3be0ecc4
--- /dev/null
+++ b/games-mud/mudix/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>games@gentoo.org</email>
+ <name>Gentoo Games Project</name>
+</maintainer>
+ <origin>gentoo-staging</origin>
+</pkgmetadata>
diff --git a/games-mud/mudix/mudix-4.3-r2.ebuild b/games-mud/mudix/mudix-4.3-r2.ebuild
new file mode 100644
index 000000000000..43a39d82d5cd
--- /dev/null
+++ b/games-mud/mudix/mudix-4.3-r2.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools
+
+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 ~x86"
+IUSE=""
+
+DEPEND="sys-libs/ncurses:0="
+RDEPEND="${DEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-as-needed.patch
+ "${FILESDIR}"/${P}-tinfo.patch
+)
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_compile() {
+ emake O_FLAGS="${CFLAGS}"
+}
+
+src_install() {
+ dobin mudix
+ dodoc README sample.usr
+}
diff --git a/games-mud/powwow/Manifest b/games-mud/powwow/Manifest
new file mode 100644
index 000000000000..4bdf237f7fba
--- /dev/null
+++ b/games-mud/powwow/Manifest
@@ -0,0 +1 @@
+DIST powwow-1.2.16.tar.gz 295441 BLAKE2B 36f45e57af83b624e8f061ba7cc10ac7429b42bba56b1f61c737d9541ded788e5d94c76e1c70d00f49aac98a2a1fac6a04965d2eb78e587d53cea8b0d17ea736 SHA512 9bc046ba14760d55a7aabb550229d5f5b234f3ef0690d837f1de8df5e1f404b8483e61981cffdf8e82f164bd5a68f4da3f8342b0c09b98155adaabf14d8b079e
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..972e3be0ecc4
--- /dev/null
+++ b/games-mud/powwow/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>games@gentoo.org</email>
+ <name>Gentoo Games Project</name>
+</maintainer>
+ <origin>gentoo-staging</origin>
+</pkgmetadata>
diff --git a/games-mud/powwow/powwow-1.2.16-r1.ebuild b/games-mud/powwow/powwow-1.2.16-r1.ebuild
new file mode 100644
index 000000000000..5529c4d4e37b
--- /dev/null
+++ b/games-mud/powwow/powwow-1.2.16-r1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit autotools eutils
+
+DESCRIPTION="PowWow Console MUD Client"
+HOMEPAGE="https://www.hoopajoo.net/projects/powwow.html"
+SRC_URI="https://www.hoopajoo.net/static/projects/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="sys-libs/ncurses:0"
+RDEPEND=${DEPEND}
+
+PATCHES=(
+ "${FILESDIR}"/${P}-underlinking.patch
+)
+
+src_prepare() {
+ default
+
+ # 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() {
+ econf --includedir=/usr/include
+}
+
+src_install() {
+ DOCS="ChangeLog Config.demo Hacking NEWS powwow.doc powwow.help README.* TODO" \
+ default
+}
diff --git a/games-mud/tf/Manifest b/games-mud/tf/Manifest
new file mode 100644
index 000000000000..1e69e03b54d2
--- /dev/null
+++ b/games-mud/tf/Manifest
@@ -0,0 +1,4 @@
+DIST tf-50b8-help.tar.gz 175591 BLAKE2B b4b5d2be336206fa00db870367369454d33a7e32c0aed83a3eed107feba9a5737ad6c7963b8c570cede6e3de80b211edb4ed6dd818b4ca90e23e8bab99a92725 SHA512 fd0fcf7e96772cbb61a97d24d0327c45b31b280bca329dfe6c680137cc25b7db5b4b79c0f608ad213cd24a0f2a67ee471ce7ee1c405b039f52033d7d87974b74
+DIST tf-50b8.tar.gz 719553 BLAKE2B 3218878cdc4a2049fd7f2a8e0426ec589bf304e0bb24ad557e5bea39cbaba76e6a1c52f064860e499623abb51bc9f14a0c8388b927fd15a66a7945fe5eaccf84 SHA512 3b99c039d7a9c6ab7ee7b1040ff7c99fe39cbe991f373333ea7c130d54383f102f14ae33303a415f5419cd43238caffc46114e842c6964329c0999e0f506e3d0
+DIST tf-allrootpatch.txt 3349 BLAKE2B ca57b7ddfdbaa377c69ad07427185a3952368d35231f4bca77c78a5ed7b5c1c362f4ef1512e23c248b96810739056e8f53c4d41320a1c1dc320b1fd22d965199 SHA512 3fe44e7291d133abd04040f0f8258da6a2b7f67cab79cb1628897a4a483a0998495b6cf97eaf29ee447a650fdb16a48c846599807e570f687a256bb58179495e
+DIST tf-allsrcpatch.txt 10392 BLAKE2B 9a24f99d6bdaa835b4cc2588d87824ea07a12fee38d576ec63f48493f5b92c7155ad959fa80599edf28a39f76d85ba8a2a19e1ff2b03c7893fe4d7b4b7d9af97 SHA512 3ac2447e05911d156509bb44e8809c06c4b1a92cbc8067d196c7e5f688fccd5186a9073001958ca0e757c9db20e9f96889fe7a5b6255495539f23208f72ec613
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..a34b70abe1fd
--- /dev/null
+++ b/games-mud/tf/files/tf-50_beta8-stdarg.patch
@@ -0,0 +1,30 @@
+diff -U5 -r a/src/tfio.c b/src/tfio.c
+--- a/src/tfio.c 2007-01-13 18:12:39.000000000 -0500
++++ b/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..5aed66710679
--- /dev/null
+++ b/games-mud/tf/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>games@gentoo.org</email>
+ <name>Gentoo Games Project</name>
+ </maintainer>
+ <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>
+ <origin>gentoo-staging</origin>
+</pkgmetadata>
diff --git a/games-mud/tf/tf-50_beta8-r2.ebuild b/games-mud/tf/tf-50_beta8-r2.ebuild
new file mode 100644
index 000000000000..1009fb07dc03
--- /dev/null
+++ b/games-mud/tf/tf-50_beta8-r2.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+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 ~x86"
+IUSE="+atcp debug doc +gmcp ipv6 +option102 ssl"
+
+RDEPEND="
+ ssl? ( dev-libs/openssl:0= )
+ dev-libs/libpcre"
+DEPEND=${RDEPEND}
+
+S=${WORKDIR}/${MY_P}
+
+PATCHES=(
+ "${DISTDIR}"/tf-allrootpatch.txt
+ "${DISTDIR}"/tf-allsrcpatch.txt
+ "${FILESDIR}"/${P}-pcre.patch
+ "${FILESDIR}"/${P}-stdarg.patch
+)
+
+src_configure() {
+ STRIP=: econf \
+ $(use_enable atcp) \
+ $(use_enable gmcp) \
+ $(use_enable option102) \
+ $(use_enable ssl) \
+ $(use_enable debug core) \
+ $(use_enable ipv6 inet6) \
+ --enable-manpage
+}
+
+src_install() {
+ dobin src/tf
+ newman src/tf.1.nroffman tf.1
+
+ use doc && HTML_DOCS=( ../${MY_P}-help/{*.html,commands,topics} )
+ einstalldocs
+
+ insinto /usr/share/${PN}-lib
+ # the application looks for this file here if /changes is called.
+ # see comments on bug #23274
+ doins CHANGES
+ insopts -m0755
+ doins -r tf-lib/.
+}
+
+pkg_postinst() {
+ if use ipv6; then
+ ewarn
+ 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""
+ ewarn
+ fi
+}
diff --git a/games-mud/tintin/Manifest b/games-mud/tintin/Manifest
new file mode 100644
index 000000000000..966deac6dda2
--- /dev/null
+++ b/games-mud/tintin/Manifest
@@ -0,0 +1 @@
+DIST tintin-2.01.8.tar.gz 559665 BLAKE2B e87de0090493d220744672babf3e2603b46ece8a4a218fef526b491792763b6d6229d80f9410586bc2653bfa18bf0b842dfa1a8a2b2d24e0a2d0c5c1195e1289 SHA512 3c90b6ae3fb2f380fb46694e983bdd18a0b119a26f48f1ad5bbb50ada6dbf3c9b89eb2b5be7eaba4eedf487e7cb46606a0c3a0ca4011b3561a34f3e9fed670e9
diff --git a/games-mud/tintin/metadata.xml b/games-mud/tintin/metadata.xml
new file mode 100644
index 000000000000..a8bccd4c1dc3
--- /dev/null
+++ b/games-mud/tintin/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>games@gentoo.org</email>
+ <name>Gentoo Games Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">tintin</remote-id>
+ </upstream>
+ <origin>gentoo-staging</origin>
+</pkgmetadata>
diff --git a/games-mud/tintin/tintin-2.01.8.ebuild b/games-mud/tintin/tintin-2.01.8.ebuild
new file mode 100644
index 000000000000..56000f7ae522
--- /dev/null
+++ b/games-mud/tintin/tintin-2.01.8.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="(T)he k(I)cki(N) (T)ickin d(I)kumud clie(N)t"
+HOMEPAGE="https://tintin.sourceforge.net/"
+SRC_URI="mirror://sourceforge/tintin/${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+ dev-libs/libpcre
+ net-libs/gnutls
+ sys-libs/readline:0
+ sys-libs/zlib"
+RDEPEND=${DEPEND}
+
+S=${WORKDIR}/tt/src
+
+src_install() {
+ dobin tt++
+ dodoc ../{CREDITS,FAQ,README,SCRIPTS,TODO,docs/*}
+}
+
+pkg_postinst() {
+ ewarn "**** OLD TINTIN SCRIPTS ARE NOT 100% COMPATIBLE WITH THIS VERSION ****"
+ ewarn "read the README for more details."
+}
diff --git a/games-mud/tkmoo/Manifest b/games-mud/tkmoo/Manifest
new file mode 100644
index 000000000000..eb5f6bac124f
--- /dev/null
+++ b/games-mud/tkmoo/Manifest
@@ -0,0 +1 @@
+DIST tkMOO-light-0.3.32.tar.gz 95332 BLAKE2B 44fd5c1476527c3b1c18e44df71b49007caeb78e1ca788c718a532c716746a9b8df3f42d616bc0384bff167a484c8585a0fe13f607810c74006810635ed1ae6c SHA512 59543692900613eae77b73f5f88a2380a77d1be38d486dc0461d0990ccb941497dd0d35aa109a5697dba3b92157d9943b540a73fe4fc0d519e144f65620443d2
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..cebc1fecfc34
--- /dev/null
+++ b/games-mud/tkmoo/files/0.3.32-Makefile-noclean.patch
@@ -0,0 +1,15 @@
+--- a/Makefile 2003-07-12 03:04:24.000000000 -0400
++++ b/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..db8886ed4b61
--- /dev/null
+++ b/games-mud/tkmoo/files/0.3.32-keys-workaround.patch
@@ -0,0 +1,13 @@
+--- a/source.tcl 2004-12-28 23:36:47.000000000 -0800
++++ b/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..972e3be0ecc4
--- /dev/null
+++ b/games-mud/tkmoo/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>games@gentoo.org</email>
+ <name>Gentoo Games Project</name>
+</maintainer>
+ <origin>gentoo-staging</origin>
+</pkgmetadata>
diff --git a/games-mud/tkmoo/tkmoo-0.3.32-r1.ebuild b/games-mud/tkmoo/tkmoo-0.3.32-r1.ebuild
new file mode 100644
index 000000000000..557406e7a29f
--- /dev/null
+++ b/games-mud/tkmoo/tkmoo-0.3.32-r1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit eutils
+
+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 ~x86"
+IUSE=""
+
+DEPEND="
+ >=dev-lang/tcl-8.3.3:0=
+ >=dev-lang/tk-8.3.3:0="
+RDEPEND=${DEPEND}
+
+S=${WORKDIR}/${MY_P}
+
+PATCHES=(
+ "${FILESDIR}/${PV}-Makefile-noclean.patch"
+ "${FILESDIR}/${PV}-keys-workaround.patch"
+)
+
+src_compile() {
+ emake \
+ WISH="$(type -P wish)" \
+ TKMOO_LIB_DIR="/usr/$(get_libdir)/${MY_PN}" \
+ TKMOO_BIN_DIR=/usr/bin
+}
+
+src_install() {
+ emake \
+ TKMOO_LIB_DIR="${D}/usr/$(get_libdir)/${MY_PN}" \
+ TKMOO_BIN_DIR="${D}/usr/bin" \
+ install
+ dodoc README dot.tkmoolightrc bugsmail.txt
+ dosym tkMOO-lite /usr/bin/tkmoo
+ make_desktop_entry tkmoo "tkMOO"
+}
diff --git a/games-mud/trebuchet/Manifest b/games-mud/trebuchet/Manifest
new file mode 100644
index 000000000000..a8679dd3d1da
--- /dev/null
+++ b/games-mud/trebuchet/Manifest
@@ -0,0 +1 @@
+DIST trebuchet-1.075.tar.gz 339202 BLAKE2B cfb19d1b92dc93aff829d0a199678faeefefbeee659b25e2f7ae5f11fdc944e7d62b258efff651241b39705e667845b53dae230765d9de3b264894a12c724e64 SHA512 7d007172e228e1a33563b4141b9dc544de8d2ae124ec0ec1a9da8a253339d910ab00ce0570e1da81499a97aadfea701f9131fbafc20eae1e64830d1bd15ab1fa
diff --git a/games-mud/trebuchet/metadata.xml b/games-mud/trebuchet/metadata.xml
new file mode 100644
index 000000000000..046f379595af
--- /dev/null
+++ b/games-mud/trebuchet/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>games@gentoo.org</email>
+ <name>Gentoo Games Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">trebuchet</remote-id>
+ </upstream>
+ <origin>gentoo-staging</origin>
+</pkgmetadata>
diff --git a/games-mud/trebuchet/trebuchet-1.075-r1.ebuild b/games-mud/trebuchet/trebuchet-1.075-r1.ebuild
new file mode 100644
index 000000000000..3cf5c7cc08f2
--- /dev/null
+++ b/games-mud/trebuchet/trebuchet-1.075-r1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+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 ~x86"
+IUSE=""
+RESTRICT="test"
+
+RDEPEND="
+ dev-lang/tcl:0=
+ >=dev-lang/tk-8.3.3:0=
+"
+
+src_prepare() {
+ default
+
+ sed -i \
+ -e "/Nothing/d" \
+ -e "/LN/ s:../libexec:/usr/share:" \
+ Makefile || die
+}
+
+src_install() {
+ emake prefix="${D}/usr" \
+ ROOT="${D}/usr/share/${PN}" install
+
+ insinto /usr/share/${PN}
+ doins COPYING
+ dodoc changes.txt readme.txt trebtodo.txt
+}