# Copyright 1999-2004 Gentoo Technologies, Inc. # 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.1 2004/02/17 18:23:30 mr_bones_ 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 }