--- /usr/portage/games-fps/doom3/doom3-1.3.1302-r1.ebuild 2006-03-15 23:36:47.000000000 +0100 +++ /usr/local/portage/games-fps/doom3/doom3-1.3.1302-r1.ebuild 2006-03-22 12:55:29.000000000 +0100 @@ -13,7 +13,7 @@ LICENSE="DOOM3" SLOT="0" KEYWORDS="-* amd64 x86" -IUSE="cdinstall alsa opengl dedicated" +IUSE="cdinstall alsa opengl dedicated roeexpansion" RESTRICT="nostrip" DEPEND="app-arch/bzip2 @@ -52,8 +52,10 @@ insinto "${dir}"/pb doins pb/* || die "doins pb" - insinto "${dir}"/d3xp - doins d3xp/* || die "doins d3xp" + if use roeexpansion ; then + insinto "${dir}"/d3xp + doins d3xp/* || die "doins d3xp" + fi insinto "${dir}"/base doins base/* || die "doins base" @@ -74,8 +76,10 @@ einfo "pak004.pk4 from either your installation media or your hard drive to" einfo "${dir}/base before running the game." echo - einfo "To use the Ressurection of Evil expansion pack, you also need to copy" - einfo "pak000.pk4 to ${dir}/d3xp before running the game." + if use roeexpansion ; then + einfo "To use the Ressurection of Evil expansion pack, you also need to copy" + einfo "pak000.pk4 to ${dir}/d3xp before running the game." + fi fi echo einfo "To play the game run:"