blob: 70e938d3cad8c9dc2d53a7bf1361c95651faaf35 (
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
|
# Copyright 1999-2004 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.8 2004/06/24 23:01:12 agriffis Exp $
inherit eutils
MY_P=${P}s1
S="${WORKDIR}/${MY_P}"
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="x86 ~amd64 ~sparc"
IUSE="doc"
DEPEND=">=sys-libs/ncurses-5.2"
src_unpack() {
unpack ${A}
cd ${S}
epatch "${FILESDIR}/${P}-gentoo.diff"
}
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
}
|