summaryrefslogtreecommitdiff
blob: 6f27b1338afd1ebcde793a9df9ef9c6b56c767c2 (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
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-action/descent1-maps/descent1-maps-1.0.ebuild,v 1.2 2004/06/24 21:54:19 agriffis Exp $

inherit games

DESCRIPTION="Descent 1 third-party multiplayer maps"
HOMEPAGE="http://d1x.warpcore.org"
SRC_URI="mirror://gentoo/${P}.tar.bz2"

LICENSE="as-is"
SLOT="0"
KEYWORDS="x86"
DEPEND="games-action/d1x"

S="${WORKDIR}/${P}"

src_install () {

	local dir="${GAMES_DATADIR}/d1x"
	cd "${S}" || die

	# Install map data

	dodir "${dir}"

	insinto "${dir}"
	for x in *.rdl *.msn; do
		doins "${x}" || die
	done

	# Install documentation
	for x in *.txt; do
		dodoc "${x}" || die
	done

	prepgamesdirs
}