blob: 936818dd571e6bf6f18563804aa9e81ddf82988e [file] [log] [blame]
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit autotools eutils games
DESCRIPTION="Powerful MUD client with a built-in PERL interpreter"
HOMEPAGE="http://kildclient.sourceforge.net"
SRC_URI="mirror://sourceforge/kildclient/${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="doc gnutls spell"
RDEPEND="x11-libs/gtk+:3
dev-lang/perl
dev-perl/Locale-gettext
dev-perl/JSON
sys-libs/zlib
virtual/libintl
spell? ( app-text/gtkspell:3 )
gnutls? ( net-libs/gnutls )"
DEPEND="${RDEPEND}
sys-devel/gettext
virtual/pkgconfig"
src_prepare() {
epatch "${FILESDIR}"/${P}-gentoo.patch
eautoreconf
}
src_configure() {
egamesconf \
--localedir=/usr/share/locale \
--docdir=/usr/share/doc/${PF} \
--htmldir=/usr/share/doc/${PF}/html \
$(use_with spell gtkspell) \
$(use_with gnutls libgnutls) \
$(use_with doc docs)
}
src_install() {
default
prepgamesdirs
}