summaryrefslogtreecommitdiff
blob: 3c3f493eda1897965c7d05109d275687804d26f8 (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
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-roguelike/noegnud-data/noegnud-data-0.7.1.ebuild,v 1.5 2005/09/26 18:16:54 wolf31o2 Exp $

inherit eutils games

BASE_PV=0.7.0
DESCRIPTION="ultimate User Interface for nethack"
HOMEPAGE="http://noegnud.sourceforge.net/"
SRC_URI="mirror://sourceforge/noegnud/noegnud-${BASE_PV}-src.tar.gz
	mirror://sourceforge/noegnud/noegnud-${BASE_PV}-noegnud-${PV}.diff"

LICENSE="nethack"
SLOT="0"
KEYWORDS="x86"
IUSE=""

S=${WORKDIR}/noegnud-${BASE_PV}/noegnud_data

src_unpack() {
	unpack noegnud-${BASE_PV}-src.tar.gz
	epatch ${DISTDIR}/noegnud-${BASE_PV}-noegnud-${PV}.diff
}

src_install() {
	dodir ${GAMES_DATADIR}/noegnud_data
	dodoc README THANKS news
	rm README THANKS news
	cp -fr * ${D}/${GAMES_DATADIR}/noegnud_data/
	prepgamesdirs
}