diff options
author | Austin English <wizardedit@gentoo.org> | 2016-08-05 14:27:50 -0500 |
---|---|---|
committer | Austin English <wizardedit@gentoo.org> | 2016-08-05 14:43:17 -0500 |
commit | f9dc923b1a6689ba56d8ce7cce6809df18f46cda (patch) | |
tree | 740e502299b647c8fbc80e8f72687339452cfe56 /games-mud/tkmoo/tkmoo-0.3.32-r1.ebuild | |
parent | games-mud/tintin: remove deprecated games eclass (diff) | |
download | gentoo-f9dc923b1a6689ba56d8ce7cce6809df18f46cda.tar.gz gentoo-f9dc923b1a6689ba56d8ce7cce6809df18f46cda.tar.bz2 gentoo-f9dc923b1a6689ba56d8ce7cce6809df18f46cda.zip |
games-mud/tkmoo: 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/tkmoo/tkmoo-0.3.32-r1.ebuild')
-rw-r--r-- | games-mud/tkmoo/tkmoo-0.3.32-r1.ebuild | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/games-mud/tkmoo/tkmoo-0.3.32-r1.ebuild b/games-mud/tkmoo/tkmoo-0.3.32-r1.ebuild new file mode 100644 index 000000000000..6664000b5133 --- /dev/null +++ b/games-mud/tkmoo/tkmoo-0.3.32-r1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +inherit eutils + +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=" +RDEPEND=${DEPEND} + +S=${WORKDIR}/${MY_P} + +PATCHES=( + "${FILESDIR}/${PV}-Makefile-noclean.patch" + "${FILESDIR}/${PV}-keys-workaround.patch" +) + +src_compile() { + emake \ + WISH="$(type -P wish)" \ + TKMOO_LIB_DIR="/usr/$(get_libdir)/${MY_PN}" \ + TKMOO_BIN_DIR=/usr/bin +} + +src_install() { + emake \ + TKMOO_LIB_DIR="${D}/usr/$(get_libdir)/${MY_PN}" \ + TKMOO_BIN_DIR="${D}/usr/bin" \ + install + dodoc README dot.tkmoolightrc bugsmail.txt + dosym tkMOO-lite /usr/bin/tkmoo + make_desktop_entry tkmoo "tkMOO" +} |