summaryrefslogtreecommitdiff
path: root/games-mud
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /games-mud
reinit the tree, so we can have metadata
Diffstat (limited to 'games-mud')
-rw-r--r--games-mud/circlemud/Manifest6
-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.xml15
-rw-r--r--games-mud/crystal/Manifest8
-rw-r--r--games-mud/crystal/crystal-0.2.4-r1.ebuild40
-rw-r--r--games-mud/crystal/crystal-0.2.4.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.xml8
-rw-r--r--games-mud/gmudix/Manifest8
-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/gmudix-1.0.ebuild32
-rw-r--r--games-mud/gmudix/metadata.xml8
-rw-r--r--games-mud/gnome-mud/Manifest8
-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.ebuild45
-rw-r--r--games-mud/gnome-mud/metadata.xml12
-rw-r--r--games-mud/kildclient/Manifest7
-rw-r--r--games-mud/kildclient/files/kildclient-3.0.1-gentoo.patch114
-rw-r--r--games-mud/kildclient/kildclient-3.0.1-r1.ebuild47
-rw-r--r--games-mud/kildclient/kildclient-3.0.1.ebuild46
-rw-r--r--games-mud/kildclient/metadata.xml11
-rw-r--r--games-mud/kmuddy/Manifest11
-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-gcc6.patch30
-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.ebuild37
-rw-r--r--games-mud/kmuddy/metadata.xml12
-rw-r--r--games-mud/lyntin/Manifest6
-rw-r--r--games-mud/lyntin/lyntin-4.2-r1.ebuild55
-rw-r--r--games-mud/lyntin/lyntin-4.2-r2.ebuild53
-rw-r--r--games-mud/lyntin/metadata.xml11
-rw-r--r--games-mud/metadata.xml36
-rw-r--r--games-mud/mudix/Manifest7
-rw-r--r--games-mud/mudix/files/mudix-4.3-as-needed.patch11
-rw-r--r--games-mud/mudix/metadata.xml8
-rw-r--r--games-mud/mudix/mudix-4.3-r1.ebuild31
-rw-r--r--games-mud/mudix/mudix-4.3-r2.ebuild29
-rw-r--r--games-mud/powwow/Manifest7
-rw-r--r--games-mud/powwow/files/powwow-1.2.16-underlinking.patch17
-rw-r--r--games-mud/powwow/metadata.xml8
-rw-r--r--games-mud/powwow/powwow-1.2.16-r1.ebuild42
-rw-r--r--games-mud/powwow/powwow-1.2.16.ebuild38
-rw-r--r--games-mud/tf/Manifest10
-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.xml16
-rw-r--r--games-mud/tf/tf-50_beta8-r2.ebuild70
-rw-r--r--games-mud/tintin/Manifest6
-rw-r--r--games-mud/tintin/metadata.xml11
-rw-r--r--games-mud/tintin/tintin-2.01.1-r1.ebuild34
-rw-r--r--games-mud/tintin/tintin-2.01.1.ebuild36
-rw-r--r--games-mud/tkmoo/Manifest8
-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.xml8
-rw-r--r--games-mud/tkmoo/tkmoo-0.3.32-r1.ebuild45
-rw-r--r--games-mud/tkmoo/tkmoo-0.3.32.ebuild47
-rw-r--r--games-mud/trebuchet/Manifest6
-rw-r--r--games-mud/trebuchet/metadata.xml11
-rw-r--r--games-mud/trebuchet/trebuchet-1.075-r1.ebuild37
-rw-r--r--games-mud/trebuchet/trebuchet-1.075.ebuild37
70 files changed, 1943 insertions, 0 deletions
diff --git a/games-mud/circlemud/Manifest b/games-mud/circlemud/Manifest
new file mode 100644
index 000000000000..a27ef6c0aac9
--- /dev/null
+++ b/games-mud/circlemud/Manifest
@@ -0,0 +1,6 @@
+AUX circlemud-3.1-ldflags.patch 2808 SHA256 41fcac9e07a3629bda081592c6192f065ea6a9490d7fff2f0c37adcd02efd989 SHA512 e60d6732cd488257f770e561852394ce6f5437b1c9b96233e9a650c02f4e66d3a31e37438655a7a25cd5af050d3da67c19154500cc3679ca0b4cb3d2aff92ba8 WHIRLPOOL f43da6d09cdfe0a4a9b7a61b979b628adc79e0e8c5aa0a96ecb661a01e5016c0413c4e07f7836f584888be413c91bcdd4959544e2b7234295f7aae7041e6a7b4
+DIST circle-3.1.tar.bz2 1176136 SHA256 3813f6f903e958818afa5734403caa208d0a042ad1258f832d1ffc6923e098ea SHA512 161a0fd74aa248f6b357447be1de2d7c55e1fd281e9621d1cf7eb02d802ae06f362a318eeb3eb2425aad96620f71775245775a3aa42250e4374e8c82947df194 WHIRLPOOL 2f9a7cef407ab4d8b9017af1fef5af5a2b0b1edb7d320d7eba6679fed10989efebe1be10d28fc6956c0ee95941e8de7d7d1cf0849865b558d348f21468bbebf1
+EBUILD circlemud-3.1.ebuild 1475 SHA256 c5e15604db9447d613622db7d69404244eb9434a3b599231253cd8d47db18e33 SHA512 6cea5b7f978b28b606a5e2d21bbb903837d43efd981572dbfa88c4efb3f68e5571d8759b158f516a93e1d9a3f1812873609570f570ced8e881bc7ebe8d159c17 WHIRLPOOL d7ec7eee1671457c852dd513618d9635ffa6efeb3e2dd593f7e07ac636fed863467beff54df5d1243a0b494bd91959469b6c8db7464195994bd28797c10f1168
+MISC ChangeLog 2607 SHA256 e922d4acef7d9f6929bdebbb91930f4671501333031d11739bc9bdd7e000ddda SHA512 ec03723f142d6e58809236c36c14e57ce95eba8c469a9af82b6185a7546cd488cfe217b58cdd49e5e15c60a357f67551aa30d96b4a3157dd189ad50f439c32a0 WHIRLPOOL 0a7166912de08afc1714e85986a72f13650daf6e06eb13328a112c74aa0f239b100c7353cc08bab7e8282da39bb70ac09fbe3d368aa9dbd9bc4e37cd471c1616
+MISC ChangeLog-2015 1439 SHA256 285cb4e45ed1e1558058c631b6602fb827743858f968c3f0af05a504ba3f729d SHA512 c3d7346e618239000ded99dd86d1ab295e96cc9e93dfc29120fe496f8c5142a3ad171163c58ccd96fc562e6aa59f9b7593a666ec2920ee635498ece710a09b36 WHIRLPOOL a79870978cd4b1943e235fd1a90c0aa93fa15a13aff73139064d046732834a0b23d8c41d72f9af4299734b08aad724a5afacea0a461f22a30aeb163a198474ed
+MISC metadata.xml 711 SHA256 2e19570d8b6d4a68b3fe05b6ad558a775fe9f826c48b227f106274f8fa3fb4b5 SHA512 4e0b5aa6ad14a7a0ae17be00023586becd1c370f01eca9730632a52ea56b3b6a91cb0180ead036937df09c4adaf6a9950cd872de42bd8c81ca69112a63dd37f6 WHIRLPOOL f992316119422ba82ade791f786af50f2837e56912f7b8119eb6ed643b4890b069398da926400db95474481ae3e7f7ab6b42f6a4cdd4c0e35954a5aa66909397
diff --git a/games-mud/circlemud/circlemud-3.1.ebuild b/games-mud/circlemud/circlemud-3.1.ebuild
new file mode 100644
index 000000000000..2a6e48db02ec
--- /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
+
+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 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..53568db4ed74
--- /dev/null
+++ b/games-mud/circlemud/metadata.xml
@@ -0,0 +1,15 @@
+<?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>
+</pkgmetadata>
diff --git a/games-mud/crystal/Manifest b/games-mud/crystal/Manifest
new file mode 100644
index 000000000000..3b93ef8d1f97
--- /dev/null
+++ b/games-mud/crystal/Manifest
@@ -0,0 +1,8 @@
+AUX crystal-0.2.4-build.patch 916 SHA256 abe391e1588a752fc357f73b84ba1e36dc9450a0e84619f7e7eae935b21b8e02 SHA512 4e3446634ca2996fecde8c9a12e2cc8d0900862dc2019cc0b260e58b5a1222f7e9b4faeeffc30f560dcaf97d83e1113800b19af36b054dbff9ed0b99296e777b WHIRLPOOL b2e095cfbc4a8bbcc2e0fc39202c418d52645ae8ea94f322d16c76288836f8bd797f53f813800713b0ca359b5adfbaf3f9c5ebbc392abfabbedd512d5fc32bee
+AUX crystal-0.2.4-gcc43.patch 194 SHA256 5d5e4b0dcf7f203ad58d82b37db0fc45fe9c93abac2b650bfe259e8e788ffb39 SHA512 98fbde01a18f36edabf8e324e1c5b7c12026032c59e5b628519cc21027e9553dda5d76fd1458f851ff9796d49f697b76f6f11fde85fbfdb433bcf05abdbf1021 WHIRLPOOL 43820e8f58ccf8c6893fddb223d6b3d14cb0a2dc54126b7b337235ad37c8bc8bd22f0e295eba39b354092a707a33cac9df097cd409b55cfc26b3d18be07b022b
+DIST crystal-0.2.4.tar.gz 146962 SHA256 1f5843034d897977430cf1d84040cd6e50bcc1d1b7fdda4e9f07f4ea6d6db6ce SHA512 8493b0d84db610606ce97e918cfa418123c39e5afffb4bf880aa905c46dc13d0b7ff0366b497e020276afadf9db951fcd6fa7aa0e25f5357574fa465ee152916 WHIRLPOOL 50e202e6becf025289cb042d86b970bbf8d5a2aaf7c86ce372f4697ff61af21af9c94f281b763045e607ce28f60fd78c6e2c1279746023f1ed53d7031c0fd47e
+EBUILD crystal-0.2.4-r1.ebuild 748 SHA256 d197c8761ba73579b337d0e52cbc4c927d1c45b487b82396a9774c90edf4f99d SHA512 ce1df203325428707f3df00755fdf17f39ad5aa0d6b0bb6d97f6e170411f3d3a7e8476503c750ce874b499902559faf796e3512855391451130efabfd49ad8eb WHIRLPOOL 50ac6d0e0c4381ef9fd589a66ba40c6a16a4b747e7defe03e63966d47edfaedaee1cf94dd6b2c1244972ba23a1a20142129dea1b2a84ce0b46315524322e5bf0
+EBUILD crystal-0.2.4.ebuild 789 SHA256 ebab0d021c5f7cf7076986ec81f4dd37951a827a75f49aabc034927654a1b774 SHA512 7e5e84d21e965087fad70306741f7cffc95da79832ec78b44dc0f755bb88b812521edbb431825f2b255b9deb64da669a24f37a9cd95589cdf985e3cb7e864c6f WHIRLPOOL 173e5f40d94821bdb207a14d08b85aeda038701dd88d34393a2a9afcd39576accf830943532119fb10860d310843b021ac7763951fcd18317e3ace48d2678e55
+MISC ChangeLog 3102 SHA256 be74d647c4f7530401bf9e252bb9c49f2ba736d1f7fa6677872844adf9e9f2a5 SHA512 d6c033235d509127e281c9be17b288f91fbfc24337d05c853a9a56910aa38c0ccbbb3bdb3a3ba01c68c5a79b09a5a05b65cd5c4675fbebea000ad4185aac4dec WHIRLPOOL 1edf79e2a8e551bfc660f437cc0d79f45dcf89dd55bc4daf0dcea777d7edd86ac3cade8de9a9e015bc03fbfa8f93640a682f70f6125d5df07cebb5fa263ce946
+MISC ChangeLog-2015 2155 SHA256 c27837f4a92ec0fd9a9ae3b288dcaf9a8906b627fbc97685114b212552931661 SHA512 245fa2791284482f87247f23d056c06bf64a893aea1060545b1cd416c81ca43ffaf467af8c2dea93680aba00f060db780c1e79df4e978e2e9f96d1184689e754 WHIRLPOOL 01bc644fa4541cad421cd1fb0ba9161e137c793f33622fa9b143f5ae706248d6a2dfe0dc9a97cda45d31b6f9b2a4a4c3b06993d24d91b47880750d41bb87a25b
+MISC metadata.xml 249 SHA256 943b9ce0cd072229b43569ab668dd7ec741d9dfefd942c8921dabd4490b27b0c SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 WHIRLPOOL b10e21575c78e201a652c8582cd16e3f7c86b13dd20a30f4cea44066fb139440b3c186147dbaae83478f11a20b6f457a99c8b29ee1239a4caaa21eee01250088
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/crystal-0.2.4.ebuild b/games-mud/crystal/crystal-0.2.4.ebuild
new file mode 100644
index 000000000000..2417cd380496
--- /dev/null
+++ b/games-mud/crystal/crystal-0.2.4.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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 x86"
+IUSE=""
+
+RDEPEND="sys-libs/zlib
+ sys-libs/ncurses:0=
+ dev-libs/openssl:0=
+ 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..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..78274e0fa550
--- /dev/null
+++ b/games-mud/crystal/metadata.xml
@@ -0,0 +1,8 @@
+<?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>
+</pkgmetadata>
diff --git a/games-mud/gmudix/Manifest b/games-mud/gmudix/Manifest
new file mode 100644
index 000000000000..a1f5ffcfded3
--- /dev/null
+++ b/games-mud/gmudix/Manifest
@@ -0,0 +1,8 @@
+AUX gmudix-1.0-as-needed.patch 1086 SHA256 3787025a688617a23855fb60f491c3665523ba7e57591699325f09e58b3fb24a SHA512 74abd6878a94ab149977baa665c11881f56bfc33b8515bce9fa1582c488ea765f7ef84e65dd45c6fdf681f3e1d21d8052319c6e9b56da6da8180e2de1c69cbdc WHIRLPOOL 581d765f53e5175ad199e3bf935521caad9c7dcb23239eb3ffd7d49a50b28211ac98f38eda7f632d0e9846880c4fa449d233f205752ec5ab9c551c06ba75d146
+AUX gmudix-1.0-format.patch 514 SHA256 a6d2e7fc68d312f9ba6a77bd11764f12fc631020f5b05bb3d5a733635c05572c SHA512 009826ea4ece40a7f1face057eca8161d517aa5e498a3dc4cce84b8fa1dbfbe4bd5e0dff93cea8cc60c312ceffb18b857266062762d8f60681e25df67cd8bce9 WHIRLPOOL 214ad8e9c55da68f71ca5fcb03c62e81d0be2c65a443947b2257d251ce7d2eae3b1d9c8d0031596cefee8e0833e64b3823533c77d698bd8acb8b30f1aab56982
+DIST gmudix-1.0.tar.gz 137548 SHA256 92588f498f5188ade961b7fd53951300236af105a72d0ffbd586d03a13008b03 SHA512 c22a725af6914d5177a737c1abf1ee38c133854fab8723dc01a89739b58214937008c3931ccc5928e88ee1ecbda385304ff862606eacec377addd6ee8de02b38 WHIRLPOOL 1467d80d629232e6eabbc75e111e652d458b559d6d7edd749a5d9479c2ad9502aba700ed8e072254b9fca991a2868b3ef5ba0a19b3f0814cd6f2326f85dd977d
+EBUILD gmudix-1.0-r1.ebuild 735 SHA256 117fb457b76803deef33e02fff1a3c39814c75d728827d088dce4fe49587800a SHA512 77aac12fbee6c16f269e19d27019dfcbc9036468daf9d98838e2d3d51e85b2a983212a8bb774be2c6fc725cdcafe2300b5b8f6c5d5e64d62fd10fbd071700558 WHIRLPOOL d8bde64a7e7e4f4d701650a4dcd4b150c1b260d7161025f68cf79b4f3b0555dae6d8d6cedb3295801b187c841ece52a527a3ecbc199d27c2d71d025edc5fff5b
+EBUILD gmudix-1.0.ebuild 746 SHA256 335d1cff8dafd4facbe296fae603649f0411d5f104259d724beacd32ca126a80 SHA512 6a83ebc5c903fda3a2d0407d690fb8db1a737ed84d3a1da9487caca295793b0e2d7bc8484efcb8fe0099a39f840d988730bdd697de5c88dcee6bc17940a11fc2 WHIRLPOOL 620c3ba66c2f870d2e58ba4d3e9f0c8528b99cebd99c561486dfe84f853381fd728428755b5036b0dda5f8e541a3b7696f5c7dbfb47c9ba1ff272072caa00388
+MISC ChangeLog 2945 SHA256 d93145b16203d8629b66d72c66d9fc70bafe79da79c3c57f9f2ebf3e81f792b4 SHA512 413a9df1d1d69ba542be27e939f3cd81e0ffb8387b3b91d33bb6e093d2c3fc669879163fa19fdf57d4b1567660404b57eb8d232357905bcbe382b89cd93a791f WHIRLPOOL 661b5f7b1d4f0c29cbf583cefc9f8d20ffe2ef449d12b1a1a675bf314d0e803f4679eb63468a1aa6b6dc1754f952065ee3835bd993827a7a890ae3d759ed87f3
+MISC ChangeLog-2015 2432 SHA256 e4fbdcdd42fa86738e0aa23f9dfb191d8bb3a094384a638db8d92252b57ee619 SHA512 410a45a77c2c7876b87d0b05693b593713e612006843b4d26f6d9108ff108127359a538f5f7ca5a90b2c4b6ea95d8265777fcc9694f31ab3e75e276180353438 WHIRLPOOL 0fac92c52d3498be18b76759505c7a036ca927aa7032ba79a9fa2b5b840288780d92fe986e039235c0072f81a3f1c0f758175fed9dda4e5a03af1ee5d6c85761
+MISC metadata.xml 249 SHA256 943b9ce0cd072229b43569ab668dd7ec741d9dfefd942c8921dabd4490b27b0c SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 WHIRLPOOL b10e21575c78e201a652c8582cd16e3f7c86b13dd20a30f4cea44066fb139440b3c186147dbaae83478f11a20b6f457a99c8b29ee1239a4caaa21eee01250088
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..e53de366090b
--- /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 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 ~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/gmudix-1.0.ebuild b/games-mud/gmudix/gmudix-1.0.ebuild
new file mode 100644
index 000000000000..022c13460dcc
--- /dev/null
+++ b/games-mud/gmudix/gmudix-1.0.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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 x86"
+IUSE=""
+
+RDEPEND="x11-libs/gtk+:2"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-as-needed.patch \
+ "${FILESDIR}"/${P}-format.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..78274e0fa550
--- /dev/null
+++ b/games-mud/gmudix/metadata.xml
@@ -0,0 +1,8 @@
+<?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>
+</pkgmetadata>
diff --git a/games-mud/gnome-mud/Manifest b/games-mud/gnome-mud/Manifest
new file mode 100644
index 000000000000..2f3671458e13
--- /dev/null
+++ b/games-mud/gnome-mud/Manifest
@@ -0,0 +1,8 @@
+AUX 0.11.2-gst1.patch 1645 SHA256 5372d6e106f285f248385924a4c6e359856e797ad1cfda246c1e11df8346481f SHA512 ed3ec4831e1cd7955d0629939270643ee2fe7a6995608fa2ce22e03f86a9ca3ad5c3b66aad648ed0133db6f601995bc7b9e767438b296d23efbc9819b6b5b45b WHIRLPOOL bc74ae89b265bafb9f7d17b96beefcdc568d469160e1d2b7d847269ffc5b0c10cef28f74b882e3abe236755817ce6c15594711b7bb13ce0d04cb1dfa7a6ea9b6
+AUX 0.11.2-telopts-reenable.patch 1284 SHA256 4445d1f71cbfbd3051eaeecad56d1ade7aa522a0e29d02b9ca9d997c89d94673 SHA512 9a9f8ade511282bcc4142d3bff15b0a64dda36b327920f4d665852d43a13854b5e876bef8e8c667c28330896e9fc09965317595850b4c0e67285d9c8d8223ed5 WHIRLPOOL ef158aa69de3aff2f9d9b74f090d56777fde6982dcc0763eefe6de169344aa14175a87c4557df3f8c24c83dd0257dc0baf67f884922dae3ee3404c2e13fdafc5
+DIST gnome-mud-0.11.2.tar.bz2 444294 SHA256 d449e1433ab7d8b40bd4133ae6ef25b723f2d2894709094d196a10b930f52b06 SHA512 b8dd4ffa0cd5ab7077b21c908fb92b6b5c3e1fc65c06c890d8ebb4ab4fd6d1f8ac4a67d9a815634fc45f3357dd495ba329057df5662c00d2074278a16470c422 WHIRLPOOL 69c85b79000967b1ded1ac02683c9f0e895e045c5b3928de5720e222233692f59e83b6a14811c978b0893eae15b7d7fec4deccf5c2dda96f078cbda21f30bb06
+EBUILD gnome-mud-0.11.2-r2.ebuild 1249 SHA256 f7f5b689d1ae0facbf7c8af9c73eea133be61cce4f96c6d6842ed504f253e706 SHA512 bee265e98a53b11a1133fa987f65236fdf394aa8e64d876b70b7c1e9962be1ed9254e24fab8c79cce02d7c73f6b421002fa4f842b138cd73369bf32e5bc3babe WHIRLPOOL 62cdd44347a3a753a66d069e734c4f6eba6a05f209e1707af3de836bdc797a54697a2734de582b9607043ec7f073da3d8efedf5ea1200d239783d5c4356e298c
+EBUILD gnome-mud-9999.ebuild 891 SHA256 8c0c72016b96f9e5960d7a338261e69991f339cc671558dae40425a94011f875 SHA512 12fefeaf3d0509f2ba41ffc1dffbb55c0d4c99f2b79f7527aa7e7325efc6a382441c720db562b07dbbd75f2eb4232ee776a2f40faea3ce7f448caa527ad4ef34 WHIRLPOOL 5d3d9584849e9d5cebb01d89c4eafd1f6ffe1c62c617b72cd14bac22f7c3a31e805bd826caf4ac8518efdab1e642cdfafd4e643ec0c879e4072022e2a3af7418
+MISC ChangeLog 2696 SHA256 981aec60abff8b66def68bdcceec3210b38402d5d7aebbc8abae977e4b370802 SHA512 0b12f8e41cc245d96c835e1a2152da61479b3dc36afc316659e8b483af39eab59d0ada9b91bf6ab71b96bad5c9cc929c7df8af346f750e7e4ea31c1b9f6433a6 WHIRLPOOL ac5e908bf2693035786bb2a52482db47f284faf6e9c55d726408b290e404d4c8cfe455f27186b043f76ec5f72a76636b29ab4d8f2120ca5fdeff0904598746e2
+MISC ChangeLog-2015 5540 SHA256 d4b6e1de1047766157d3c50ef26088f858a4874fff8dd13cfd4d11fe2f81a98d SHA512 d2bb04aa688f95157dc6ef655b72f64ad349bf10a81940dccaa222e55c52c2b6b20eb06cc79e974720100626ffdc3ef0c2b123bd5b0f368686ba8dbedc4d3aec WHIRLPOOL 7ec8a60fa310c48940d00d1815adec731a7e02739244322d339b8df7a231a5e80b17fcfc7e970d26c5bc748fbb78871fb4744de60f55ea0c4a53da6584c95f17
+MISC metadata.xml 350 SHA256 85f45711dfadaeddd1f5f8a03056b8c7f72af0ea736b84b0b9d22b9bd66b32c0 SHA512 0531e7ca85ea8011f5aeef4517ea6dc1362323dbb4b05be0c9fa028e2a3cdeae880cdcbdef070c048649520cbe23ec8bce4785c2bfbbdd3c989380b036d51984 WHIRLPOOL 2c1f411bbcf498fea8cda4e697e58de17cbbc781e1861497f2c349d822e986bf1c5806e9e0bf8a02571931dfc3cc43bb5aefa6e96ebfb1117897fed5122aec35
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..d8bafca919dc
--- /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 ~x86-fbsd"
+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..074b3bad3d25
--- /dev/null
+++ b/games-mud/gnome-mud/gnome-mud-9999.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+GNOME2_EAUTORECONF="yes"
+
+inherit gnome2 git-r3
+
+DESCRIPTION="GNOME MUD client"
+HOMEPAGE="https://wiki.gnome.org/Apps/GnomeMud"
+SRC_URI=""
+EGIT_REPO_URI="git://git.gnome.org/gnome-mud"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS=""
+IUSE="debug gstreamer"
+
+RDEPEND="virtual/libintl
+ >=dev-libs/glib-2.36:2
+ >=x11-libs/gtk+-2.24.0:2
+ >=x11-libs/vte-0.11:0
+ dev-libs/libpcre
+ gnome-base/gconf:2
+ gstreamer? ( media-libs/gstreamer:1.0 )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ app-text/rarian
+ >=dev-util/intltool-0.23
+ >=sys-devel/gettext-0.11.5"
+
+src_configure() {
+ gnome2_src_configure \
+ $(use_enable gstreamer) \
+ $(use_enable debug debug-logger)
+}
+
+src_install() {
+ DOCS="AUTHORS BUGS ChangeLog NEWS README ROADMAP" \
+ gnome2_src_install
+}
+
+pkg_preinst() {
+ gnome2_pkg_preinst
+}
diff --git a/games-mud/gnome-mud/metadata.xml b/games-mud/gnome-mud/metadata.xml
new file mode 100644
index 000000000000..03ad2b003494
--- /dev/null
+++ b/games-mud/gnome-mud/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="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>
+</pkgmetadata>
diff --git a/games-mud/kildclient/Manifest b/games-mud/kildclient/Manifest
new file mode 100644
index 000000000000..8c673c40818e
--- /dev/null
+++ b/games-mud/kildclient/Manifest
@@ -0,0 +1,7 @@
+AUX kildclient-3.0.1-gentoo.patch 3882 SHA256 30ee06cd941bcdc0e73d6b5962feb7dbe3e39d985b72692d52a73a10f458474d SHA512 8f4468cab922a911486f891215cb29de667da3f99c7ac2a4b6b59c59e2c2ba2f7f11c467b7009b0bb77b1a4953a99cbf851cc09a88a905e7c2478273546fc1ea WHIRLPOOL 13be11e4778111fac31f5cc90cad6c25b86e19a489b35497a7239edb2c518494d10e265dab0801ed738fd041a937afce06de45fad492b0d0634722f328597f56
+DIST kildclient-3.0.1.tar.gz 1838526 SHA256 6f7bb508392403d31ca8bb2317025671792f9e942be862c2b55462ce4b9e295c SHA512 835b31b2e45a5895fd4aefcb662d6c3bf2c888836f12511ef7bc6c15a12dac8563bc9226dbc33fb75915fdf6024ed61a0a05185d0998646ba380410d6e33a706 WHIRLPOOL f30b0f3c29f269adc0a37b815b232d7396f8f7fd388d8643368af66c3dde0507ff0f32382b5bee18a5f4aaa83e204ccebbf97019185ed1278e05fc8dcb06326c
+EBUILD kildclient-3.0.1-r1.ebuild 928 SHA256 63bce8b9d7a116eabe30de514ddc0e299c73e47ccffa481365cab84c1e59c3f6 SHA512 f87cc640c1b2012d23d57dbadc82428d311b72d5dd4acf435cbb790e202f4c4c01b35031450b13b66b4340c301dba149dbe2cfb3988860f8c850f1bcf2fbb879 WHIRLPOOL e389a2ea6d2daa65ff0a918c0371bdb6a41d892ee4a4fc7010f2b3ef2fe5674f09b20f22b2f151f59a4669fe334a07e363a507fdcede4b060ed0bae6fbfb1632
+EBUILD kildclient-3.0.1.ebuild 962 SHA256 6642ab7c08b1e404d95e1d145694399fac2f5f7a2a08bdcda443e525620d5751 SHA512 b2f9eadd3ea60d23e4d0ef367dd8b0ad29f763743bca3060023aa55294c0a8e0e776bd87581cc65c2091d7d3fb9c5e111d06e145eb859da621e82b7dc057391f WHIRLPOOL b9adaeee863b094bad23684c7c5fd294c9a22a301273fc1dd5a36f037590823de9f7b87258696a26bff59dff51b57a69cdcec65ee847cc584c6b56fb98e4c311
+MISC ChangeLog 2737 SHA256 7d8a95ae46d37e3a7c18293b1dbed8711401565b5504e5f65adfaf99a88c9580 SHA512 e257edb06a1c2dd39468a4dc46a0ef8b328b5abd2ddbae95eaa5f9722c4ced30a2090687d500c899a9c56d946c4f2276c159304295d581907492c64925da5e2b WHIRLPOOL bb96ac5bc1bca26b62473765ac5409ed57f2ce21868d8fc3789bc2677fc09b2a7ed9a90d1109e1eab32a0816ccfacbbc3572d174e51ac5d51119a686a8975057
+MISC ChangeLog-2015 1788 SHA256 2b4914e925aa65acde4ed6ed21057d6157e8740b411a0d35ab17944cc57e7161 SHA512 9760c2c267ee5f971c9546e84ad98a4ad963b95a1a75f346217190a7d16958e8003aaaa0cf9dbb53de7b9a0d582b409685a16dfb1eb5943142cf6b1beb098ca4 WHIRLPOOL faccd1ffe739ec6a79d7a8889ef5dcd386b824f98fd40a9ec81d4e2eba4699c2422e6f6f01691be4b32c93f3a8a21d3baabccaeff704b2c24b9fd7f7b18eb058
+MISC metadata.xml 333 SHA256 528f7f7c587610ade4d4028f5c4bd4603a56012ff7a28aa6a22187d80afda992 SHA512 7bb05074dcc9fcee20760e4d1be1d3d1bf5684a932636c9fba9b790dc9ef5ea477efe67854d0aa44561d081068418cadf4b237164ff6be7eb1cdf4f613276522 WHIRLPOOL 91459d300bfdc7ca0b4de96c5b901039f6ca15f94f72c4c57f6466b99b54178f42be352e721ce6c704ece88e298ee91fccc061013e90fba5d611911478209235
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..2840e2017830
--- /dev/null
+++ b/games-mud/kildclient/kildclient-3.0.1-r1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2016 Gentoo Foundation
+# 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 \
+ --docdir=/usr/share/doc/${PF} \
+ --htmldir=/usr/share/doc/${PF}/html \
+ $(use_with spell gtkspell) \
+ $(use_with gnutls libgnutls) \
+ $(use_with doc docs)
+}
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..f2e3c07fd806
--- /dev/null
+++ b/games-mud/kildclient/kildclient-3.0.1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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..9909f4b3cd17
--- /dev/null
+++ b/games-mud/kildclient/metadata.xml
@@ -0,0 +1,11 @@
+<?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>
+</pkgmetadata>
diff --git a/games-mud/kmuddy/Manifest b/games-mud/kmuddy/Manifest
new file mode 100644
index 000000000000..27a5d6552982
--- /dev/null
+++ b/games-mud/kmuddy/Manifest
@@ -0,0 +1,11 @@
+AUX kmuddy-1.0.1-desktopvalidation.patch 2472 SHA256 89197e335ec031262ee722298a937bdc981c1aeae09921b322e7c9abda86e7f8 SHA512 e1f50f6ce2fc26bc87a0c7ffc2c04d36f4b3f6c074ddecce5b3e3d52624030322073ac9a0abbffbe4ecb70364d7420005aba13d1b71bb60e058397f404b98e52 WHIRLPOOL 790062d4d6b500660d41426ae1a2c3ee93d102bc4957fc2dfc97349af1239860e7e3f52446e372c5e6cbb0fcbabd60e17a2d828e37a6f09f188ffe98ca196642
+AUX kmuddy-1.0.1-gcc45.patch 498 SHA256 cd407c7ead14953dabfeffbaba1d16a97cb027b5942aef36683be77b67de1811 SHA512 4e117a677cde4277ec170494ac43b1a5f4ac92561e18af60751278a5bc5388393b3b1852cf792326399f579f8c91b7c1f7640c596a76346d9ccebb3f0c1eeb4d WHIRLPOOL 29b9ba97858373ccd3597f5885ee03d240aa7e34d7ae485871c4261ae2f2eb55797e0c89f6c6ba7ff9c2bb76bb5779341d2a98670fa80f9847ba35dcc5bcd2fb
+AUX kmuddy-1.0.1-gcc6.patch 1595 SHA256 2dadc7b975d2fa94a1502ec07e1656060adddab046039ff67719da021af9f3e0 SHA512 b78d1b3b176c4cd58b9435a4effa389f4a3cf4cb468fea2aed12e8f7f2a02635974b58a969665a2fa34d397d984b0ea03557406890db176e3343e4813da1b7a6 WHIRLPOOL 41314f691b09436f7f7186e227ce5601af6315838383da5d838a2bdb6e11e23e6dc845943435fc94f20e20c149352855c3e8446e3a97ec0f238ab2f80a7a1d34
+AUX kmuddy-1.0.1-kde45.patch 442 SHA256 13d0209227eafe3042efb03ecef2ebf6ab98de756ea804b723b29be732081431 SHA512 638d206173cb865d5d807fa3d49a0709fca7105dc98ba783a34c224d80dd1e8bc3cc589b402f61c978d2ddafbad91f11755669f71e2c393539058b08ab71248e WHIRLPOOL 6bf41972dc09d423250e2b3d6d3c2d0c5040ce9e595cfbf22095e3cde2c42ed146ce13efa98e4a2e6f7167be239ad34bae282a5254e2f05570910fd21de6c277
+AUX kmuddy-1.0.1-tempnam.patch 795 SHA256 42d69e6a49c44bb187df58cb52ea4c71e2d8aa21522338eb99af7abac0e84995 SHA512 36c9274d63a4c1ad5bf79af58cdb53289bed267e08759174e6cac16b2223b719ee329a269929e16efb2a3046619bae55f7fde6e0d281df3c78066e187b72d043 WHIRLPOOL 4f8a63a22f65fe4bfee27fac09d2209077339c15ccf8984a88ec0d5d1736cb8a70ba389dd4efe00c9b15b228c1b02c3a92f399a989ea31b1e67d425b7784c7df
+AUX kmuddy-1.0.1-underlinking.patch 1526 SHA256 635e6b2e2ed4a7b85fd8f1f63d098ff78e368052616541b273efab5ec267945c SHA512 cfc045886cddf798142a3e579e470d207c7b6b0a298a85f2335f6ed471672d6dff24fbf6f0995797b8c4214cb155c7fe91c4076d5e7588ccf4be83d2a733221d WHIRLPOOL c8e8a33136287056f5d8e7b9d3460bbf0192a3953ea916d6875dd810209d4c0a6ceede26b3e2a2a97e14f486ca8e655c1a7fb340614f31738cf105d0e7f43673
+DIST kmuddy-1.0.1.tar.gz 1435657 SHA256 d3db34aaddaa142da5a138b3e1179dc9b9b203058f225de037616cc24aa3e4ac SHA512 e797db9509c3dfabbbcf829d76733cceda0be53c20dc56a7f576a1562512ab23769b668b5ed08a6363c3de81577969d89a2027492560ab1731bff8fb6f3d54a2 WHIRLPOOL 89af46564e1c813c3499597c95f61285abddb48c2aa9f1d5ae798830b2252e985fe1112e7080dd4fa7a823ffcdc1557dfee4ee0376ec9fd4f4dbce1102e2a205
+EBUILD kmuddy-1.0.1-r3.ebuild 792 SHA256 979df169d28e1a760cb085e2efad6388586baeb4e15631280e3d5cbf17fcf6fa SHA512 bd0cc124be66476621d2cdb07a81067360d7bba6f08d18cc140bf6c0b54e97f29387867cc2f1589d2baa5346b8f7fa0337c6fd03af452ef5413e35810330a227 WHIRLPOOL 3abcb4961720b0091585e2f239d881e3b818d7b794eb6c4725d2f086ab1009bbf99efeaae7819b75c2a83671b5b0fae731e29da63ad2e143e3dd506ced04f476
+MISC ChangeLog 2900 SHA256 05ad7ab6763b325f64d3f388c82082e950860ab62fce76b93a44a11a7ec0f137 SHA512 8a42abfbf57eb24f1e25025a1aa228fa9f97bd6fd8ae7941257bec0d42eda4e0b9bdf4d4a6c9e1b216f75c461139c9e00958496bcfaaf57f541d69110e7dce63 WHIRLPOOL 03cb3402d7c18051e1ffa0c112aaf8ae56f45913a8a3b842757e04587200c4df6de00f64d46ff9d62de36115c860c1cdd26108405435ebe5adddaa51e002eafd
+MISC ChangeLog-2015 5673 SHA256 c397d32ea6e37aae548704e0a179016592b977c9390d0fc957ecd19e48c5b274 SHA512 6191e89ca1a73088668ed61fa455ddacf53b0edd8468e3fe6caa98fb2a0b905243526838ce59b11d46e126e57774c7a46367bb13001e2cdd9c2162657a504c16 WHIRLPOOL 2e0a5cd9d3d8b36d7a4ae499290649eb38b786fa2f140b179a854850a0b248b6ac9e7a524ebd2c1a3808131bcad081cead85c65d67e69a9f0402e81f684740c7
+MISC metadata.xml 355 SHA256 fdc3b1016e2db07d1efc29b55e374c84c356f448a181c86abc83c672a63b0f8d SHA512 abec7be3ca48b0d6ccb1c14d7746f13b3c379e24fb7244eb68e556d4e04cb7eff7148c475c3caa5f1e1fe460f127486b291431aa0de940a0430c6eacaeb8b97a WHIRLPOOL a6f274d66e2d771b79af0d7ac37e35a60a534dce2637dd0873408937b1ffe76b003cfac857a5e23336b52aad5edd64e77b2354884cb4e1a5c6f124c53b4de996
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..899ec0838b85
--- /dev/null
+++ b/games-mud/kmuddy/files/kmuddy-1.0.1-desktopvalidation.patch
@@ -0,0 +1,84 @@
+--- a/kmuddy/kmuddy.desktop
++++ b/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
+--- a/libs/kmuddyplugin.desktop
++++ b/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
+--- a/plugins/converter/kmuddyconverterplugin.desktop
++++ b/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
+--- a/plugins/mapper/plugins/standard/kmuddymapper_standard.desktop
++++ b/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
+--- a/plugins/scripting/kmuddyscriptingplugin.desktop
++++ b/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
+--- a/plugins/strings/kmuddystringsplugin.desktop
++++ b/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
+--- a/plugins/test/kmuddytestplugin.desktop
++++ b/plugins/test/kmuddytestplugin.desktop
+@@ -1,5 +1,4 @@
+ [Desktop Entry]
+-Encoding=UTF-8
+ Name=Testing Plug-in
+ Comment=Testing Plug-in
+ ServiceTypes=KMuddy/Plugin
+--- a/plugins/vartrigs/kmuddyvartrigplugin.desktop
++++ b/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
+--- a/plugins/varviewer/kmuddyvarviewerplugin.desktop
++++ b/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
+--- a/template/kmuddyplugintemplate.desktop
++++ b/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..67d2acd90c74
--- /dev/null
+++ b/games-mud/kmuddy/files/kmuddy-1.0.1-gcc45.patch
@@ -0,0 +1,11 @@
+--- a/plugins/mapper/filefilters/cmapfilefilterkmudone.cpp 2010-06-08 17:55:09.000000000 +0200
++++ b/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-gcc6.patch b/games-mud/kmuddy/files/kmuddy-1.0.1-gcc6.patch
new file mode 100644
index 000000000000..a198d141b10e
--- /dev/null
+++ b/games-mud/kmuddy/files/kmuddy-1.0.1-gcc6.patch
@@ -0,0 +1,30 @@
+Bug: https://bugs.gentoo.org/612760
+Commits: https://cgit.kde.org/kmuddy.git/commit/kmuddy/dialogs/dlgappsettings.cpp?id=5def190b6b3baa7502999275aac469440ec261cc
+ https://cgit.kde.org/kmuddy.git/commit/plugins/mapper/dialogs/dlgmappathproperties.cpp?id=0255f21b46a0f83e2e455fd2ba5c015a3b46e98a
+
+--- a/kmuddy/dialogs/dlgappsettings.cpp
++++ b/kmuddy/dialogs/dlgappsettings.cpp
+@@ -554,7 +554,7 @@
+ //page 8
+ //layout ensures that the widget fills entire available space...
+ QHBoxLayout *keylayout = new QHBoxLayout (frmshortcuts);
+- keys = new KShortcutsEditor (cActionManager::self()->getACol (), frmshortcuts, false);
++ keys = new KShortcutsEditor (cActionManager::self()->getACol (), frmshortcuts);
+ keylayout->addWidget (keys);
+
+ cActionManager::self()->invokeEvent ("dialog-create", 0, "app-prefs");
+--- a/plugins/mapper/dialogs/dlgmappathproperties.cpp
++++ b/plugins/mapper/dialogs/dlgmappathproperties.cpp
+@@ -242,9 +242,9 @@
+ {
+ properties.writeEntry("SrcBeforeCommand",txtSrcBefore->text().trimmed());
+ properties.writeEntry("SrcAfterCommand",txtSrcAfter->text().trimmed());
+- properties.writeEntry("SrcDir",(int)getSrcDirection(),0);
+- properties.writeEntry("DestDir",(int)getDestDirection(),0);
+- properties.writeEntry("SpecialExit",chkSpecial->isChecked(),false);
++ properties.writeEntry("SrcDir",(int)getSrcDirection());
++ properties.writeEntry("DestDir",(int)getDestDirection());
++ properties.writeEntry("SpecialExit",chkSpecial->isChecked());
+ properties.writeEntry("SpecialCmdSrc",txtSpecialSrc->text().trimmed());
+
+ if (properties.hasKey("PathTwoWay"))
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..3a0c1b0f038b
--- /dev/null
+++ b/games-mud/kmuddy/files/kmuddy-1.0.1-kde45.patch
@@ -0,0 +1,11 @@
+http://bugs.gentoo.org/331317
+
+--- a/doc/kmuddy/index.docbook
++++ b/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..0d2d3f45b862
--- /dev/null
+++ b/games-mud/kmuddy/files/kmuddy-1.0.1-tempnam.patch
@@ -0,0 +1,29 @@
+--- a/plugins/scripting/cunixsocket.cpp
++++ b/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..4ea881b9c129
--- /dev/null
+++ b/games-mud/kmuddy/kmuddy-1.0.1-r3.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+QT3SUPPORT_REQUIRED="true"
+KDE_LINGUAS="es"
+KDE_DOC_DIRS="doc/${PN}"
+KDE_HANDBOOK=optional
+inherit kde4-base
+
+DESCRIPTION="MUD client by KDE"
+HOMEPAGE="https://cgit.kde.org/kmuddy.git/"
+SRC_URI="http://www.kmuddy.com/releases/stable/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="4"
+KEYWORDS="amd64 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
+ "${FILESDIR}"/${P}-gcc6.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..9242b066b361
--- /dev/null
+++ b/games-mud/kmuddy/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>
+<maintainer type="project">
+ <email>kde@gentoo.org</email>
+ <name>Gentoo KDE Project</name>
+</maintainer>
+</pkgmetadata>
diff --git a/games-mud/lyntin/Manifest b/games-mud/lyntin/Manifest
new file mode 100644
index 000000000000..eecc98b06b2c
--- /dev/null
+++ b/games-mud/lyntin/Manifest
@@ -0,0 +1,6 @@
+DIST lyntin-4.2.tar.gz 180111 SHA256 7e1d4ea273218cfc9e4a81adafd2e9e5df923e1f64d7baf36db5c7e353cea8fe SHA512 72792b0ffd3f07d6ad7ec335beca2b064e348c7e30c7517edb07a90ece0608b34ce68798fb7a0aa7ef6568ebbed14f5246368421f5e14c7520d306ae6a29e432 WHIRLPOOL 650ab535a26fa22e72d868770bf1d5a3b48e57a159a327531529e1197fec45354f06a00d7c018100616744a288961eb75a174e676c437fad9e43dbd9114a532b
+EBUILD lyntin-4.2-r1.ebuild 1032 SHA256 5aa0a9c2cc670b367590e4e94d1f6b6a35e7d3142ada7fe71fb85b2d0d5baa4d SHA512 35d15626bb3f3ec601d616cb885a7655e08a35db3a5f48fb86a84360700bebb746f66d84228aa7decc4d659f302909e0b59036123b6d794cd5e9dbe636250f9c WHIRLPOOL 172eeeb6a4a822718187942abe2b2367de51e91550304c8db52697b239a5ade1b6e4314d4d3d419bd3dc557a00c08f9aa02a0f5fe1c4ce8a0538d2f8a572fd0a
+EBUILD lyntin-4.2-r2.ebuild 984 SHA256 a37a59999f843ba5c68f3eb1f730bed3bb43726eda086719b65cd4b98c0e7ab5 SHA512 73fc58e52ed6add4a1085b35b58b884b46842a14edfc236cc02abc8742abeef2ca982d9f78ed464b6d107be6d66d1e7fc437d09f1c9085899dcddba5c06c0966 WHIRLPOOL 8c5913098342c2cb96cccf6142c1eef37a5b61abaa5f7fa39d96b4a0026bb4f0d2ced22b4e54e85ed93c586fed43908601f856a5878b5b2121f7025a4918f588
+MISC ChangeLog 2673 SHA256 55a9a012db43810fbe8e13cce2f0829f18f820771d79b2630d06c21df65bcb77 SHA512 3cf99c4be88ac184b5e0a81730614931fcf0fbb96c58a0ff0e709fb251a2aef17c229152f6cda5409a1432b554dd5d3ac87a2fa1bf2c3552f3e9a44268d2ae44 WHIRLPOOL 32324ffa02c26a782f8a671f0f986c2cd4833d76a05ea2143c28fef59be40ea14243da7a221d5e0d48b9fe0f547feb3722cb33e985dfa0cf2896ca50f0c0e660
+MISC ChangeLog-2015 2967 SHA256 87c334faefda112e04d5580bf50fabd58f8edf7a10b2a20948d50b9be7563cb9 SHA512 64f7d7c4ab1c27062a4b37647743850649f61a7922125212c14a8fcd2b232cc95f2908840a86b881f3ce89bd9361e30259636e0f9cff1cfba690456f5135ca40 WHIRLPOOL a2eebdadba07d3d06e3be359d210738c5c7af3d398c7c61efe6d13b842e6e5c9d84b1266e48cae35b50865c6acfb8821440c71961391caca5f60eb9a61646b78
+MISC metadata.xml 329 SHA256 98877e0b3e5896666ed4a154debf619d1716f01ac4bec7738889f6ecf62a1082 SHA512 28fbdbddc2ee51833133c9ec8d4f035ec82086bca4811d065da82bf5b73fb3930b7ea99537a82ed9700e224e4ba6f2f9cc026f69e54d8b5380106937be06332f WHIRLPOOL f62875213e28784dfaa1be10c082223dad71f0491f913f6877ee1a6c5219191d22c6ab2813e3bf7183e0a2af36e6d93a399602776047c16068e69e499dbadcc7
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..a8dbc53db947
--- /dev/null
+++ b/games-mud/lyntin/lyntin-4.2-r1.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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 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/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..5b5b19a5e7cc
--- /dev/null
+++ b/games-mud/lyntin/metadata.xml
@@ -0,0 +1,11 @@
+<?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>
+</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..c76824a97a60
--- /dev/null
+++ b/games-mud/mudix/Manifest
@@ -0,0 +1,7 @@
+AUX mudix-4.3-as-needed.patch 317 SHA256 8e210de4e760ecd77c6047f350e92fac8679de7f46379905e0fec16ee674cb77 SHA512 79d7a833f4e9b2225d09e87d1b9d97bba068882390d1af42436be99c83129ee1a1d0168f2aedb2c21df54178f20ce2d5bb946386d1a87367678059c8f2e1da6c WHIRLPOOL f44dabc5931fe39f89acd92d82e87c64a0e08b2785647c049007986e951f5ef5f77ed3a64384dc76c31b891ff30ff851a4aa0709a479e9058c25b7d8f27907be
+DIST mudix-4.3.tar.gz 43003 SHA256 91b5946fd09381135a226b3298298d67325b01f79a9ccb5641137376171fb680 SHA512 9f9c8ee43ded9b837eb50e463e67b666e0b2b34334d93e9a4471fa792da99350042cd8abbd9f8e97aa7ba114736b2d99c1b6595c76a5254270a514681130eb94 WHIRLPOOL 110753eeaf60003e9185032f4f581061f65d0fb2659f6aa4d6ca0fc183d5c49402a4f5623744fa41176d2553b2842b811ee5bd5ee499c42d5b5987f2e825fac8
+EBUILD mudix-4.3-r1.ebuild 579 SHA256 2e7056baf9c5bcc572b58bc6130ad1eb2bbd12a63f335db3d89d82d291f69cf6 SHA512 8fb05cb4d7035198bd8d971196dd5c803a4d7c4d79a6ee0e3e616ef536b46c896591916d23763479c894d187124c38827df0c7d571da80679b89dff48600d88e WHIRLPOOL f1c787730b2132d0418a53fe53ac4ad756468920149d3f12a63b10bd9eb278fa582a0a21b53139be3b7c168daa8e6ea90ca57920029a7ac153f706063d6623b0
+EBUILD mudix-4.3-r2.ebuild 527 SHA256 31eb21e7803de81032d8570dc61d68c87d85d66a5a3076c9062d6611b5cedd2a SHA512 f122f9fa21a17fd8eb1840fd9f842e382139c6a981231c6dccd9f2c8449341339419a62c55d5dd005c814ddc1f2d6f3d54d2b8756ca7626ca401358b51e3aaa3 WHIRLPOOL 69aff9974aeb2114b4ebd63b5bf598bfd59bc5045b8cc492a8a37a6bc434a2d69d159ee1e7b1754c14065f1eed2476b6dfab091357dc66a347adf2888199cbe5
+MISC ChangeLog 2885 SHA256 c5b1801661d70f1af33d72acff5adf335b10b9f0f30cda14f446fa5210d504e4 SHA512 16438d7d9393e7169588701d17b4239c52685e691fe61110fb384a7ecb8eaa639413af295d7873dbe2b169080b08a0cc9900e83043adaf9802fe7c1de3f0bf84 WHIRLPOOL a07b2f4dc8ae4515544b34358a9875e55dade524df9768dc660109819c36f444c86d919b54d0cbd82ee4f679045d3d30933f2ba6372a939380ef15dc13f992f8
+MISC ChangeLog-2015 2048 SHA256 f079d4638649a163c39cefb8291e38801a40566d43e563926af429a0e9205327 SHA512 7d8a90ccb62ff7ddd5509ec7a8569957ac6858ac4bc72d35bb66877cf2751d66b195170af0c29797b26d0b7d13453a14c668dff359090f91666b5f331aa4aed0 WHIRLPOOL 2d4304b38f0b1b5e983e806bbac3950d043e48e9be459eb42821776d84fee83266beb29033576ffd1d3e3cea4678fad7f252b23ad697fe72d20168dd2487c882
+MISC metadata.xml 249 SHA256 943b9ce0cd072229b43569ab668dd7ec741d9dfefd942c8921dabd4490b27b0c SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 WHIRLPOOL b10e21575c78e201a652c8582cd16e3f7c86b13dd20a30f4cea44066fb139440b3c186147dbaae83478f11a20b6f457a99c8b29ee1239a4caaa21eee01250088
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/metadata.xml b/games-mud/mudix/metadata.xml
new file mode 100644
index 000000000000..78274e0fa550
--- /dev/null
+++ b/games-mud/mudix/metadata.xml
@@ -0,0 +1,8 @@
+<?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>
+</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..99e3b6e6ad3b
--- /dev/null
+++ b/games-mud/mudix/mudix-4.3-r1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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 x86"
+IUSE=""
+
+DEPEND="sys-libs/ncurses:0"
+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/mudix/mudix-4.3-r2.ebuild b/games-mud/mudix/mudix-4.3-r2.ebuild
new file mode 100644
index 000000000000..067ddf344613
--- /dev/null
+++ b/games-mud/mudix/mudix-4.3-r2.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+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}
+
+PATCHES=(
+ "${FILESDIR}"/${P}-as-needed.patch
+)
+
+src_compile() {
+ emake -C src 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..1e73223489f6
--- /dev/null
+++ b/games-mud/powwow/Manifest
@@ -0,0 +1,7 @@
+AUX powwow-1.2.16-underlinking.patch 540 SHA256 34031e7e05edb77d618b93606c9dd118c3c3a467eb5b89e62638c0f5952ced33 SHA512 2917a553f844d3bd8ef15b3f1e4f0dfeca7ac06371aba5912a40adc8334a74ec81767d3c73d27d27a7f45d8ca27acf279b3d9095dd426ce4c21e93dceea30861 WHIRLPOOL c1bbffc4e0c6225568263740c783c29e37aed32003d4b05f11a9cb431244e494a342e206c4e45d6642c03fe676e04ce5155e3ea96f1ce8ebd4266a1e1eedb113
+DIST powwow-1.2.16.tar.gz 295441 SHA256 6db8c6b82ab6dcc88856dc4b7723b2a9963fa16f03586efddcb9f8185fadaa58 SHA512 9bc046ba14760d55a7aabb550229d5f5b234f3ef0690d837f1de8df5e1f404b8483e61981cffdf8e82f164bd5a68f4da3f8342b0c09b98155adaabf14d8b079e WHIRLPOOL 342590dc59c1dec9a6c27643a4aae874e2280c617ebfac642e6ff48f07250250ec4d46503be45925ec19bcb647e9131098c975218c2fd31d8ae266f420f48a38
+EBUILD powwow-1.2.16-r1.ebuild 888 SHA256 c21207ad79698f8fe4de639f56dee50a19214e1c903f4d5622899fe00cf4bb76 SHA512 85b1108ce0e92d491a57dd788354dc07e8fd7151a1bfd675d80606dfa0798fccdd9b62ce84f8ba6b520b8ed61d2d553cf05c435408df65396c53bfc9c30f8234 WHIRLPOOL b393800d653e53f362dab1079b2fb850367c3cdd6f541070bce7441fe48bf8c7e516c75c283d99301adb45b1a4a981f9a938ba0bfa2f84634dbe9179eef290aa
+EBUILD powwow-1.2.16.ebuild 896 SHA256 9d9aa45ae40b0a2c097ba8c63e5ff2b7a9f2cd850e2f8600d66e53848c002359 SHA512 5fddc05fb66dba49b3d624406de76e270617104f02d0d9ace04540d5e6aa81c62e583148f78ff1a391d87f298af0e868552e946a6d3b6144419b9e3ed0b60311 WHIRLPOOL a550f4c2a4ef23f2ef0c44435792caba5d1b8eeb262bb361dc558e10bbbeea50c3bbbfaf8a13378039384ae11413d01ff1df7fa858f676d62b114c4424794962
+MISC ChangeLog 2851 SHA256 46a377a14fd2355f2d1b9a61012eb0eb1372314d3df3d962f8517861c8643877 SHA512 af39afd2fdc90758da8b9cd835148fe2d6a5d3edf1d71bdd51334c4fc09889560e4c7155653b2f7958a9ded4363ef2538429ee57c9721d256174f4b05c75d298 WHIRLPOOL 4208c8dda7b78f57da60ef542a4398a53cb8844bc647dfd0a7a096174f263b75ca8355f09c195188dacb1b00b281f8f5c7301c1aefc56e14df74a2115e5e644c
+MISC ChangeLog-2015 2747 SHA256 275f16183da653823a9c460be79073113b5dcf0fa368d84bc42416934875c18d SHA512 04f1eb50956d163b704e1566e390785ba934300c39ff38cc06e773a1fee145ec66ef132dcf8f68d9326a848b99fd8bf1cdf4800c954d93a55d65f9c7ed763bcf WHIRLPOOL 800687998733e9b72a6e8b7a082b24dbc20e7ee5cfdbb58bb35afc77b6c30e2653eef2be81b90ba3b4c4252d6d40889af6fd317be6bc40006d2bc171252eaecf
+MISC metadata.xml 249 SHA256 943b9ce0cd072229b43569ab668dd7ec741d9dfefd942c8921dabd4490b27b0c SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 WHIRLPOOL b10e21575c78e201a652c8582cd16e3f7c86b13dd20a30f4cea44066fb139440b3c186147dbaae83478f11a20b6f457a99c8b29ee1239a4caaa21eee01250088
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..78274e0fa550
--- /dev/null
+++ b/games-mud/powwow/metadata.xml
@@ -0,0 +1,8 @@
+<?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>
+</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..04c04f8fbb7e
--- /dev/null
+++ b/games-mud/powwow/powwow-1.2.16-r1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit autotools eutils
+
+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 ~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/powwow/powwow-1.2.16.ebuild b/games-mud/powwow/powwow-1.2.16.ebuild
new file mode 100644
index 000000000000..cc9cb18cef38
--- /dev/null
+++ b/games-mud/powwow/powwow-1.2.16.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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 x86"
+IUSE=""
+
+DEPEND="sys-libs/ncurses:0"
+RDEPEND=${DEPEND}
+
+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..32cc23be4334
--- /dev/null
+++ b/games-mud/tf/Manifest
@@ -0,0 +1,10 @@
+AUX tf-50_beta8-pcre.patch 1917 SHA256 01b9cd92ed205b4a2d750cec9e8cc21d9a541e4e47c46140a53cae05f5458628 SHA512 942574f4a24f5c2660124caf6cc41438e42fb20b5d1781c60341da96ace2338a3b69a744454e5c2319d83d83a8de21af26029ec6f328a50facbc56db7091c092 WHIRLPOOL 14c974b6257469c6d21d160bd4793bdca25479ceed76b0079be53a41aabfbcbe39041cc3dc546fb3e3d671a5ff2f18e69d1d2f098e70b4c7428bfaba4419f2b3
+AUX tf-50_beta8-stdarg.patch 1074 SHA256 51758023d918ba0cd257176ceb126fb120f03a5fed4889d978ea5e8c39912743 SHA512 ad8e051cf1fbfd6bc5e038a6ac252c1e61619dd96b5d0f72d25af7fba1754dd1c5d6b1557611b3ea322b030be1db89b2b3740e9137ab3fe6135bd5ce0d4e62b7 WHIRLPOOL d158e26272490ffc9ea280796ad7ed7e8e3163cd964fcb87c2d23f384837ab083b94bd522111b8333b3005502227f2f6ef2ace76802cde6039879def11108938
+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
+EBUILD tf-50_beta8-r2.ebuild 1718 SHA256 b98bf8e00e6fd3740a60947eb1b9e2e26c9586ca662f82dfa023fcd0bc05a294 SHA512 6f31faddcda2481e5e341b359ba8ac39ba359ef61900b001a5f227ee2d659e1107d1b382f81ffd7dcfc1792a37323726b42cee2f624ab22f3cda2e9c07970fe8 WHIRLPOOL 3a948b3014a73251a39f13d048491cfc5904468f2e0b63c0ce1538a840a8742451586a183a8e3e43b8a26b712544ddceac4482f4f78a4f1937d8b60500091d7b
+MISC ChangeLog 3506 SHA256 9a0583be84321fbb6f37ebbc936cd6fd4a43901f8d99eefda888734e6ba86df1 SHA512 b3eaece8ab1557f31a33ca7b9f0152923b6febe7274e8940c453e7af605e150de55b8bdf51534c0b90e30f3c3d980e9aba4654b73ed0f9959d42d0ae1ecb2961 WHIRLPOOL bcf3b588880de5a27ad26e990cff33790b05dc4ea99adfffa4ed23cf0424af0572a6ae79369b3200f436779a5a59310a76b99bbae40a3e8f8f2577a6ba6ec2dc
+MISC ChangeLog-2015 4681 SHA256 ba48d0140e090a093a08ca4a115cd829fab1a5c3fe25d97a72b3e8d26046ee2f SHA512 e718a97fd3dded90a7ca548d8a1240e67ef4086943df744ce062a4fa00e714fc30d3def4269fb82f3292f515062132ca178b324b5ecb1b7b06b451a267fde520 WHIRLPOOL 32c4188e6510451c11034e3b89496b1cf28613dde53833412db356c959ebcb7e0e03c26e1f8630d8697fe182a5f7a89168d9dade48ca8221c051a9542b1bcbee
+MISC metadata.xml 527 SHA256 48a453095d7baa366fc01593afea5ad0ebf0a758c8ddb9212449bde7a6a42092 SHA512 6449cb8a605dad5d0c5f2f825e38a4f972b61be1033087cc906d293a10129d88a803d9f5755b413df8f700aad3eb50eacc668d508365090ca5d01c61d884d833 WHIRLPOOL 2f68cdeb17c478c9da6901da3b8cb50124e870d55336a900d79052691cc5b9da205443305877379445bc6d7fcd4a7fc49e96d3410f7d52451ce1826550822639
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..f351406f3216
--- /dev/null
+++ b/games-mud/tf/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>
+ <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-r2.ebuild b/games-mud/tf/tf-50_beta8-r2.ebuild
new file mode 100644
index 000000000000..306701bd4feb
--- /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..46d3a514a154
--- /dev/null
+++ b/games-mud/tintin/Manifest
@@ -0,0 +1,6 @@
+DIST tintin-2.01.1.tar.gz 272506 SHA256 cc0ba550880bd5efdba8fde11d1e4ddd4ae8737f81e6f64649de23ed99cbbca4 SHA512 b77a1ecc09438a165a27f70f31132d60350d790e4e6b0509af00979517a7f21838407acdbf1fe0d3b4612853c4e1269679e95fe90b8588133b17f98b85a28b07 WHIRLPOOL 6ed2f53759e6430fb3f785d732341866bc80623343c6b701886d8a3025f6238b7b28bb78e397725a95333c554ffae75932d745678921869133e10b1c5edf1fb4
+EBUILD tintin-2.01.1-r1.ebuild 684 SHA256 48ba58335445418d83d1dc67e7d5ea4f58ea40ce0982b64608e96209d68bb881 SHA512 48924b9d674205abf8f419bc596a19a8d0acadda054960dafcb8c641a62878db1a51c8d766ed2a6ac4740370d3189238fbf831490d8e8d681c63a1c38538ea8c WHIRLPOOL 57a20349952d443342e85349dc5437fb0c9644c55efcb4eda79128299bb908f11132ef4ce3edddd545083ca0b15d8b1461f2e08dba942829ef485f68e5e35847
+EBUILD tintin-2.01.1.ebuild 734 SHA256 a53eb144f50bbafeacb6264f19b29d13161da777d44149924eb87c051b94f0ec SHA512 e5c825b529bb8fbdbd135ed156994e86b830ad777602a4e3b656105e41a909007c72480420a02661e01e2beb8e37b594da1f8306294840034ac10a2b3edf0ce1 WHIRLPOOL f0b3807c20ab92d61dde4f1f19baa6ae5ab69cc4960894d68ea3e6972390c367322f5cd5fe6fd0245aa4b73e6b6ea9b284ea083ed9aeff19b9e070e296d530c8
+MISC ChangeLog 3659 SHA256 2d3e0e97caf98373eb6e5b4fcd2bd75e545f40d77205a4931528a4003dc1110a SHA512 2b4470938e2e262a28b1d0c4b4fcfb9864c662e25bb636d6ed975606964dbb0370587bf8c6cb68055be165c5c3d93754859cae8d362262c9b21458edb52e78ca WHIRLPOOL 7bb8199e38694fb1a187e016cefc5e0fad5a9c168debcb8055856a4053189735f7e40484bf810876762168b4ac043e8203a5458066a17a99f8335f491eb77430
+MISC ChangeLog-2015 16780 SHA256 fecbe4cf741efc394bfe941770b9ca4c03f330f10bbcf86eb738fb12592c9843 SHA512 069b61722e249a70656ba9db4b4c4b0aeaba7fb620fa1375277f7936e0774afc50fc169679d5251196afd523e7eb2060ed217a6508c6d7fa0ed33f2d9d0338e6 WHIRLPOOL 58baa47496beb5e7a380ded30e27fc0d6a03bdd80c33874faa0064b6bf7383a828844afd76b4c9d0583118cf663b8bb4b9716556d9973b97f818036553d71967
+MISC metadata.xml 329 SHA256 2ebb99ae27a4134eb9df58dd7fd6ef96cce8f9976080ebc81ec79885d9510e55 SHA512 7572490346a0c56e05c8bf9a07f321e1cc8cfe3548c4c2fe3f2d69455b351c6b27de5e9bbddda6de7ddd9cd2e8fbf04f548b40810ccf794699703ae6f7d23cbb WHIRLPOOL f4608ef2465dbb336197e19c57aaccc237cee6956a01a03af4111f7eaf83d3d83f7f63802757031defb0c1718eef784749ae17ce69c478407da98f551cd9f6e1
diff --git a/games-mud/tintin/metadata.xml b/games-mud/tintin/metadata.xml
new file mode 100644
index 000000000000..2c9d6ccb67c2
--- /dev/null
+++ b/games-mud/tintin/metadata.xml
@@ -0,0 +1,11 @@
+<?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>
+</pkgmetadata>
diff --git a/games-mud/tintin/tintin-2.01.1-r1.ebuild b/games-mud/tintin/tintin-2.01.1-r1.ebuild
new file mode 100644
index 000000000000..7da9b8553b33
--- /dev/null
+++ b/games-mud/tintin/tintin-2.01.1-r1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+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 ~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() {
+ 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/tintin/tintin-2.01.1.ebuild b/games-mud/tintin/tintin-2.01.1.ebuild
new file mode 100644
index 000000000000..61f4ca58c860
--- /dev/null
+++ b/games-mud/tintin/tintin-2.01.1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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 x86"
+IUSE=""
+
+DEPEND="sys-libs/zlib
+ net-libs/gnutls
+ 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..89bcf2a35659
--- /dev/null
+++ b/games-mud/tkmoo/Manifest
@@ -0,0 +1,8 @@
+AUX 0.3.32-Makefile-noclean.patch 445 SHA256 b9b2ff9ba1733224856fa38ca991a73aff3fdbc996e3877432e937804cdec617 SHA512 0bbba363d579527b1cca8fa5c953b9724ea939b416c3681b582959f64f36e8d311e17325bc5ca21cccc02e6209ba7f3687cc26fd3b9abe390e8dfbaee9082e53 WHIRLPOOL 26f7d4e0a6b3f488849f460c8b122710ea701b2cb490ae0c77eaf84e9cfa510cc0f3bb4e232c3f593ff9c1bc98aab8aa06c60e6932c80f2c14cfdce19ff9e063
+AUX 0.3.32-keys-workaround.patch 377 SHA256 3f52ad33efb40b8a39a7bd831bc7ae04d53176a0a1da8932005cf94dad4c472f SHA512 2d454f251f817267482597376e4f65972d766ed8ec90ecf79c085e431c82febf27d8c286bc40c3334d1b7f248258fa6c6ca601425d6767d3d6eab93a30590a02 WHIRLPOOL 4e9a0f7a6ab7c7a3bac7b261f12e9d568b99bb574db577e81e5c16ed39a1050d13fa14532e39e4edaf6fc73737d51377e81f656428fb8ed4eefa2faa22bc0702
+DIST tkMOO-light-0.3.32.tar.gz 95332 SHA256 8e5f5e2ed756587bf3f4687c574df3111bf77eff153f17fe1800ef98662c4b5b SHA512 59543692900613eae77b73f5f88a2380a77d1be38d486dc0461d0990ccb941497dd0d35aa109a5697dba3b92157d9943b540a73fe4fc0d519e144f65620443d2 WHIRLPOOL accbf77c88e403d0170856ce1356d15c49584f50da17afc568cae8cc1b36c597dcd64f965672164021d49800125bf39666e773db340c47ba7e3f0cabab196377
+EBUILD tkmoo-0.3.32-r1.ebuild 952 SHA256 70c882217db85f442028b1bb8d55b6f8d61871869df758ae90b860818a431485 SHA512 27eae2fed3d067665079a81462a54a075920e1193060d13324eee252a9c992474af084c4d1394eb2048935764763347bb382496ac1ad164f0b0c73b844a4c947 WHIRLPOOL bbcddf786dc97889454ba382d555352d3d4b854d4f8037b421920a1dcea3391684b47396ce6308458ee0030ec89dfee54bcd8fc04c91984b2aed85389ae0f2f2
+EBUILD tkmoo-0.3.32.ebuild 1019 SHA256 6643ec406663c5ea64740273c8517baa70163a5c1fa7f73b33b8fbea168393df SHA512 6b819d7c29f63ac2cf7d9737291b1cf81d6b56c31429d652d2b35638b16e97558d31b092e674f7152f05c365005b6e745013350ad6a48058e4dfa60dad852697 WHIRLPOOL 8a76492dfafbd750e159481f1c443320baa1bac9891c96d2e16ac1cf794e93116ea489894ed6aac2126fa8edf7a8f11e89e8fbcf1170aa0c14ea1338e0f98dcd
+MISC ChangeLog 2954 SHA256 924b2f15ba9d79afae5f6657add442d694d230e491c4dcb88aaea23229df2114 SHA512 11e1aec0c3ee4fd2531ab90a0363ddd4e57ec000ce8ce1749815965cda763839e06ce7530abbfa4115873f0e7b45ab5a7aa2ceedd7324ff8be64cdb85eba7443 WHIRLPOOL 059bec992f301e65f7ef5b34e7e86f551787720b54324a5aa6dce1b43ad26e444e0187677a2b84e5d20434dcfd482855a8038d1372c587f978c2e1e81098c6fd
+MISC ChangeLog-2015 3021 SHA256 9f5f66bfacde4ba78324bdd288ffff3ae8d830f751fe82505081ee4960c34b6b SHA512 9978c4181364aa940f5b6d7c0197db1d0dc5f43f8e2c47dcd371f3dae7bd581828f83a9db5e3f4aa75b5cc8d1a30062942b19b2a4a7243fbe61c255994eabc77 WHIRLPOOL 30cc69a69f3c5a23f0f1fcb8de7f5037e5f393f3ebd77841b9d5d57d80057bb18e8e1813a69a3570e00bd63f74497a1c85dc5cff2fee406b401ccdd01e3201b6
+MISC metadata.xml 249 SHA256 943b9ce0cd072229b43569ab668dd7ec741d9dfefd942c8921dabd4490b27b0c SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 WHIRLPOOL b10e21575c78e201a652c8582cd16e3f7c86b13dd20a30f4cea44066fb139440b3c186147dbaae83478f11a20b6f457a99c8b29ee1239a4caaa21eee01250088
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..78274e0fa550
--- /dev/null
+++ b/games-mud/tkmoo/metadata.xml
@@ -0,0 +1,8 @@
+<?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>
+</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/tkmoo/tkmoo-0.3.32.ebuild b/games-mud/tkmoo/tkmoo-0.3.32.ebuild
new file mode 100644
index 000000000000..e22acae92605
--- /dev/null
+++ b/games-mud/tkmoo/tkmoo-0.3.32.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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 x86"
+IUSE=""
+
+DEPEND="
+ >=dev-lang/tcl-8.3.3:0=
+ >=dev-lang/tk-8.3.3:0="
+RDEPEND=${DEPEND}
+
+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..0628c0bce042
--- /dev/null
+++ b/games-mud/trebuchet/Manifest
@@ -0,0 +1,6 @@
+DIST trebuchet-1.075.tar.gz 339202 SHA256 5dcf76a8eaf2836ef54114e7d78f58f55d9122be83daa37e32bd55ffe1e47dbf SHA512 7d007172e228e1a33563b4141b9dc544de8d2ae124ec0ec1a9da8a253339d910ab00ce0570e1da81499a97aadfea701f9131fbafc20eae1e64830d1bd15ab1fa WHIRLPOOL 36ca2a860ab02ee963e15dcaa4680b5dd3ce269e54bab7cb5eaa310397be9f4b32fa510e692002d8fa14be4b80785f472a91c98bcdbb80e37570611aefaf806e
+EBUILD trebuchet-1.075-r1.ebuild 690 SHA256 ba709276886d0be49f15a0cadf39f45fb3fccdc4f209ac35dfa651feb2604b58 SHA512 586aacf27bb02b12b2d627fae66915e5e688933f2296f437b5af995c8f411a6e6084cf928e9f9f83c97a35c6bde98ab69af2dc7e935c6bde143baffdf5f63d9f WHIRLPOOL e05fd69b65eee94c83ca0d42971b8809d02aaf31eae5943e17d63c89b044677b72d8d2e75a763ef512869267bd28c4d0d03f8b619fa80c82ff9dd7eecf3c63db
+EBUILD trebuchet-1.075.ebuild 734 SHA256 2983266ffe2c6cf184597b3d70a0bfe90124a8172ec897967784f638870c95d6 SHA512 27328174b643ce1291f7c0d53c2644a51863d46ee1b7fee1e0bbce9f421637cbb2c93901e94cffa347f9333e18676eea2e3bac6010f2e155f26a911667c95e50 WHIRLPOOL 2d4423e8cbc0a1785132d65730f453143c94e84415ff435361d8467e17fde16dea05e29d1ba4e1bad43659544373e16b35747ee9dc8c428769b824ab1158b4c5
+MISC ChangeLog 2692 SHA256 a4cc154c349cd7332668ad0d1fda3a3c67ae42178c592239e457a5e4f1b76247 SHA512 afb6187296147d0e89b738c7cbedcedb9ba944b1c7d40831b5827a0760a95c872b45f354f656584928b298492e423575639d5e3cc26e7ab0802d09fd4cd8d8ba WHIRLPOOL 49260ff3b17bb91e998d243162a6e1c06536595fb453432d70ec1c9a91afc7a17bde2e720332e8e7cc715fe9cbb3ca4bcf273e4cbc3c4e92227670f473a759e5
+MISC ChangeLog-2015 1610 SHA256 d6bddb64c6b56192b4530a9bfae98d139b88af18da494b7914e102b855d343bf SHA512 914629a914e6a2c968eda36b6006df5db6648e784ec7649aab630351fd8491f292e144d5c89b6d4bf58e045680992a6381e1f8d685e056741e3efb58e1622db3 WHIRLPOOL 612a81e687722acbcc7fb6189b514c1fec2448b3df0a77d867c2466091681512d841996328c83c282450d0c112bbac98008d790787a19b45ca10e43bc3766069
+MISC metadata.xml 332 SHA256 2ba3364a089130c648ddef2cc385be9733e614fea90d870e23a416d42deac0fd SHA512 7a22f6902d2ff3d4ca14faaeab3360599bb0c44338dabf1de3300a07b8cdcd858f191a6e4f1f533dc8d1cecb2f98266945a4e4026ffe3dca8766bc41bcd64ada WHIRLPOOL 558bef5b27a7ce21bcdd2633a21e2ea4e894750ebe705f9b9f8a5cd4d6ff7ee7464d2a6a5f0dee7188c1b3dfe3ead0cf86802f4cf9e2dc204c086d094aaf5eec
diff --git a/games-mud/trebuchet/metadata.xml b/games-mud/trebuchet/metadata.xml
new file mode 100644
index 000000000000..022b68c4918f
--- /dev/null
+++ b/games-mud/trebuchet/metadata.xml
@@ -0,0 +1,11 @@
+<?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>
+</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..403c9113c2b5
--- /dev/null
+++ b/games-mud/trebuchet/trebuchet-1.075-r1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2016 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
+}
diff --git a/games-mud/trebuchet/trebuchet-1.075.ebuild b/games-mud/trebuchet/trebuchet-1.075.ebuild
new file mode 100644
index 000000000000..7f5e90eae337
--- /dev/null
+++ b/games-mud/trebuchet/trebuchet-1.075.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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 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
+}