summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-mud/tkmoo/tkmoo-0.3.32.ebuild')
-rw-r--r--games-mud/tkmoo/tkmoo-0.3.32.ebuild48
1 files changed, 48 insertions, 0 deletions
diff --git a/games-mud/tkmoo/tkmoo-0.3.32.ebuild b/games-mud/tkmoo/tkmoo-0.3.32.ebuild
new file mode 100644
index 00000000000..7e187456e13
--- /dev/null
+++ b/games-mud/tkmoo/tkmoo-0.3.32.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils games
+
+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 ppc x86"
+IUSE=""
+
+DEPEND="
+ >=dev-lang/tcl-8.3.3:0=
+ >=dev-lang/tk-8.3.3:0="
+
+S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}/${PV}-Makefile-noclean.patch" \
+ "${FILESDIR}/${PV}-keys-workaround.patch"
+}
+
+src_compile() {
+ emake \
+ WISH="$(type -P wish)" \
+ TKMOO_LIB_DIR="$(games_get_libdir)/${MY_PN}" \
+ TKMOO_BIN_DIR="${GAMES_BINDIR}"
+}
+
+src_install() {
+ emake \
+ TKMOO_LIB_DIR="${D}/$(games_get_libdir)/${MY_PN}" \
+ TKMOO_BIN_DIR="${D}/${GAMES_BINDIR}" \
+ install
+ dodoc README dot.tkmoolightrc bugsmail.txt
+ dosym tkMOO-lite "${GAMES_BINDIR}/tkmoo"
+ make_desktop_entry tkmoo "tkMOO"
+ prepgamesdirs
+}