/[gentoo-x86]/games-mud/tkmoo/tkmoo-0.3.32.ebuild
Gentoo

Contents of /games-mud/tkmoo/tkmoo-0.3.32.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.13 - (show annotations) (download)
Mon Apr 9 18:43:53 2007 UTC (12 years, 7 months ago) by nyhm
Branch: MAIN
Changes since 1.12: +6 -6 lines
use games_get_libdir
(Portage version: 2.1.2.3)

1 # Copyright 1999-2007 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/games-mud/tkmoo/tkmoo-0.3.32.ebuild,v 1.12 2007/03/13 01:31:47 wolf31o2 Exp $
4
5 inherit eutils games
6
7 MY_PN=${PN/moo/MOO-light}
8 MY_P=${P/moo/MOO-light}
9 DESCRIPTION="MOO Client written in Tcl/Tk"
10 HOMEPAGE="http://www.awns.com/tkMOO-light/"
11 SRC_URI="http://www.awns.com/tkMOO-light/Source/${MY_P}.tar.gz"
12
13 LICENSE="tkMOO"
14 SLOT="0"
15 KEYWORDS="x86 ~amd64 ppc"
16 IUSE=""
17
18 DEPEND=">=dev-lang/tcl-8.3.3
19 >=dev-lang/tk-8.3.3"
20
21 S=${WORKDIR}/${MY_P}
22
23 src_unpack() {
24 unpack ${A}
25 cd "${S}"
26 epatch "${FILESDIR}/${PV}-Makefile-noclean.patch"
27 epatch "${FILESDIR}/${PV}-keys-workaround.patch"
28 }
29
30 src_compile() {
31 emake \
32 WISH="$(type -P wish)" \
33 TKMOO_LIB_DIR="$(games_get_libdir)/${MY_PN}" \
34 TKMOO_BIN_DIR="${GAMES_BINDIR}" \
35 || die "emake failed"
36 }
37
38 src_install() {
39 emake \
40 TKMOO_LIB_DIR="${D}/$(games_get_libdir)/${MY_PN}" \
41 TKMOO_BIN_DIR="${D}/${GAMES_BINDIR}" \
42 install \
43 || die "emake install failed"
44 dodoc README dot.tkmoolightrc bugsmail.txt
45 dosym tkMOO-lite "${GAMES_BINDIR}/tkmoo"
46 prepgamesdirs
47 }

  ViewVC Help
Powered by ViewVC 1.1.20