blob: 699e16027e44f80d65c3a04d1e74577823fd934c (
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
|
# Copyright 1999-2004 Gentoo Technologies, Inc.
# 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.3 2004/03/02 14:24:48 vapier 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"
DEPEND=">=sys-libs/ncurses-5.2"
src_unpack() {
unpack ${A}
cd ${S}
epatch ${FILESDIR}/${P}-gentoo.diff
}
src_compile() {
dodir /usr/bin /usr/lib/${MY_P}-lib
dodir /usr/share/man/man1
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
}
|