blob: 09a85041c1ba9ebdda93b84ed12e5b4aa439a9d3 (
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
|
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-util/searchtool/searchtool-0.4.4.ebuild,v 1.1 2003/09/10 18:53:23 vapier Exp $
inherit games
DESCRIPTION="server browser for Internet games"
HOMEPAGE="http://searchtool.sourceforge.net/"
SRC_URI="mirror://sourceforge/searchtool/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86"
DEPEND="dev-java/ant"
RDEPEND="virtual/jre"
S=${WORKDIR}/${PN}
src_compile() {
ant || die
sed \
-e "s:GENTOO_DATADIR:${GAMES_DATADIR}/${PN}:" \
-e "s:GENTOO_P:${P}:" \
${FILESDIR}/searchtool > searchtool
}
src_install() {
insinto ${GAMES_DATADIR}/${PN}
doins ${P}.jar
dogamesbin searchtool
dodoc README
prepgamesdirs
}
|