|
|
# Copyright 1999-2008 Gentoo Foundation | # Copyright 1999-2008 Gentoo Foundation |
# Distributed under the terms of the GNU General Public License v2 | # Distributed under the terms of the GNU General Public License v2 |
# $Header: /var/cvsroot/gentoo-x86/games-rpg/nwn-data/nwn-data-1.29-r3.ebuild,v 1.1 2008/02/16 23:00:00 calchan Exp $ |
# $Header: $ |
| |
inherit eutils games | inherit eutils games |
| |
|
|
disk2.zip disk3.zip disk4.zip | disk2.zip disk3.zip disk4.zip |
;; | ;; |
gold_cd) | gold_cd) |
einfo "Shadow of Undrentide will be installed from your CDS along" |
einfo "Shadow of Undrentide will be installed from your CDs along" |
einfo "with the original Neverwinter Nights. If you have the" | einfo "with the original Neverwinter Nights. If you have the" |
einfo "Hordes of the Underdark expansion, it will be installed after." | einfo "Hordes of the Underdark expansion, it will be installed after." |
touch .metadata/orig || die "touch orig" | touch .metadata/orig || die "touch orig" |
|
|
export CDROM_NAME_4="CD4" | export CDROM_NAME_4="CD4" |
if use hou | if use hou |
then | then |
einfo "You will also need the HoU CDs for this installation." |
einfo "You will also need the HoU CD for this installation." |
export CDROM_NAME_5="HoU" | export CDROM_NAME_5="HoU" |
cdrom_get_cds ArcadeInstallNWNXP1_12d.EXE disk2.zip \ | cdrom_get_cds ArcadeInstallNWNXP1_12d.EXE disk2.zip \ |
disk3.zip disk4.zip ArcadeInstallNWNXP213f.EXE | disk3.zip disk4.zip ArcadeInstallNWNXP213f.EXE |
|
|
done ) | done ) |
fi | fi |
done | done |
if ! use sou && ! use hou && use nowin |
|
then |
|
if [[ -f data/patch.bif ]] |
|
then |
|
chmod a-x data/patch.bif |
|
fi |
|
if [[ -f patch.key ]] |
|
then |
|
chmod a-x patch.key |
|
fi |
|
fi |
|
doicon "${DISTDIR}"/nwn.png | doicon "${DISTDIR}"/nwn.png |
| |
prepgamesdirs | prepgamesdirs |