blob: 8ccacb88919a9c016814f9d91cae22461284c2a7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-mud/tf/tf-40-r2.ebuild,v 1.9 2006/10/01 23:49:32 mr_bones_ Exp $
inherit eutils
MY_P=${P}s1
DESCRIPTION="A small full-featured MUD client"
HOMEPAGE="http://tf.tcp.com/~hawkeye/tf/"
SRC_URI="mirror://tinyfugue/${MY_P}.tar.gz
doc? ( mirror://tinyfugue/${MY_P}-help.tar.gz )"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS=" ~amd64 ~sparc x86"
IUSE="doc"
DEPEND=">=sys-libs/ncurses-5.2"
S=${WORKDIR}/${MY_P}
src_unpack() {
unpack ${A}
cd "${S}"
epatch \
"${FILESDIR}/${P}-gentoo.diff" \
"${FILESDIR}/${P}-gcc4.patch"
}
src_compile() {
echo 'y' | ./unixmake config || die
./unixmake all || die
}
src_install() {
dobin src/tf || die
newman src/tf.1.catman tf.1
exeinto /usr/lib/${MY_P}-lib
doexe tf-lib/*
insinto /usr/lib/${MY_P}-lib
doins CHANGES
dodoc CHANGES CREDITS README
use doc && dohtml -r ${WORKDIR}/${MY_P}-help
}
|