summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2004-12-29 07:40:36 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2004-12-29 07:40:36 +0000
commit8f312d7ab7cfc0ee19b12c6b0f67a5e29e81e3bc (patch)
tree295af6af519e9b14b5f2f02c176cbea50f4b4f8e /games-mud/tkmoo/tkmoo-0.3.32.ebuild
parentAdded /etc/conf.d script for passing additional options. (Manifest recommit) (diff)
downloadgentoo-2-8f312d7ab7cfc0ee19b12c6b0f67a5e29e81e3bc.tar.gz
gentoo-2-8f312d7ab7cfc0ee19b12c6b0f67a5e29e81e3bc.tar.bz2
gentoo-2-8f312d7ab7cfc0ee19b12c6b0f67a5e29e81e3bc.zip
add workaround patch for keys - patch from Luke-Jr via bug #74140
Diffstat (limited to 'games-mud/tkmoo/tkmoo-0.3.32.ebuild')
-rw-r--r--games-mud/tkmoo/tkmoo-0.3.32.ebuild33
1 files changed, 17 insertions, 16 deletions
diff --git a/games-mud/tkmoo/tkmoo-0.3.32.ebuild b/games-mud/tkmoo/tkmoo-0.3.32.ebuild
index 56c1133b76b1..4a94fb4fc94b 100644
--- a/games-mud/tkmoo/tkmoo-0.3.32.ebuild
+++ b/games-mud/tkmoo/tkmoo-0.3.32.ebuild
@@ -1,46 +1,47 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-mud/tkmoo/tkmoo-0.3.32.ebuild,v 1.8 2004/11/05 05:33:09 josejx Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-mud/tkmoo/tkmoo-0.3.32.ebuild,v 1.9 2004/12/29 07:40:36 mr_bones_ Exp $
-inherit games eutils
+inherit eutils games
MY_PN=${PN/moo/MOO-light}
MY_P=${P/moo/MOO-light}
-S=${WORKDIR}/${MY_P}
-
DESCRIPTION="MOO Client written in Tcl/Tk"
-SRC_URI="http://www.awns.com/tkMOO-light/Source/${MY_P}.tar.gz"
HOMEPAGE="http://www.awns.com/tkMOO-light/"
-IUSE=""
+SRC_URI="http://www.awns.com/tkMOO-light/Source/${MY_P}.tar.gz"
LICENSE="tkMOO"
SLOT="0"
KEYWORDS="x86 ~amd64 ~ppc"
+IUSE=""
DEPEND=">=dev-lang/tcl-8.3.3
>=dev-lang/tk-8.3.3"
+S="${WORKDIR}/${MY_P}"
+
src_unpack() {
unpack ${A}
- cd ${S}
- epatch ${FILESDIR}/${PV}-Makefile-noclean.patch
+ cd "${S}"
+ epatch "${FILESDIR}/${PV}-Makefile-noclean.patch"
+ epatch "${FILESDIR}/${PV}-keys-workaround.patch"
}
src_compile() {
emake \
- WISH="`which wish`" \
- TKMOO_LIB_DIR=${GAMES_LIBDIR}/${MY_PN} \
- TKMOO_BIN_DIR=${GAMES_BINDIR} \
- || die
+ WISH="$(which wish)" \
+ TKMOO_LIB_DIR="${GAMES_LIBDIR}/${MY_PN}" \
+ TKMOO_BIN_DIR="${GAMES_BINDIR}" \
+ || die "emake failed"
}
src_install() {
make \
- TKMOO_LIB_DIR=${D}/${GAMES_LIBDIR}/${MY_PN} \
- TKMOO_BIN_DIR=${D}/${GAMES_BINDIR} \
+ TKMOO_LIB_DIR="${D}/${GAMES_LIBDIR}/${MY_PN}" \
+ TKMOO_BIN_DIR="${D}/${GAMES_BINDIR}" \
install \
- || die
+ || die "make install failed"
dodoc README INSTALL.unix dot.tkmoolightrc bugsmail.txt
- ln -s tkMOO-lite ${D}/${GAMES_BINDIR}/tkmoo
+ dosym tkMOO-lite "${GAMES_BINDIR}/tkmoo"
prepgamesdirs
}