# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit games EXPORT_FUNCTIONS src_install SLOT="0" KEYWORDS="-* x86 amd64" IUSE="" LICENSE="freedist" RESTRICT="nomirror nostrip" DEPEND="app-arch/tar app-arch/bzip2" RDEPEND="virtual/libc >=games-fps/ut2004-3339" S=${WORKDIR} dir=${GAMES_PREFIX_OPT}/ut2004 Ddir=${D}/${dir} games-ut2k4mappack_src_install() { for n in {Animations,Help,Manual,Maps,Sounds,StaticMeshes,System,Textures} do if [ -e ${S}/${n} ] then dodir ${dir}/${n} cp -r ${S}/${n}/* ${Ddir}/${n} \ || die "copying ${n}" fi done prepgamesdirs }