1 # Copyright 1999-2007 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
9 DESCRIPTION="Demo data for Hexen 2"
10 HOMEPAGE="http://uhexen2.sourceforge.net/"
11 SRC_URI="mirror://sourceforge/uhexen2/hexen2demo-${PV}-linux-i586.tgz"
15 KEYWORDS="~amd64 ~ppc ~x86"
20 S=${WORKDIR}/hexen2demo-${PV}
21 dir=${GAMES_DATADIR}/${MY_PN}
25 doins -r data1 || die "doins data1 failed"
27 # Have an icon, so might as well install it.
28 newicon hexen2.png ${PN}.png
30 # All the docs are regarding uhexen2, rather than the demo data.
38 if has_version "games-fps/uhexen2" ; then
39 if ! built_with_use "games-fps/uhexen2" demo ; then
40 ewarn "emerge uhexen2 with its 'demo' USE flag, so that"
41 ewarn "it uses the demo data directory. Or run it with:"
42 ewarn " uhexen2 -game demo"
46 einfo "This is just the demo data. To play, emerge a client"
47 einfo "such as uhexen2 with its 'demo' USE flag."