1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
10 MY_P="${MY_PN}demo-${PV}"
12 DESCRIPTION="Demo data for Hexen 2"
13 HOMEPAGE="http://uhexen2.sourceforge.net/"
14 SRC_URI="amd64? ( mirror://sourceforge/u${MY_PN}/${MY_P}-linux-x86_64.tgz )
15 ppc? ( mirror://sourceforge/u${MY_PN}/${MY_P}-linux-i586.tgz )
16 x86? ( mirror://sourceforge/u${MY_PN}/${MY_P}-linux-i586.tgz )"
20 KEYWORDS="~amd64 ~ppc ~x86"
24 dir=${GAMES_DATADIR}/${MY_PN}
27 insinto "${GAMES_DATADIR}"/${MY_PN}/demo
30 # All the docs are regarding uhexen2, rather than the demo data.
38 if has_version "games-fps/uhexen2[-demo]" ; then
39 ewarn "emerge uhexen2 with its 'demo' USE flag, so that"
40 ewarn "it uses the demo data directory. Or run it with:"
41 ewarn " uhexen2 -game demo"
44 einfo "This is just the demo data. To play, emerge a client"
45 einfo "such as uhexen2 with its 'demo' USE flag."