summaryrefslogtreecommitdiff
blob: 0f81e41977ce12febc5c486f1463eba8baedbe63 (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 Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-board/gnocatan/gnocatan-0.8.1.16-r1.ebuild,v 1.3 2004/03/31 19:01:10 mr_bones_ Exp $

inherit eutils gnome2

DESCRIPTION="A clone of the popular board game The Settlers of Catan"
HOMEPAGE="http://gnocatan.sourceforge.net/"
SRC_URI="mirror://sourceforge/gnocatan/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86"
IUSE="nls"

DEPEND=">=gnome-base/libgnomeui-2.2*
	=dev-libs/glib-1.2*
	>=app-text/scrollkeeper-0.3*"

src_unpack() {
	unpack ${A}
	cd ${S}
	cd ${S}/client/gtk
	epatch ${FILESDIR}/chat.diff
	epatch ${FILESDIR}/gmap.diff
	cd ${S}/client/common
	epatch ${FILESDIR}/nothing.diff
	cd ${S}/server
	epatch ${FILESDIR}/servertrade.diff
}

src_compile() {
	export G2CONF="${G2CONF} `use_enable nls`"
	gnome2_src_compile
}

src_install() {
	DOCS="AUTHORS ChangeLog README"
	gnome2_src_install
}