summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2009-11-02 23:03:25 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2009-11-02 23:03:25 +0000
commit0a274112cc5cc5e3d8cd85103af6212d90093a33 (patch)
tree031180dee61e103597c0552a49a8b966ea079d61 /games-mud
parentbump to 1.0.3 (diff)
downloadgentoo-2-0a274112cc5cc5e3d8cd85103af6212d90093a33.tar.gz
gentoo-2-0a274112cc5cc5e3d8cd85103af6212d90093a33.tar.bz2
gentoo-2-0a274112cc5cc5e3d8cd85103af6212d90093a33.zip
Initial commit - ebuild submitted by Michele R. Marino via bug #266567
(Portage version: 2.1.6.13/cvs/Linux i686)
Diffstat (limited to 'games-mud')
-rw-r--r--games-mud/kildclient/ChangeLog11
-rw-r--r--games-mud/kildclient/files/kildclient-2.9.0-gentoo.patch134
-rw-r--r--games-mud/kildclient/kildclient-2.9.0.ebuild47
-rw-r--r--games-mud/kildclient/metadata.xml5
4 files changed, 197 insertions, 0 deletions
diff --git a/games-mud/kildclient/ChangeLog b/games-mud/kildclient/ChangeLog
new file mode 100644
index 000000000000..d3f128f613ce
--- /dev/null
+++ b/games-mud/kildclient/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for games-mud/kildclient
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-mud/kildclient/ChangeLog,v 1.1 2009/11/02 23:03:24 mr_bones_ Exp $
+
+*kildclient-2.9.0 (02 Nov 2009)
+
+ 02 Nov 2009; Michael Sterrett <mr_bones_@gentoo.org>
+ +kildclient-2.9.0.ebuild, +files/kildclient-2.9.0-gentoo.patch,
+ +metadata.xml:
+ Initial commit - ebuild submitted by Michele R. Marino via bug #266567
+
diff --git a/games-mud/kildclient/files/kildclient-2.9.0-gentoo.patch b/games-mud/kildclient/files/kildclient-2.9.0-gentoo.patch
new file mode 100644
index 000000000000..74f84a0bd947
--- /dev/null
+++ b/games-mud/kildclient/files/kildclient-2.9.0-gentoo.patch
@@ -0,0 +1,134 @@
+diff -ru kildclient-2.9.0.orig/Makefile.am kildclient-2.9.0/Makefile.am
+--- kildclient-2.9.0.orig/Makefile.am 2009-02-01 07:46:53.000000000 -0500
++++ kildclient-2.9.0/Makefile.am 2009-11-02 17:35:21.625377149 -0500
+@@ -11,11 +11,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 = getperlflags.pl \
+diff -ru kildclient-2.9.0.orig/doc/C/Makefile.am kildclient-2.9.0/doc/C/Makefile.am
+--- kildclient-2.9.0.orig/doc/C/Makefile.am 2009-02-01 07:46:53.000000000 -0500
++++ kildclient-2.9.0/doc/C/Makefile.am 2009-11-02 17:35:21.625377149 -0500
+@@ -2,9 +2,9 @@
+
+ SUBDIRS = images
+
+-pkgdocdir = $(datadir)/doc/kildclient
++pkgdocdir = @docdir@
+
+-manualdir = $(pkgdocdir)/html
++manualdir = @htmldir@
+
+ #pkgdoc_DATA = kildclient.pdf
+
+diff -ru kildclient-2.9.0.orig/kildclient.desktop kildclient-2.9.0/kildclient.desktop
+--- kildclient-2.9.0.orig/kildclient.desktop 2009-01-11 14:45:06.000000000 -0500
++++ kildclient-2.9.0/kildclient.desktop 2009-11-02 17:35:21.625377149 -0500
+@@ -4,7 +4,7 @@
+ Exec=kildclient
+ Icon=kildclient
+ Terminal=false
+-Categories=Network;RolePlaying;
++Categories=Game;Network;RolePlaying;
+
+ Name=KildClient
+ Name[eo]=KildClient
+diff -ru kildclient-2.9.0.orig/po/Makefile.in.in kildclient-2.9.0/po/Makefile.in.in
+--- kildclient-2.9.0.orig/po/Makefile.in.in 2009-05-23 17:35:41.000000000 -0400
++++ kildclient-2.9.0/po/Makefile.in.in 2009-11-02 17:35:21.625377149 -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@
+@@ -161,17 +160,6 @@
+ fi; \
+ fi; \
+ done
+- if test "$(PACKAGE)" = "glib"; then \
+- if test -r "$(MKINSTALLDIRS)"; then \
+- $(MKINSTALLDIRS) $(DESTDIR)$(gettextsrcdir); \
+- else \
+- $(SHELL) $(top_srcdir)/mkinstalldirs $(DESTDIR)$(gettextsrcdir); \
+- fi; \
+- $(INSTALL_DATA) $(srcdir)/Makefile.in.in \
+- $(DESTDIR)$(gettextsrcdir)/Makefile.in.in; \
+- else \
+- : ; \
+- fi
+
+ # Define this as empty until I found a useful application.
+ installcheck:
+@@ -186,9 +174,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-2.9.0.orig/share/Makefile.am kildclient-2.9.0/share/Makefile.am
+--- kildclient-2.9.0.orig/share/Makefile.am 2009-02-01 07:46:53.000000000 -0500
++++ kildclient-2.9.0/share/Makefile.am 2009-11-02 17:35:21.626376565 -0500
+@@ -6,7 +6,7 @@
+ kildclient.hlp \
+ kcworld.dtd
+
+-pixmapdir = $(datadir)/pixmaps
++pixmapdir = /usr/share/pixmaps
+ pixmap_DATA = kildclient.png kildclient.xpm
+
+
+diff -ru kildclient-2.9.0.orig/src/Makefile.am kildclient-2.9.0/src/Makefile.am
+--- kildclient-2.9.0.orig/src/Makefile.am 2009-05-23 15:41:42.000000000 -0400
++++ kildclient-2.9.0/src/Makefile.am 2009-11-02 17:35:21.626376565 -0500
+@@ -61,14 +61,14 @@
+
+ EXTRA_DIST = $(pkgdata_DATA)
+
+-pkgdocdir = $(datadir)/doc/kildclient
++pkgdocdir = @docdir@
+
+-manualdir = $(pkgdocdir)/html
++manualdir = @htmldir@
+
+
+ kildclient_LDADD = $(KILDCLIENT_LIBS) $(KILDCLIENT_PERL_LIBS) $(GTKSPELL_LIBS) $(LIBGNUTLS_LIBS) $(INTLLIBS)
+
+-localedir = $(datadir)/locale
++localedir = @localedir@
+
+ INCLUDES = -DLOCALEDIR=\"$(localedir)\" \
+ -DPKGDATADIR=\"$(pkgdatadir)\" \
+diff -ru kildclient-2.9.0.orig/src/mainwindow.c kildclient-2.9.0/src/mainwindow.c
+--- kildclient-2.9.0.orig/src/mainwindow.c 2009-02-02 13:34:41.000000000 -0500
++++ kildclient-2.9.0/src/mainwindow.c 2009-11-02 17:36:29.851126172 -0500
+@@ -169,9 +169,9 @@
+ glade_xml_signal_autoconnect(gladexml);
+ #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-2.9.0.ebuild b/games-mud/kildclient/kildclient-2.9.0.ebuild
new file mode 100644
index 000000000000..fa383f8a53a9
--- /dev/null
+++ b/games-mud/kildclient/kildclient-2.9.0.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-mud/kildclient/kildclient-2.9.0.ebuild,v 1.1 2009/11/02 23:03:24 mr_bones_ Exp $
+
+EAPI=2
+inherit autotools 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="~x86"
+IUSE="doc gnutls spell"
+
+RDEPEND="x11-libs/gtk+:2
+ gnome-base/libglade
+ dev-lang/perl
+ virtual/libintl
+ spell? ( app-text/gtkspell )
+ gnutls? ( net-libs/gnutls )"
+DEPEND="${RDEPEND}
+ sys-devel/gettext
+ dev-util/pkgconfig"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-gentoo.patch
+ eautoreconf
+}
+
+src_configure() {
+ egamesconf \
+ --disable-dependency-tracking \
+ --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() {
+ emake DESTDIR="${D}" install || die "install failed"
+ dodoc AUTHORS ChangeLog NEWS README
+ prepgamesdirs
+}
diff --git a/games-mud/kildclient/metadata.xml b/games-mud/kildclient/metadata.xml
new file mode 100644
index 000000000000..d3c2cc926f0b
--- /dev/null
+++ b/games-mud/kildclient/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>games</herd>
+</pkgmetadata>