summaryrefslogtreecommitdiff
blob: d7a94592bd69806d21f141b99ca81ad684786c52 (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
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-puzzle/mindless/mindless-1.2.ebuild,v 1.1 2003/09/10 06:36:00 vapier Exp $

inherit games

DESCRIPTION="play collectable/trading card games (Magic: the Gathering and possibly others) against other people"
HOMEPAGE="http://mindless.sourceforge.net/"
SRC_URI="mirror://sourceforge/mindless/${P}.tar.gz
	http://www.e-league.com/files/approracle.zip"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 ppc"

DEPEND="media-libs/gdk-pixbuf"

src_compile() {
	emake || die
}

src_install() {
	dogamesbin mindless ${FILESDIR}/playmindless
	insinto ${GAMES_DATADIR}/${PN}
	doins ${WORKDIR}{/,/sets/}*.dat
	dodoc CHANGES README TODO
	prepgamesdirs
}

pkg_postinst() {
	einfo "A wrapper script has been installed."
	einfo "To play, just run 'playmindless'."

	games_pkg_postinst
}