/[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.16 - (show annotations) (download)
Wed Mar 25 15:33:42 2015 UTC (4 years, 6 months ago) by jlec
Branch: MAIN
CVS Tags: HEAD
Changes since 1.15: +5 -3 lines
Fix tcl/tk slotting

(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!)

1 # Copyright 1999-2015 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.15 2015/02/07 13:30:38 ago Exp $
4
5 EAPI=5
6
7 inherit eutils games
8
9 MY_PN=${PN/moo/MOO-light}
10 MY_P=${P/moo/MOO-light}
11 DESCRIPTION="MOO Client written in Tcl/Tk"
12 HOMEPAGE="http://www.awns.com/tkMOO-light/"
13 SRC_URI="http://www.awns.com/tkMOO-light/Source/${MY_P}.tar.gz"
14
15 LICENSE="tkMOO"
16 SLOT="0"
17 KEYWORDS="amd64 ppc x86"
18 IUSE=""
19
20 DEPEND="
21 >=dev-lang/tcl-8.3.3:0=
22 >=dev-lang/tk-8.3.3:0="
23
24 S=${WORKDIR}/${MY_P}
25
26 src_prepare() {
27 epatch \
28 "${FILESDIR}/${PV}-Makefile-noclean.patch" \
29 "${FILESDIR}/${PV}-keys-workaround.patch"
30 }
31
32 src_compile() {
33 emake \
34 WISH="$(type -P wish)" \
35 TKMOO_LIB_DIR="$(games_get_libdir)/${MY_PN}" \
36 TKMOO_BIN_DIR="${GAMES_BINDIR}"
37 }
38
39 src_install() {
40 emake \
41 TKMOO_LIB_DIR="${D}/$(games_get_libdir)/${MY_PN}" \
42 TKMOO_BIN_DIR="${D}/${GAMES_BINDIR}" \
43 install
44 dodoc README dot.tkmoolightrc bugsmail.txt
45 dosym tkMOO-lite "${GAMES_BINDIR}/tkmoo"
46 make_desktop_entry tkmoo "tkMOO"
47 prepgamesdirs
48 }

  ViewVC Help
Powered by ViewVC 1.1.20