summaryrefslogtreecommitdiff
path: root/games-mud
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /games-mud
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'games-mud')
-rw-r--r--games-mud/Manifest.gzbin2237 -> 2217 bytes
-rw-r--r--games-mud/circlemud-3.112
-rw-r--r--games-mud/circlemud/Manifest4
-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-0.2.4-r112
-rw-r--r--games-mud/crystal/Manifest5
-rw-r--r--games-mud/crystal/crystal-0.2.4-r1.ebuild40
-rw-r--r--games-mud/crystal/files/crystal-0.2.4-build.patch28
-rw-r--r--games-mud/crystal/files/crystal-0.2.4-gcc43.patch11
-rw-r--r--games-mud/crystal/metadata.xml8
-rw-r--r--games-mud/gmudix-1.0-r112
-rw-r--r--games-mud/gmudix/Manifest5
-rw-r--r--games-mud/gmudix/files/gmudix-1.0-as-needed.patch28
-rw-r--r--games-mud/gmudix/files/gmudix-1.0-format.patch11
-rw-r--r--games-mud/gmudix/gmudix-1.0-r1.ebuild36
-rw-r--r--games-mud/gmudix/metadata.xml8
-rw-r--r--games-mud/gnome-mud-0.11.2-r213
-rw-r--r--games-mud/gnome-mud-999911
-rw-r--r--games-mud/gnome-mud/Manifest6
-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-3.0.1-r113
-rw-r--r--games-mud/kildclient/Manifest4
-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/metadata.xml11
-rw-r--r--games-mud/lyntin-4.2-r214
-rw-r--r--games-mud/lyntin/Manifest3
-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-4.3-r211
-rw-r--r--games-mud/mudix/Manifest4
-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-r2.ebuild29
-rw-r--r--games-mud/powwow-1.2.16-r112
-rw-r--r--games-mud/powwow/Manifest4
-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/tf-50_beta8-r212
-rw-r--r--games-mud/tf/Manifest8
-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-2.01.1-r111
-rw-r--r--games-mud/tintin/Manifest3
-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/tkmoo-0.3.32-r112
-rw-r--r--games-mud/tkmoo/Manifest5
-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/trebuchet-1.075-r111
-rw-r--r--games-mud/trebuchet/Manifest3
-rw-r--r--games-mud/trebuchet/metadata.xml11
-rw-r--r--games-mud/trebuchet/trebuchet-1.075-r1.ebuild37
66 files changed, 1299 insertions, 156 deletions
diff --git a/games-mud/Manifest.gz b/games-mud/Manifest.gz
index 16894443b824..9fc152675af0 100644
--- a/games-mud/Manifest.gz
+++ b/games-mud/Manifest.gz
Binary files differ
diff --git a/games-mud/circlemud-3.1 b/games-mud/circlemud-3.1
deleted file mode 100644
index ef543a946c0a..000000000000
--- a/games-mud/circlemud-3.1
+++ /dev/null
@@ -1,12 +0,0 @@
-DEFINED_PHASES=compile configure install postinst preinst prepare setup unpack
-DEPEND=dev-libs/openssl:0=
-DESCRIPTION=a multi-user dungeon game system server
-EAPI=5
-HOMEPAGE=http://www.circlemud.org/
-KEYWORDS=~amd64 ~x86
-LICENSE=circlemud
-RDEPEND=dev-libs/openssl:0= games-misc/games-envd
-SLOT=0
-SRC_URI=http://www.circlemud.org/pub/CircleMUD/3.x/circle-3.1.tar.bz2
-_eclasses_=base 983774947da124fb7d542ce25a218bb1 desktop 1b286a7e7143d8c4ec89cd0d2743a097 epatch 9a5f039771f143195164a15a4faa41a1 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 5b8ce72259e08104b337fe28c6de5dbc games 2bb3ede665927a68ffdb7c41eec7efde ltprune 607e058da37aa6dabfa408b7d61da72e multilib 97f470f374f2e94ccab04a2fb21d811e preserve-libs ef207dc62baddfddfd39a164d9797648 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 user 8bc2845510e2109af75e3eeac607ec81 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf
-_md5_=138159cc4bf6fe5b176fccdbdcef80d4
diff --git a/games-mud/circlemud/Manifest b/games-mud/circlemud/Manifest
new file mode 100644
index 000000000000..34efe204faa6
--- /dev/null
+++ b/games-mud/circlemud/Manifest
@@ -0,0 +1,4 @@
+AUX circlemud-3.1-ldflags.patch 2808 BLAKE2B 89eb13ad95e943c2d46802ff86ca921759f39c47812df41ba91ca640ac559f0eb1d5685bab0727b0b7e1085f5b87e9fd7dc1288e88447a404f07005d4e1472ac SHA512 e60d6732cd488257f770e561852394ce6f5437b1c9b96233e9a650c02f4e66d3a31e37438655a7a25cd5af050d3da67c19154500cc3679ca0b4cb3d2aff92ba8
+DIST circle-3.1.tar.bz2 1176136 BLAKE2B f48a8feeb2cca17f23142f3456e09bc319aa26e2e295badc0e80b9d5f87f09f30f697ffba87c2edefdd6f77c8c56af68e395532c4a2232687c02ad869c19fb3f SHA512 161a0fd74aa248f6b357447be1de2d7c55e1fd281e9621d1cf7eb02d802ae06f362a318eeb3eb2425aad96620f71775245775a3aa42250e4374e8c82947df194
+EBUILD circlemud-3.1.ebuild 1477 BLAKE2B 5da20e2d5ec5f0e04c4d792a89b1c88cae0f0014525b2b1f739a46a2e3f00ca8b8d842fe85dde921155289cd4fa19d1d3332ab0cd6597d325e239526532588b0 SHA512 6ae81a0e438c1b48065de16063afd7df3b46b02a009ac782f96129513e39ce96ab7681f271f88a449ef36d5febb703eb8fa32c1cd053f74300928c2078aebc7d
+MISC metadata.xml 711 BLAKE2B 1ca940940c272abadf5883a5458c414fdff03775c999d6156c1552bfd8abfd2199d0bc273498248e091f9c04ea3f43bbf4cc10cef06daab6014d867281e07a40 SHA512 4e0b5aa6ad14a7a0ae17be00023586becd1c370f01eca9730632a52ea56b3b6a91cb0180ead036937df09c4adaf6a9950cd872de42bd8c81ca69112a63dd37f6
diff --git a/games-mud/circlemud/circlemud-3.1.ebuild b/games-mud/circlemud/circlemud-3.1.ebuild
new file mode 100644
index 000000000000..a0b3a10589f9
--- /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-0.2.4-r1 b/games-mud/crystal-0.2.4-r1
deleted file mode 100644
index 22eb81b0d4be..000000000000
--- a/games-mud/crystal-0.2.4-r1
+++ /dev/null
@@ -1,12 +0,0 @@
-DEFINED_PHASES=configure prepare
-DEPEND=dev-libs/openssl:0= sys-libs/ncurses:0= sys-libs/zlib virtual/libiconv virtual/pkgconfig >=app-portage/elt-patches-20170422 !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.16.1:1.16 >=sys-devel/automake-1.15.1:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4
-DESCRIPTION=The crystal MUD client
-EAPI=6
-HOMEPAGE=http://www.evilmagic.org/crystal/
-KEYWORDS=~amd64 ~x86
-LICENSE=GPL-2
-RDEPEND=dev-libs/openssl:0= sys-libs/ncurses:0= sys-libs/zlib virtual/libiconv
-SLOT=0
-SRC_URI=http://www.evilmagic.org/dist/crystal-0.2.4.tar.gz
-_eclasses_=autotools d0e5375d47f4c809f406eb892e531513 desktop 1b286a7e7143d8c4ec89cd0d2743a097 epatch 9a5f039771f143195164a15a4faa41a1 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 5b8ce72259e08104b337fe28c6de5dbc libtool 0081a71a261724730ec4c248494f044d ltprune 607e058da37aa6dabfa408b7d61da72e multilib 97f470f374f2e94ccab04a2fb21d811e preserve-libs ef207dc62baddfddfd39a164d9797648 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf
-_md5_=8b4f20a7c77a79800a7e3588866c6fcd
diff --git a/games-mud/crystal/Manifest b/games-mud/crystal/Manifest
new file mode 100644
index 000000000000..1b4a51028f25
--- /dev/null
+++ b/games-mud/crystal/Manifest
@@ -0,0 +1,5 @@
+AUX crystal-0.2.4-build.patch 916 BLAKE2B 90529e6be405c8f137041252109ad12a33a075baf3f3deab1c1f2279a26d49f3cd076e240e002e62f422c4fa25aef43aacd0daa643344a700cb9b9a7db586ee3 SHA512 4e3446634ca2996fecde8c9a12e2cc8d0900862dc2019cc0b260e58b5a1222f7e9b4faeeffc30f560dcaf97d83e1113800b19af36b054dbff9ed0b99296e777b
+AUX crystal-0.2.4-gcc43.patch 194 BLAKE2B 43b2ad908ea17e3b7c6123492a2c28a5dc0f3a0210d09a125efaab48d8da370b85d30538ccf3ee4b9e7af7ee46c7a2d5105b5d67982414610040fe4be296361d SHA512 98fbde01a18f36edabf8e324e1c5b7c12026032c59e5b628519cc21027e9553dda5d76fd1458f851ff9796d49f697b76f6f11fde85fbfdb433bcf05abdbf1021
+DIST crystal-0.2.4.tar.gz 146962 BLAKE2B 0b98e7db594ea27be26d7391c1f1ee8cdbf3239b9d841ebebf61d1022e492e3791057b70ddbe67f3da2e4a93c5b2d3f390ee2852cb489cbad7426b14661b7de0 SHA512 8493b0d84db610606ce97e918cfa418123c39e5afffb4bf880aa905c46dc13d0b7ff0366b497e020276afadf9db951fcd6fa7aa0e25f5357574fa465ee152916
+EBUILD crystal-0.2.4-r1.ebuild 748 BLAKE2B 636fd486c1f060124a75f18745449c34a7d0eefd8b8d0996e77a20ab5d2367cfd925c8562e15d2215c1bd606a5f15f98d71ef1a3bd2e7a40c40659361dbc818d SHA512 ce1df203325428707f3df00755fdf17f39ad5aa0d6b0bb6d97f6e170411f3d3a7e8476503c750ce874b499902559faf796e3512855391451130efabfd49ad8eb
+MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118
diff --git a/games-mud/crystal/crystal-0.2.4-r1.ebuild b/games-mud/crystal/crystal-0.2.4-r1.ebuild
new file mode 100644
index 000000000000..c5f5e04e44bf
--- /dev/null
+++ b/games-mud/crystal/crystal-0.2.4-r1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit autotools eutils
+
+DESCRIPTION="The crystal MUD client"
+HOMEPAGE="http://www.evilmagic.org/crystal/"
+SRC_URI="http://www.evilmagic.org/dist/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+ dev-libs/openssl:0=
+ sys-libs/ncurses:0=
+ sys-libs/zlib
+ virtual/libiconv"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-gcc43.patch
+ "${FILESDIR}"/${P}-build.patch
+)
+
+src_prepare() {
+ default
+
+ # avoid colliding with xscreensaver (bug #281191)
+ mv crystal.6 crystal-mud.6 || die
+ mv configure.in configure.ac || die
+ eautoreconf
+}
+
+src_configure() {
+ econf --disable-scripting
+}
diff --git a/games-mud/crystal/files/crystal-0.2.4-build.patch b/games-mud/crystal/files/crystal-0.2.4-build.patch
new file mode 100644
index 000000000000..1f8917e4056d
--- /dev/null
+++ b/games-mud/crystal/files/crystal-0.2.4-build.patch
@@ -0,0 +1,28 @@
+--- a/configure.in
++++ b/configure.in
+@@ -31,7 +31,9 @@
+ AC_PROG_CXX
+ AC_CHECK_FUNCS(select socket strerror strstr)
+
+-AC_CHECK_LIB(curses, main, [LIBS=" -lcurses "], AC_CHECK_LIB(ncurses, main, [LIBS=" -lncurses "], AC_MSG_ERROR([No curses])))
++PKG_CHECK_MODULES([NCURSES], [ncurses])
++AC_SUBST([NCURSES_CFLAGS])
++AC_SUBST([NCURSES_LIBS])
+
+ AC_CHECK_LIB(z, main, [LIBS=$LIBS" -lz "; AC_DEFINE(HAVE_ZLIB)], AC_MSG_WARN([No zlib - MCCP support will not be built]))
+
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -5,7 +5,11 @@
+ common.h crystal.h grid.h io.h telnet.h wcwidth.c \
+ scripting.cc scripting.h
+
+-man_MANS = crystal.6
++crystal_CPPFLAGS = $(NCURSES_CFLAGS)
++
++crystal_LDADD = $(NCURSES_LIBS)
++
++man_MANS = crystal-mud.6
+
+ DEBDIST = README.Debian debian/changelog.real debian/compat debian/control debian/copyright debian/crystal-default.ex debian/crystal.substvars debian/docs debian/rules debian/watch.ex
+
diff --git a/games-mud/crystal/files/crystal-0.2.4-gcc43.patch b/games-mud/crystal/files/crystal-0.2.4-gcc43.patch
new file mode 100644
index 000000000000..dbb4e2a1649f
--- /dev/null
+++ b/games-mud/crystal/files/crystal-0.2.4-gcc43.patch
@@ -0,0 +1,11 @@
+--- a/common.h
++++ b/common.h
+@@ -3,6 +3,8 @@
+
+ #include <string>
+ #include <stdio.h>
++#include <cstring>
++#include <cstdlib>
+ #include <curses.h>
+ #include <termios.h>
+ #include <sys/ioctl.h>
diff --git a/games-mud/crystal/metadata.xml b/games-mud/crystal/metadata.xml
new file mode 100644
index 000000000000..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-1.0-r1 b/games-mud/gmudix-1.0-r1
deleted file mode 100644
index 9bcf13c84530..000000000000
--- a/games-mud/gmudix-1.0-r1
+++ /dev/null
@@ -1,12 +0,0 @@
-DEFINED_PHASES=install prepare
-DEPEND=x11-libs/gtk+:2 virtual/pkgconfig >=app-portage/elt-patches-20170422 !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.16.1:1.16 >=sys-devel/automake-1.15.1:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4
-DESCRIPTION=GTK+ MUD client with many features and an easy scripting language
-EAPI=6
-HOMEPAGE=http://dw.nl.eu.org/mudix.html
-KEYWORDS=~amd64 ~x86
-LICENSE=GPL-2
-RDEPEND=x11-libs/gtk+:2
-SLOT=0
-SRC_URI=http://dw.nl.eu.org/gmudix/gmudix-1.0.tar.gz
-_eclasses_=autotools d0e5375d47f4c809f406eb892e531513 desktop 1b286a7e7143d8c4ec89cd0d2743a097 epatch 9a5f039771f143195164a15a4faa41a1 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 5b8ce72259e08104b337fe28c6de5dbc libtool 0081a71a261724730ec4c248494f044d ltprune 607e058da37aa6dabfa408b7d61da72e multilib 97f470f374f2e94ccab04a2fb21d811e preserve-libs ef207dc62baddfddfd39a164d9797648 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf
-_md5_=df1eaa7a2197bcab8868e728c3645f11
diff --git a/games-mud/gmudix/Manifest b/games-mud/gmudix/Manifest
new file mode 100644
index 000000000000..65c69a696eab
--- /dev/null
+++ b/games-mud/gmudix/Manifest
@@ -0,0 +1,5 @@
+AUX gmudix-1.0-as-needed.patch 1086 BLAKE2B 8e85a01154f336450888b8e42939a7328ea90ce17c6b05e72fb15d25fcbbbadc026af7f0a08803701c049389c9bfa5f9f210a813c7964446f3f52c1660aa7780 SHA512 74abd6878a94ab149977baa665c11881f56bfc33b8515bce9fa1582c488ea765f7ef84e65dd45c6fdf681f3e1d21d8052319c6e9b56da6da8180e2de1c69cbdc
+AUX gmudix-1.0-format.patch 514 BLAKE2B e223a4b8ba17237fed51c3f0eb3e541c4589e8d85a82e84caec693970af4d334c5a1018214d4c5cd754db37e73a3b87a773ccb6427dfb707472a16cf4f731a9f SHA512 009826ea4ece40a7f1face057eca8161d517aa5e498a3dc4cce84b8fa1dbfbe4bd5e0dff93cea8cc60c312ceffb18b857266062762d8f60681e25df67cd8bce9
+DIST gmudix-1.0.tar.gz 137548 BLAKE2B 5b6b5cb75a41967e8a436651397e2560303006f34a88cf47991b331a60589b9e47835657155bf284f569180169f10a5f8871659d1d380a1cf211b8d853e2c575 SHA512 c22a725af6914d5177a737c1abf1ee38c133854fab8723dc01a89739b58214937008c3931ccc5928e88ee1ecbda385304ff862606eacec377addd6ee8de02b38
+EBUILD gmudix-1.0-r1.ebuild 700 BLAKE2B 5a5425181665122036de40ac91f36b450c6641ff8783e1dfb0d07e874c7462518b1c764348a86baf605f9983bf93805d2b0ffc919a79f4d0851051d6e7638ba1 SHA512 060e0970cc1eca5a1baf5df5fdd13a344b90b60447bceea033f6fb4657793b7039d510053a0f4ced7a038767cc4ad5a30600afdeafc06702f83c51979d8ec2d2
+MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118
diff --git a/games-mud/gmudix/files/gmudix-1.0-as-needed.patch b/games-mud/gmudix/files/gmudix-1.0-as-needed.patch
new file mode 100644
index 000000000000..fe1de7b8cbdc
--- /dev/null
+++ b/games-mud/gmudix/files/gmudix-1.0-as-needed.patch
@@ -0,0 +1,28 @@
+--- a/configure.in
++++ b/configure.in
+@@ -8,7 +8,8 @@
+ AC_PROG_MAKE_SET
+
+ dnl Checks for libraries.
+-PKG_CHECK_MODULES(BASE_DEPENDENCIES, gtk+-2.0 >= 2.0.0)
++PKG_CHECK_MODULES(GTK, gtk+-2.0)
++PKG_CHECK_MODULES(GTHREAD, gthread-2.0)
+
+ dnl Checks for header files.
+ AC_HEADER_STDC
+--- a/src/Makefile.am
++++ b/src/Makefile.am
+@@ -1,10 +1,5 @@
+ bin_PROGRAMS = gmudix
+ gmudix_SOURCES = alias.c commands.c file.c gui_alias.c gui_capture.c gui_character.c gui_color.c gui_font.c gui_general.c gui_macro.c gui_main.c gui_path.c gui_preferences.c gui_tab.c gui_timer.c gui_trigger.c gui_user.c gui_variable.c history.c log.c macro.c mccp.c mudix.c net.c path.c process.c string.c tabs.c telnet.c timer.c trigger.c user.c variable.c
+-INCLUDES = -Wall -I.. -I../include `pkg-config --cflags gtk+-2.0`
+-gmudix_LDFLAGS = -lz `pkg-config --libs gtk+-2.0` `pkg-config --libs gthread-2.0`
+-
+-if DEBUG_SYMBOLS
+-CFLAGS := $(CFLAGS) -O2 -g
+-else
+-CFLAGS := $(CFLAGS) -O2
+-endif
++AM_CFLAGS = -Wall
++INCLUDES = -I.. -I../include $(GTK_CFLAGS) $(GTHREAD_CFLAGS)
++LDADD = -lz $(GTK_LIBS) $(GTHREAD_LIBS)
diff --git a/games-mud/gmudix/files/gmudix-1.0-format.patch b/games-mud/gmudix/files/gmudix-1.0-format.patch
new file mode 100644
index 000000000000..4bb9729840e8
--- /dev/null
+++ b/games-mud/gmudix/files/gmudix-1.0-format.patch
@@ -0,0 +1,11 @@
+--- a/src/gui_user.c 2016-02-04 21:21:15.141455597 +0100
++++ b/src/gui_user.c 2016-02-04 21:21:31.016156493 +0100
+@@ -820,7 +820,7 @@
+
+ dialog = gtk_message_dialog_new(GTK_WINDOW(user->gui_user.g_window),
+ GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_INFO,
+- GTK_BUTTONS_CLOSE, msg);
++ GTK_BUTTONS_CLOSE, "%s", msg);
+
+ gtk_window_set_transient_for(GTK_WINDOW(user->gui_user.g_window),
+ GTK_WINDOW(dialog));
diff --git a/games-mud/gmudix/gmudix-1.0-r1.ebuild b/games-mud/gmudix/gmudix-1.0-r1.ebuild
new file mode 100644
index 000000000000..fa4c5f6bdf05
--- /dev/null
+++ b/games-mud/gmudix/gmudix-1.0-r1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit autotools eutils
+
+DESCRIPTION="GTK+ MUD client with many features and an easy scripting language"
+HOMEPAGE="http://dw.nl.eu.org/mudix.html"
+SRC_URI="http://dw.nl.eu.org/gmudix/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="x11-libs/gtk+:2"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-as-needed.patch
+ "${FILESDIR}"/${P}-format.patch
+)
+
+src_prepare() {
+ default
+
+ mv configure.in configure.ac || die
+ rm -f missing || die
+ eautoreconf
+}
+
+src_install() {
+ dobin src/${PN}
+ dodoc AUTHORS ChangeLog README TODO doc/*txt
+}
diff --git a/games-mud/gmudix/metadata.xml b/games-mud/gmudix/metadata.xml
new file mode 100644
index 000000000000..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-0.11.2-r2 b/games-mud/gnome-mud-0.11.2-r2
deleted file mode 100644
index 186586466639..000000000000
--- a/games-mud/gnome-mud-0.11.2-r2
+++ /dev/null
@@ -1,13 +0,0 @@
-DEFINED_PHASES=compile configure install postinst postrm preinst prepare
-DEPEND=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 virtual/pkgconfig app-text/rarian >=dev-util/intltool-0.23 >=sys-devel/gettext-0.11.5 >=app-portage/elt-patches-20170422 !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.16.1:1.16 >=sys-devel/automake-1.15.1:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4 >=sys-apps/sed-4 dev-util/desktop-file-utils x11-misc/shared-mime-info
-DESCRIPTION=GNOME MUD client
-EAPI=6
-HOMEPAGE=https://wiki.gnome.org/Apps/GnomeMud
-IUSE=gstreamer
-KEYWORDS=amd64 x86 ~x86-fbsd
-LICENSE=GPL-2+
-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
-SLOT=0
-SRC_URI=mirror://gnome/sources/gnome-mud/0.11/gnome-mud-0.11.2.tar.bz2
-_eclasses_=autotools d0e5375d47f4c809f406eb892e531513 desktop 1b286a7e7143d8c4ec89cd0d2743a097 epatch 9a5f039771f143195164a15a4faa41a1 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 5b8ce72259e08104b337fe28c6de5dbc gnome.org 5e4cc5af3f1b17bdee155bf02e8c2df4 gnome2 6e4acb9c9da2cfa25f2dfedb93bb4a43 gnome2-utils 29bb8f7881c95139e532a2d5e47ff834 libtool 0081a71a261724730ec4c248494f044d ltprune 607e058da37aa6dabfa408b7d61da72e multilib 97f470f374f2e94ccab04a2fb21d811e preserve-libs ef207dc62baddfddfd39a164d9797648 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf versionator 26ca8a8bd95d6a74122c08ba98a4ee72 xdg 6cd76cc914c1a759dee032778487b57f xdg-utils f2c8335407f0b935b0a96d4adf23ef25
-_md5_=3983cab052c92705cfe34c9e7fc38230
diff --git a/games-mud/gnome-mud-9999 b/games-mud/gnome-mud-9999
deleted file mode 100644
index b88ef15b2d4e..000000000000
--- a/games-mud/gnome-mud-9999
+++ /dev/null
@@ -1,11 +0,0 @@
-DEFINED_PHASES=compile configure install postinst postrm preinst prepare unpack
-DEPEND=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 ) virtual/pkgconfig app-text/rarian >=dev-util/intltool-0.23 >=sys-devel/gettext-0.11.5 >=app-portage/elt-patches-20170422 !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.16.1:1.16 >=sys-devel/automake-1.15.1:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4 app-arch/xz-utils >=sys-apps/sed-4 dev-util/desktop-file-utils x11-misc/shared-mime-info >=dev-vcs/git-1.8.2.1[curl]
-DESCRIPTION=GNOME MUD client
-EAPI=6
-HOMEPAGE=https://wiki.gnome.org/Apps/GnomeMud
-IUSE=debug gstreamer
-LICENSE=GPL-2+
-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 )
-SLOT=0
-_eclasses_=autotools d0e5375d47f4c809f406eb892e531513 desktop 1b286a7e7143d8c4ec89cd0d2743a097 epatch 9a5f039771f143195164a15a4faa41a1 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 5b8ce72259e08104b337fe28c6de5dbc git-r3 8f6de46b0aa318aea0e8cac62ece098b gnome.org 5e4cc5af3f1b17bdee155bf02e8c2df4 gnome2 6e4acb9c9da2cfa25f2dfedb93bb4a43 gnome2-utils 29bb8f7881c95139e532a2d5e47ff834 libtool 0081a71a261724730ec4c248494f044d ltprune 607e058da37aa6dabfa408b7d61da72e multilib 97f470f374f2e94ccab04a2fb21d811e preserve-libs ef207dc62baddfddfd39a164d9797648 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf versionator 26ca8a8bd95d6a74122c08ba98a4ee72 xdg 6cd76cc914c1a759dee032778487b57f xdg-utils f2c8335407f0b935b0a96d4adf23ef25
-_md5_=4dd7162b3535e2b3c4c1f5e9183a6c68
diff --git a/games-mud/gnome-mud/Manifest b/games-mud/gnome-mud/Manifest
new file mode 100644
index 000000000000..15b8d4ffa416
--- /dev/null
+++ b/games-mud/gnome-mud/Manifest
@@ -0,0 +1,6 @@
+AUX 0.11.2-gst1.patch 1645 BLAKE2B ad5ec717a6dbaec685d12754c7f2fc8ba29fc3485884a2ab77776f1917f1afd3ba4f7ac04c6323b06bf125bd1609da5c2502205f9d7d9570c7eca925004941c0 SHA512 ed3ec4831e1cd7955d0629939270643ee2fe7a6995608fa2ce22e03f86a9ca3ad5c3b66aad648ed0133db6f601995bc7b9e767438b296d23efbc9819b6b5b45b
+AUX 0.11.2-telopts-reenable.patch 1284 BLAKE2B edb0ff64c37b9da04ac5bbd40d2b8e8ebae981571259c8fcdbe736171a97569c900307dfe77b1fe5dad7b3718a6d9a07be0653a1eea716cd42af8c2ab11215b2 SHA512 9a9f8ade511282bcc4142d3bff15b0a64dda36b327920f4d665852d43a13854b5e876bef8e8c667c28330896e9fc09965317595850b4c0e67285d9c8d8223ed5
+DIST gnome-mud-0.11.2.tar.bz2 444294 BLAKE2B e3e1c6ebb4dbd4169f947adb5e481db19b8a7d774866e56e17d6448486b2962cdd5a021195e3b26840143362dbe60c519105166c7b5f8d0f9cc10e3563eef8f9 SHA512 b8dd4ffa0cd5ab7077b21c908fb92b6b5c3e1fc65c06c890d8ebb4ab4fd6d1f8ac4a67d9a815634fc45f3357dd495ba329057df5662c00d2074278a16470c422
+EBUILD gnome-mud-0.11.2-r2.ebuild 1249 BLAKE2B 991a0d465eb7df2a026f4506a137db28067eebfaf4fc894b8c3b1a98eb944da83d480c7a69649822e185a2916c3bdaea86d03ebe35e63f6fb56d7ed6e9fcaef6 SHA512 bee265e98a53b11a1133fa987f65236fdf394aa8e64d876b70b7c1e9962be1ed9254e24fab8c79cce02d7c73f6b421002fa4f842b138cd73369bf32e5bc3babe
+EBUILD gnome-mud-9999.ebuild 891 BLAKE2B c44f14049be4069dfdcf226aa7c51e9c4b68769c9e5ead68df5c263760854d6795a6829c048baae9bf85bb2f684ecd47033c214a9467cb9c6c4808fa1bc90783 SHA512 12fefeaf3d0509f2ba41ffc1dffbb55c0d4c99f2b79f7527aa7e7325efc6a382441c720db562b07dbbd75f2eb4232ee776a2f40faea3ce7f448caa527ad4ef34
+MISC metadata.xml 350 BLAKE2B 6bd2e206bc7a4f2e4d9cde3a52ea0879f08187ee03b79abaf712cf4574e4539302552781c00764dc78f42f70576e4d0faf2d938c9d787c5345c0122a4db77d12 SHA512 0531e7ca85ea8011f5aeef4517ea6dc1362323dbb4b05be0c9fa028e2a3cdeae880cdcbdef070c048649520cbe23ec8bce4785c2bfbbdd3c989380b036d51984
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-3.0.1-r1 b/games-mud/kildclient-3.0.1-r1
deleted file mode 100644
index 22f23802aa69..000000000000
--- a/games-mud/kildclient-3.0.1-r1
+++ /dev/null
@@ -1,13 +0,0 @@
-DEFINED_PHASES=configure prepare
-DEPEND=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 ) sys-devel/gettext virtual/pkgconfig >=app-portage/elt-patches-20170422 !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.16.1:1.16 >=sys-devel/automake-1.15.1:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4
-DESCRIPTION=Powerful MUD client with a built-in PERL interpreter
-EAPI=6
-HOMEPAGE=http://kildclient.sourceforge.net
-IUSE=doc gnutls spell
-KEYWORDS=~amd64 ~x86
-LICENSE=GPL-3
-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 )
-SLOT=0
-SRC_URI=mirror://sourceforge/kildclient/kildclient-3.0.1.tar.gz
-_eclasses_=autotools d0e5375d47f4c809f406eb892e531513 desktop 1b286a7e7143d8c4ec89cd0d2743a097 epatch 9a5f039771f143195164a15a4faa41a1 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 5b8ce72259e08104b337fe28c6de5dbc libtool 0081a71a261724730ec4c248494f044d ltprune 607e058da37aa6dabfa408b7d61da72e multilib 97f470f374f2e94ccab04a2fb21d811e preserve-libs ef207dc62baddfddfd39a164d9797648 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf
-_md5_=44e72759008fb434151bf409f92ad798
diff --git a/games-mud/kildclient/Manifest b/games-mud/kildclient/Manifest
new file mode 100644
index 000000000000..e5f3f7098e35
--- /dev/null
+++ b/games-mud/kildclient/Manifest
@@ -0,0 +1,4 @@
+AUX kildclient-3.0.1-gentoo.patch 3882 BLAKE2B 9f2bf6c8794365d17f9b1271d7ff20ede322056bd59a527e43fc82d36541c9d4b565d67271a468f82ada266265a7ae5b84bc406d75b5656df6d15dfa8e1544a9 SHA512 8f4468cab922a911486f891215cb29de667da3f99c7ac2a4b6b59c59e2c2ba2f7f11c467b7009b0bb77b1a4953a99cbf851cc09a88a905e7c2478273546fc1ea
+DIST kildclient-3.0.1.tar.gz 1838526 BLAKE2B 06243adbd682574f0ff155b9087fa81a35c2b7462b8051a9315d67eeb520dd6211e8c402d7f90a76a04d105f517645e628cec5d355c8f1b6725775fd94eb3911 SHA512 835b31b2e45a5895fd4aefcb662d6c3bf2c888836f12511ef7bc6c15a12dac8563bc9226dbc33fb75915fdf6024ed61a0a05185d0998646ba380410d6e33a706
+EBUILD kildclient-3.0.1-r1.ebuild 928 BLAKE2B 338491d726e643a48337d65772cd04dfd3be63e90bac49e60fb2c21e9c0b81acda131ef63ea7bc067a0f53c0da3a68aed72159eae6a8211777ac084f8e64fecb SHA512 f87cc640c1b2012d23d57dbadc82428d311b72d5dd4acf435cbb790e202f4c4c01b35031450b13b66b4340c301dba149dbe2cfb3988860f8c850f1bcf2fbb879
+MISC metadata.xml 333 BLAKE2B 200074c6521739d98bbf4e4c840f6ba192b480e3cf4de4ac6572df9d87b27f905c5919b83509eb69e3ff8252940e8be591b2a85fd5dca0a8c45763baff81a0a2 SHA512 7bb05074dcc9fcee20760e4d1be1d3d1bf5684a932636c9fba9b790dc9ef5ea477efe67854d0aa44561d081068418cadf4b237164ff6be7eb1cdf4f613276522
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/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/lyntin-4.2-r2 b/games-mud/lyntin-4.2-r2
deleted file mode 100644
index e7b4431cb7a7..000000000000
--- a/games-mud/lyntin-4.2-r2
+++ /dev/null
@@ -1,14 +0,0 @@
-DEFINED_PHASES=compile configure install postinst prepare test
-DEPEND=dev-python/setuptools[python_targets_python2_7(-)?,-python_single_target_python2_7(-)] python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7[tk?] ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,-python_single_target_python2_7(-)]
-DESCRIPTION=tintin mud client clone implemented in Python
-EAPI=6
-HOMEPAGE=http://lyntin.sourceforge.net/
-IUSE=tk python_targets_python2_7
-KEYWORDS=~amd64 ~x86
-LICENSE=GPL-3
-RDEPEND=python_targets_python2_7? ( >=dev-lang/python-2.7.5-r2:2.7[tk?] ) >=dev-lang/python-exec-2:=[python_targets_python2_7(-)?,-python_single_target_python2_7(-)]
-REQUIRED_USE=|| ( python_targets_python2_7 )
-SLOT=0
-SRC_URI=mirror://sourceforge/lyntin/lyntin-4.2.tar.gz
-_eclasses_=distutils-r1 63fea93ca1cc4fdc5fa2247afc4e3a15 multibuild 35719a9cd25ec71ee49c966f6868454c multilib 97f470f374f2e94ccab04a2fb21d811e multiprocessing cac3169468f893670dac3e7cb940e045 python-r1 0b5829eb6369d7af3a834b6eed7b7107 python-utils-r1 7db901256449fef43c3aaa4d486c1c63 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 xdg-utils f2c8335407f0b935b0a96d4adf23ef25
-_md5_=1ddffe93159aa7fedf8a7434d3b10985
diff --git a/games-mud/lyntin/Manifest b/games-mud/lyntin/Manifest
new file mode 100644
index 000000000000..41dde497b343
--- /dev/null
+++ b/games-mud/lyntin/Manifest
@@ -0,0 +1,3 @@
+DIST lyntin-4.2.tar.gz 180111 BLAKE2B e54c7c609f9f6150a6aa30b0ef9d913cad16ada0e227bdd9369dd02b27b5f6871cd64f10e0f404cef68ba91ab4be2d28e77e6dcbbee95d35bb21ebaae9f0ee28 SHA512 72792b0ffd3f07d6ad7ec335beca2b064e348c7e30c7517edb07a90ece0608b34ce68798fb7a0aa7ef6568ebbed14f5246368421f5e14c7520d306ae6a29e432
+EBUILD lyntin-4.2-r2.ebuild 984 BLAKE2B 4243ab931dd90047fd118610fad0f437380a2a64d62ee5bc9a746310a35f18e542a1c11b2ecddd96ab5fa22c3a9e3325d93f5a1e46e3c31d6dc2c5702e43c75f SHA512 73fc58e52ed6add4a1085b35b58b884b46842a14edfc236cc02abc8742abeef2ca982d9f78ed464b6d107be6d66d1e7fc437d09f1c9085899dcddba5c06c0966
+MISC metadata.xml 329 BLAKE2B 40cd4956e16ad3204992b238cfbbc478c16b38fab04a7d31b56d667fdba34f1330dbfe78d8d0118d58bd9813ff85d9893dd08c7997a9ea9032800fc3a01ddd58 SHA512 28fbdbddc2ee51833133c9ec8d4f035ec82086bca4811d065da82bf5b73fb3930b7ea99537a82ed9700e224e4ba6f2f9cc026f69e54d8b5380106937be06332f
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-4.3-r2 b/games-mud/mudix-4.3-r2
deleted file mode 100644
index 0a9ae9671a31..000000000000
--- a/games-mud/mudix-4.3-r2
+++ /dev/null
@@ -1,11 +0,0 @@
-DEFINED_PHASES=compile install
-DEPEND=sys-libs/ncurses:0
-DESCRIPTION=A small, stable MUD client for the console
-EAPI=6
-HOMEPAGE=http://dw.nl.eu.org/mudix.html
-KEYWORDS=~amd64 ~x86
-LICENSE=GPL-2
-RDEPEND=sys-libs/ncurses:0
-SLOT=0
-SRC_URI=http://dw.nl.eu.org/mudix/mudix-4.3.tar.gz
-_md5_=1058362e634376f4cd7f39dc2827d92a
diff --git a/games-mud/mudix/Manifest b/games-mud/mudix/Manifest
new file mode 100644
index 000000000000..411b559835ab
--- /dev/null
+++ b/games-mud/mudix/Manifest
@@ -0,0 +1,4 @@
+AUX mudix-4.3-as-needed.patch 317 BLAKE2B e8a498bb7e9a7287bab60b25c7f435cab498fcd6a4e42f28f61942423bb74bba01a869bdd4b85672591e9bf9e2bb75723fb901bd40e78fa094e5809302849a16 SHA512 79d7a833f4e9b2225d09e87d1b9d97bba068882390d1af42436be99c83129ee1a1d0168f2aedb2c21df54178f20ce2d5bb946386d1a87367678059c8f2e1da6c
+DIST mudix-4.3.tar.gz 43003 BLAKE2B e7bc7a053de3987ae9903cda01b6d5cf3bcf7967bc25bc502d8968792638b890afadaf2e66f09890a83beb80e5e340ec4af8b8559f967020ed76a4954b925b0a SHA512 9f9c8ee43ded9b837eb50e463e67b666e0b2b34334d93e9a4471fa792da99350042cd8abbd9f8e97aa7ba114736b2d99c1b6595c76a5254270a514681130eb94
+EBUILD mudix-4.3-r2.ebuild 527 BLAKE2B 4298430978fac2fb670913310c21ad26ce90aeef2eed0bbeff77b735af4b7947943eb256f882be48b20c43afbdc1b60ef5afa3aa96ff61069654673f61e50801 SHA512 f122f9fa21a17fd8eb1840fd9f842e382139c6a981231c6dccd9f2c8449341339419a62c55d5dd005c814ddc1f2d6f3d54d2b8756ca7626ca401358b51e3aaa3
+MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118
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-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-1.2.16-r1 b/games-mud/powwow-1.2.16-r1
deleted file mode 100644
index ed459716d8a1..000000000000
--- a/games-mud/powwow-1.2.16-r1
+++ /dev/null
@@ -1,12 +0,0 @@
-DEFINED_PHASES=configure install prepare
-DEPEND=sys-libs/ncurses:0 >=app-portage/elt-patches-20170422 !<sys-devel/gettext-0.18.1.1-r3 || ( >=sys-devel/automake-1.16.1:1.16 >=sys-devel/automake-1.15.1:1.15 ) >=sys-devel/autoconf-2.69 >=sys-devel/libtool-2.4
-DESCRIPTION=PowWow Console MUD Client
-EAPI=6
-HOMEPAGE=https://www.hoopajoo.net/projects/powwow.html
-KEYWORDS=~amd64 ~x86
-LICENSE=GPL-2
-RDEPEND=sys-libs/ncurses:0
-SLOT=0
-SRC_URI=https://www.hoopajoo.net/static/projects/powwow-1.2.16.tar.gz
-_eclasses_=autotools d0e5375d47f4c809f406eb892e531513 desktop 1b286a7e7143d8c4ec89cd0d2743a097 epatch 9a5f039771f143195164a15a4faa41a1 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 5b8ce72259e08104b337fe28c6de5dbc libtool 0081a71a261724730ec4c248494f044d ltprune 607e058da37aa6dabfa408b7d61da72e multilib 97f470f374f2e94ccab04a2fb21d811e preserve-libs ef207dc62baddfddfd39a164d9797648 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf
-_md5_=ac99282c492c61de16a63ac609a16de9
diff --git a/games-mud/powwow/Manifest b/games-mud/powwow/Manifest
new file mode 100644
index 000000000000..cf9a9881f5a3
--- /dev/null
+++ b/games-mud/powwow/Manifest
@@ -0,0 +1,4 @@
+AUX powwow-1.2.16-underlinking.patch 540 BLAKE2B b30bc40fdb408686dd2f77e1ade851b1c4c770b895fac7624f97f491d5ba2fffe0467bb6dbd92c6a1ab9e1c010afaafb1b5985ff36cd98320653d12f234a4787 SHA512 2917a553f844d3bd8ef15b3f1e4f0dfeca7ac06371aba5912a40adc8334a74ec81767d3c73d27d27a7f45d8ca27acf279b3d9095dd426ce4c21e93dceea30861
+DIST powwow-1.2.16.tar.gz 295441 BLAKE2B 36f45e57af83b624e8f061ba7cc10ac7429b42bba56b1f61c737d9541ded788e5d94c76e1c70d00f49aac98a2a1fac6a04965d2eb78e587d53cea8b0d17ea736 SHA512 9bc046ba14760d55a7aabb550229d5f5b234f3ef0690d837f1de8df5e1f404b8483e61981cffdf8e82f164bd5a68f4da3f8342b0c09b98155adaabf14d8b079e
+EBUILD powwow-1.2.16-r1.ebuild 898 BLAKE2B 485a4974eedd5ac783cd54bb5e5f636223790cad6842a6b58e072363b21f70bf8f03d1441f1c83d25acde6db2d0071c62b5994c525f73f40f50e64edee971d4f SHA512 202abe00158972f52c97e8f9f6fb314ffbc73cc022724c06c44c5b1a72371f35eb25fc961e3a5638cd9672952bdad342837e0d6912903d68220c50aa82e20b7b
+MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118
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..0581652736a5
--- /dev/null
+++ b/games-mud/powwow/powwow-1.2.16-r1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit autotools eutils
+
+DESCRIPTION="PowWow Console MUD Client"
+HOMEPAGE="https://www.hoopajoo.net/projects/powwow.html"
+SRC_URI="https://www.hoopajoo.net/static/projects/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="sys-libs/ncurses:0"
+RDEPEND=${DEPEND}
+
+PATCHES=(
+ "${FILESDIR}"/${P}-underlinking.patch
+)
+
+src_prepare() {
+ default
+
+ # note that that the extra, seemingly-redundant files installed are
+ # actually used by in-game help commands
+ sed -i \
+ -e "s/pkgdata_DATA = powwow.doc/pkgdata_DATA = /" \
+ Makefile.am || die
+ mv configure.in configure.ac || die
+ eautoreconf
+}
+
+src_configure() {
+ econf --includedir=/usr/include
+}
+
+src_install () {
+ DOCS="ChangeLog Config.demo Hacking NEWS powwow.doc powwow.help README.* TODO" \
+ default
+}
diff --git a/games-mud/tf-50_beta8-r2 b/games-mud/tf-50_beta8-r2
deleted file mode 100644
index e6d66633dffa..000000000000
--- a/games-mud/tf-50_beta8-r2
+++ /dev/null
@@ -1,12 +0,0 @@
-DEFINED_PHASES=configure install postinst
-DEPEND=ssl? ( dev-libs/openssl:0= ) dev-libs/libpcre
-DESCRIPTION=A small, flexible, screen-oriented MUD client (aka TinyFugue)
-EAPI=6
-HOMEPAGE=http://tinyfugue.sourceforge.net/
-IUSE=+atcp debug doc +gmcp ipv6 +option102 ssl
-KEYWORDS=~amd64 ~x86
-LICENSE=GPL-2
-RDEPEND=ssl? ( dev-libs/openssl:0= ) dev-libs/libpcre
-SLOT=0
-SRC_URI=mirror://sourceforge/tinyfugue/tf-50b8.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/tf-50b8-help.tar.gz )
-_md5_=923cfc004b3e6db69a9439a9a0342e44
diff --git a/games-mud/tf/Manifest b/games-mud/tf/Manifest
new file mode 100644
index 000000000000..1d1977656ea7
--- /dev/null
+++ b/games-mud/tf/Manifest
@@ -0,0 +1,8 @@
+AUX tf-50_beta8-pcre.patch 1917 BLAKE2B 547218b46b5c6cb4c8991e98cbac6871f90d4f8440ff52140b86b311f10d8f0b6aa5a4dfb1e1ba27baf0016fb476c57d4302a26edd7e8fb17b5c6b42acb0e5dd SHA512 942574f4a24f5c2660124caf6cc41438e42fb20b5d1781c60341da96ace2338a3b69a744454e5c2319d83d83a8de21af26029ec6f328a50facbc56db7091c092
+AUX tf-50_beta8-stdarg.patch 1074 BLAKE2B b1a40c283919ee717181bd9851563c8fa8b972fb041b172a9b3851188f8bd60914926c19cbd3d32823339d3a47b64b004589a157bc7ff7cfde94e166d452c50d SHA512 ad8e051cf1fbfd6bc5e038a6ac252c1e61619dd96b5d0f72d25af7fba1754dd1c5d6b1557611b3ea322b030be1db89b2b3740e9137ab3fe6135bd5ce0d4e62b7
+DIST tf-50b8-help.tar.gz 175591 BLAKE2B b4b5d2be336206fa00db870367369454d33a7e32c0aed83a3eed107feba9a5737ad6c7963b8c570cede6e3de80b211edb4ed6dd818b4ca90e23e8bab99a92725 SHA512 fd0fcf7e96772cbb61a97d24d0327c45b31b280bca329dfe6c680137cc25b7db5b4b79c0f608ad213cd24a0f2a67ee471ce7ee1c405b039f52033d7d87974b74
+DIST tf-50b8.tar.gz 719553 BLAKE2B 3218878cdc4a2049fd7f2a8e0426ec589bf304e0bb24ad557e5bea39cbaba76e6a1c52f064860e499623abb51bc9f14a0c8388b927fd15a66a7945fe5eaccf84 SHA512 3b99c039d7a9c6ab7ee7b1040ff7c99fe39cbe991f373333ea7c130d54383f102f14ae33303a415f5419cd43238caffc46114e842c6964329c0999e0f506e3d0
+DIST tf-allrootpatch.txt 3349 BLAKE2B ca57b7ddfdbaa377c69ad07427185a3952368d35231f4bca77c78a5ed7b5c1c362f4ef1512e23c248b96810739056e8f53c4d41320a1c1dc320b1fd22d965199 SHA512 3fe44e7291d133abd04040f0f8258da6a2b7f67cab79cb1628897a4a483a0998495b6cf97eaf29ee447a650fdb16a48c846599807e570f687a256bb58179495e
+DIST tf-allsrcpatch.txt 10392 BLAKE2B 9a24f99d6bdaa835b4cc2588d87824ea07a12fee38d576ec63f48493f5b92c7155ad959fa80599edf28a39f76d85ba8a2a19e1ff2b03c7893fe4d7b4b7d9af97 SHA512 3ac2447e05911d156509bb44e8809c06c4b1a92cbc8067d196c7e5f688fccd5186a9073001958ca0e757c9db20e9f96889fe7a5b6255495539f23208f72ec613
+EBUILD tf-50_beta8-r2.ebuild 1720 BLAKE2B ab5afd5b09818b93cffbc72d1746e4df0652db2ea3f8186123825d99992667ee2c37555388a790959fc832cc9e5d2f6a327064c76f47a664463f84390f7ec898 SHA512 44892161b87ef2eb53d26d54dacce3652ce85317ae2913479b97cf05f62dec44acd4e12a635103edb2e593fa5faf6939345fc8359e25d2d8882f444d105f105d
+MISC metadata.xml 527 BLAKE2B c02bbc61246899c14aef26cf8533fa21b350ee978514bbdfe286e8130a4823f57dbfe468bca4badcce9bf2fa867bb56d1d162ddad6685df5e56f09e66fec5db5 SHA512 6449cb8a605dad5d0c5f2f825e38a4f972b61be1033087cc906d293a10129d88a803d9f5755b413df8f700aad3eb50eacc668d508365090ca5d01c61d884d833
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..1009fb07dc03
--- /dev/null
+++ b/games-mud/tf/tf-50_beta8-r2.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+MY_P="${P/_beta/b}"
+
+DESCRIPTION="A small, flexible, screen-oriented MUD client (aka TinyFugue)"
+HOMEPAGE="http://tinyfugue.sourceforge.net/"
+SRC_URI="
+ mirror://sourceforge/tinyfugue/${MY_P}.tar.gz
+ http://homepage.mac.com/mikeride/abelinc/scripts/allrootpatch.txt -> tf-allrootpatch.txt
+ http://homepage.mac.com/mikeride/abelinc/scripts/allsrcpatch.txt -> tf-allsrcpatch.txt
+ doc? ( mirror://sourceforge/tinyfugue/${MY_P}-help.tar.gz )"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+atcp debug doc +gmcp ipv6 +option102 ssl"
+
+RDEPEND="
+ ssl? ( dev-libs/openssl:0= )
+ dev-libs/libpcre"
+DEPEND=${RDEPEND}
+
+S=${WORKDIR}/${MY_P}
+
+PATCHES=(
+ "${DISTDIR}"/tf-allrootpatch.txt
+ "${DISTDIR}"/tf-allsrcpatch.txt
+ "${FILESDIR}"/${P}-pcre.patch
+ "${FILESDIR}"/${P}-stdarg.patch
+)
+
+src_configure() {
+ STRIP=: econf \
+ $(use_enable atcp) \
+ $(use_enable gmcp) \
+ $(use_enable option102) \
+ $(use_enable ssl) \
+ $(use_enable debug core) \
+ $(use_enable ipv6 inet6) \
+ --enable-manpage
+}
+
+src_install() {
+ dobin src/tf
+ newman src/tf.1.nroffman tf.1
+
+ use doc && HTML_DOCS=( ../${MY_P}-help/{*.html,commands,topics} )
+ einstalldocs
+
+ insinto /usr/share/${PN}-lib
+ # the application looks for this file here if /changes is called.
+ # see comments on bug #23274
+ doins CHANGES
+ insopts -m0755
+ doins -r tf-lib/.
+}
+
+pkg_postinst() {
+ if use ipv6; then
+ ewarn
+ ewarn "You have merged TinyFugue with IPv6-support."
+ ewarn "Support for IPv6 is still being experimental."
+ ewarn "If you experience problems with connecting to hosts,"
+ ewarn "try re-merging this package with USE="-ipv6""
+ ewarn
+ fi
+}
diff --git a/games-mud/tintin-2.01.1-r1 b/games-mud/tintin-2.01.1-r1
deleted file mode 100644
index b642535eeb1e..000000000000
--- a/games-mud/tintin-2.01.1-r1
+++ /dev/null
@@ -1,11 +0,0 @@
-DEFINED_PHASES=install postinst
-DEPEND=dev-libs/libpcre net-libs/gnutls sys-libs/readline:0 sys-libs/zlib
-DESCRIPTION=(T)he k(I)cki(N) (T)ickin d(I)kumud clie(N)t
-EAPI=6
-HOMEPAGE=http://tintin.sourceforge.net/
-KEYWORDS=~amd64 ~x86
-LICENSE=GPL-2+
-RDEPEND=dev-libs/libpcre net-libs/gnutls sys-libs/readline:0 sys-libs/zlib
-SLOT=0
-SRC_URI=mirror://sourceforge/tintin/tintin-2.01.1.tar.gz
-_md5_=cf491c64d29854d10b30c94d839cb4aa
diff --git a/games-mud/tintin/Manifest b/games-mud/tintin/Manifest
new file mode 100644
index 000000000000..91364ee551d5
--- /dev/null
+++ b/games-mud/tintin/Manifest
@@ -0,0 +1,3 @@
+DIST tintin-2.01.1.tar.gz 272506 BLAKE2B c8fba9d72b34e2a05ede408dfb6105dd6c39d0d1e41582908acd35d712a92abacbce025b702a24a59cd9754cce284fa7277dadc0ff3933359cc9ef77e50b6a2c SHA512 b77a1ecc09438a165a27f70f31132d60350d790e4e6b0509af00979517a7f21838407acdbf1fe0d3b4612853c4e1269679e95fe90b8588133b17f98b85a28b07
+EBUILD tintin-2.01.1-r1.ebuild 684 BLAKE2B fd2ac367903993ce6efbf26843cfe354fb0f25ba9caec2a6e6f8e1177a5e53115d212f860f93e7f1821a3100ae97c0db11465808c6013120ef9c815c11d80726 SHA512 48924b9d674205abf8f419bc596a19a8d0acadda054960dafcb8c641a62878db1a51c8d766ed2a6ac4740370d3189238fbf831490d8e8d681c63a1c38538ea8c
+MISC metadata.xml 329 BLAKE2B 805c0747a5170609f8580c6e7c1b9eed0ebcac1be9b6f71b81f109996af3c26041fe729586678859af8544e7f2711c4985059140d29c051c025304f744841779 SHA512 7572490346a0c56e05c8bf9a07f321e1cc8cfe3548c4c2fe3f2d69455b351c6b27de5e9bbddda6de7ddd9cd2e8fbf04f548b40810ccf794699703ae6f7d23cbb
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/tkmoo-0.3.32-r1 b/games-mud/tkmoo-0.3.32-r1
deleted file mode 100644
index dcf05b2070b7..000000000000
--- a/games-mud/tkmoo-0.3.32-r1
+++ /dev/null
@@ -1,12 +0,0 @@
-DEFINED_PHASES=compile install
-DEPEND=>=dev-lang/tcl-8.3.3:0= >=dev-lang/tk-8.3.3:0=
-DESCRIPTION=MOO Client written in Tcl/Tk
-EAPI=6
-HOMEPAGE=http://www.awns.com/tkMOO-light/
-KEYWORDS=~amd64 ~x86
-LICENSE=tkMOO
-RDEPEND=>=dev-lang/tcl-8.3.3:0= >=dev-lang/tk-8.3.3:0=
-SLOT=0
-SRC_URI=http://www.awns.com/tkMOO-light/Source/tkMOO-light-0.3.32.tar.gz
-_eclasses_=desktop 1b286a7e7143d8c4ec89cd0d2743a097 epatch 9a5f039771f143195164a15a4faa41a1 estack 43ddf5aaffa7a8d0482df54d25a66a1f eutils 5b8ce72259e08104b337fe28c6de5dbc ltprune 607e058da37aa6dabfa408b7d61da72e multilib 97f470f374f2e94ccab04a2fb21d811e preserve-libs ef207dc62baddfddfd39a164d9797648 toolchain-funcs 1e35303c63cd707f6c3422b4493d5607 vcs-clean 2a0f74a496fa2b1552c4f3398258b7bf
-_md5_=5774059e170d6dfe8ec70df834c106e4
diff --git a/games-mud/tkmoo/Manifest b/games-mud/tkmoo/Manifest
new file mode 100644
index 000000000000..ea1f303c8d33
--- /dev/null
+++ b/games-mud/tkmoo/Manifest
@@ -0,0 +1,5 @@
+AUX 0.3.32-Makefile-noclean.patch 445 BLAKE2B d0bd081129ebf2453118215eb48cebc918484ed948cd6bec22fe20bb81140de8a4d642ee6583d496eb359f63d9cfbe8cad066a3fd299ccf47470836ef131f5f5 SHA512 0bbba363d579527b1cca8fa5c953b9724ea939b416c3681b582959f64f36e8d311e17325bc5ca21cccc02e6209ba7f3687cc26fd3b9abe390e8dfbaee9082e53
+AUX 0.3.32-keys-workaround.patch 377 BLAKE2B 568b5d06b953ab5268174dcef0a903ec33547bfb09b3da718ead97ce889025d62c8e3dc04a1135b6f4ef7c31c3c2f0e85542c8cacbb753ea7cc20a4d0e6dfa1f SHA512 2d454f251f817267482597376e4f65972d766ed8ec90ecf79c085e431c82febf27d8c286bc40c3334d1b7f248258fa6c6ca601425d6767d3d6eab93a30590a02
+DIST tkMOO-light-0.3.32.tar.gz 95332 BLAKE2B 44fd5c1476527c3b1c18e44df71b49007caeb78e1ca788c718a532c716746a9b8df3f42d616bc0384bff167a484c8585a0fe13f607810c74006810635ed1ae6c SHA512 59543692900613eae77b73f5f88a2380a77d1be38d486dc0461d0990ccb941497dd0d35aa109a5697dba3b92157d9943b540a73fe4fc0d519e144f65620443d2
+EBUILD tkmoo-0.3.32-r1.ebuild 952 BLAKE2B bbceaeff20b11c7fda1373783453188f3dc9f17ede4e1c45c2fe946c1b1a219eda89ff4d444669927b20cc17b843476d9472de017d86611524f652503808eed6 SHA512 27eae2fed3d067665079a81462a54a075920e1193060d13324eee252a9c992474af084c4d1394eb2048935764763347bb382496ac1ad164f0b0c73b844a4c947
+MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118
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/trebuchet-1.075-r1 b/games-mud/trebuchet-1.075-r1
deleted file mode 100644
index 501d7476ad54..000000000000
--- a/games-mud/trebuchet-1.075-r1
+++ /dev/null
@@ -1,11 +0,0 @@
-DEFINED_PHASES=install prepare
-DESCRIPTION=A crossplatform TCL/TK based MUD client
-EAPI=6
-HOMEPAGE=http://belfry.com/fuzzball/trebuchet/
-KEYWORDS=~amd64 ~x86
-LICENSE=GPL-2
-RDEPEND=dev-lang/tcl:0= >=dev-lang/tk-8.3.3:0=
-RESTRICT=test
-SLOT=0
-SRC_URI=mirror://sourceforge/trebuchet/trebuchet-1.075.tar.gz
-_md5_=e4277b4f75955782a68fcb47576279c5
diff --git a/games-mud/trebuchet/Manifest b/games-mud/trebuchet/Manifest
new file mode 100644
index 000000000000..4e62e9d94fbd
--- /dev/null
+++ b/games-mud/trebuchet/Manifest
@@ -0,0 +1,3 @@
+DIST trebuchet-1.075.tar.gz 339202 BLAKE2B cfb19d1b92dc93aff829d0a199678faeefefbeee659b25e2f7ae5f11fdc944e7d62b258efff651241b39705e667845b53dae230765d9de3b264894a12c724e64 SHA512 7d007172e228e1a33563b4141b9dc544de8d2ae124ec0ec1a9da8a253339d910ab00ce0570e1da81499a97aadfea701f9131fbafc20eae1e64830d1bd15ab1fa
+EBUILD trebuchet-1.075-r1.ebuild 690 BLAKE2B e30b5d37fbadcb91c5dad471c067ff36bf38644bed7718f3fb2e76b365098cff1d118e75e064e2ef02208fd4403af67e14e07e5d528fa88ef9defe037fdecb80 SHA512 586aacf27bb02b12b2d627fae66915e5e688933f2296f437b5af995c8f411a6e6084cf928e9f9f83c97a35c6bde98ab69af2dc7e935c6bde143baffdf5f63d9f
+MISC metadata.xml 332 BLAKE2B 90c065efeeec6f3c1d04d16119ba2a3e55deb29ec323c1df8934cd298cfdc40e77cf90f29fe09f8f1887c643fbeff8fbe5efa2938a516773de00ed7a33213f88 SHA512 7a22f6902d2ff3d4ca14faaeab3360599bb0c44338dabf1de3300a07b8cdcd858f191a6e4f1f533dc8d1cecb2f98266945a4e4026ffe3dca8766bc41bcd64ada
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
+}