summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAustin English <wizardedit@gentoo.org>2016-08-05 13:53:39 -0500
committerAustin English <wizardedit@gentoo.org>2016-08-05 14:43:17 -0500
commit73621535634146f5615992a78174e0333210e54f (patch)
treedec9df76b3c3c6d3e914054a7ba2c18a33de3029 /games-mud/gmudix
parentgames-mud/crystal: remove deprecated games eclass (diff)
downloadgentoo-73621535634146f5615992a78174e0333210e54f.tar.gz
gentoo-73621535634146f5615992a78174e0333210e54f.tar.bz2
gentoo-73621535634146f5615992a78174e0333210e54f.zip
games-mud/gmudix: remove deprecated games eclass
Also update to EAPI 6 Gentoo-Bug: https://bugs.gentoo.org/574082 Package-Manager: portage-2.3.0
Diffstat (limited to 'games-mud/gmudix')
-rw-r--r--games-mud/gmudix/files/gmudix-1.0-as-needed.patch8
-rw-r--r--games-mud/gmudix/files/gmudix-1.0-format.patch4
-rw-r--r--games-mud/gmudix/gmudix-1.0-r1.ebuild37
3 files changed, 43 insertions, 6 deletions
diff --git a/games-mud/gmudix/files/gmudix-1.0-as-needed.patch b/games-mud/gmudix/files/gmudix-1.0-as-needed.patch
index 838376ef256..fe1de7b8cbd 100644
--- a/games-mud/gmudix/files/gmudix-1.0-as-needed.patch
+++ b/games-mud/gmudix/files/gmudix-1.0-as-needed.patch
@@ -1,5 +1,5 @@
---- configure.in
-+++ configure.in
+--- a/configure.in
++++ b/configure.in
@@ -8,7 +8,8 @@
AC_PROG_MAKE_SET
@@ -10,8 +10,8 @@
dnl Checks for header files.
AC_HEADER_STDC
---- src/Makefile.am
-+++ src/Makefile.am
+--- 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
diff --git a/games-mud/gmudix/files/gmudix-1.0-format.patch b/games-mud/gmudix/files/gmudix-1.0-format.patch
index 77314c94f95..4bb9729840e 100644
--- a/games-mud/gmudix/files/gmudix-1.0-format.patch
+++ b/games-mud/gmudix/files/gmudix-1.0-format.patch
@@ -1,5 +1,5 @@
---- src/gui_user.c.old 2016-02-04 21:21:15.141455597 +0100
-+++ src/gui_user.c 2016-02-04 21:21:31.016156493 +0100
+--- 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),
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 00000000000..75c2a1ecbe5
--- /dev/null
+++ b/games-mud/gmudix/gmudix-1.0-r1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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 ~ppc ~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
+}