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
commit32be46755b46f564dd41e132a87c26f3010a28a0 (patch)
tree559e461cad4eed4d71c62c8aa96907a42d7bbeae /games-mud
parentbump to 1.0.3 (diff)
downloadhistorical-32be46755b46f564dd41e132a87c26f3010a28a0.tar.gz
historical-32be46755b46f564dd41e132a87c26f3010a28a0.tar.bz2
historical-32be46755b46f564dd41e132a87c26f3010a28a0.zip
Initial commit - ebuild submitted by Michele R. Marino via bug #266567
Package-Manager: portage-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/Manifest5
-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
5 files changed, 202 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/Manifest b/games-mud/kildclient/Manifest
new file mode 100644
index 000000000000..a015563d6285
--- /dev/null
+++ b/games-mud/kildclient/Manifest
@@ -0,0 +1,5 @@
+AUX kildclient-2.9.0-gentoo.patch 4496 RMD160 160e35bf3be5c3f292081ef44868f903d278d9a8 SHA1 6c142626b33d808a3a44da3904d6504888a6e2cf SHA256 5acfe03ee5527b265a1710620f984ac9ec1e947c04270843b44ad11593dfde98
+DIST kildclient-2.9.0.tar.gz 1671444 RMD160 a1ffec01147a1d495b43ce768c5c987a48a42fb4 SHA1 c23c542ec3f625c5145b4d9067f7954953f03971 SHA256 1332d8bb083d88fdad04e06a6ffaa30e6c1c0e03e3463934761aa407abb8b544
+EBUILD kildclient-2.9.0.ebuild 1153 RMD160 e8b6cdd118e9a71ae7a03c00c109da9da73e46fe SHA1 69f6f5f7d4a579f1011b77769e329b94a4126bc5 SHA256 6bc4a8e6783422c00bdef518bb69e11456412e5eb16a199aa377da5ee0be1574
+MISC ChangeLog 461 RMD160 abb75c4f5da774b46c2083c2c3f2dab39d004714 SHA1 ca8f6fc461eedf3a82ecec280f42d9cfc4f2a162 SHA256 8d79aa817928874cd26c9e8cc3403004392cee57df76e52af8b161594084a48d
+MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
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>