diff options
author | Chris Gianelloni <wolf31o2@gentoo.org> | 2005-11-01 20:04:30 +0000 |
---|---|---|
committer | Chris Gianelloni <wolf31o2@gentoo.org> | 2005-11-01 20:04:30 +0000 |
commit | 8c301d0031fa8cabe03d06b05e75062f20b671dc (patch) | |
tree | 5d28b49b417751d6d32bd0dac04f64101b240c1f /games-rpg | |
parent | re-adding wrongly removed ~amd64 keyword (diff) | |
download | gentoo-2-8c301d0031fa8cabe03d06b05e75062f20b671dc.tar.gz gentoo-2-8c301d0031fa8cabe03d06b05e75062f20b671dc.tar.bz2 gentoo-2-8c301d0031fa8cabe03d06b05e75062f20b671dc.zip |
Fixed installation when not using USE=nowin.
(Portage version: 2.0.53_rc6)
Diffstat (limited to 'games-rpg')
-rw-r--r-- | games-rpg/nwn-data/ChangeLog | 5 | ||||
-rw-r--r-- | games-rpg/nwn-data/nwn-data-1.29.ebuild | 29 |
2 files changed, 23 insertions, 11 deletions
diff --git a/games-rpg/nwn-data/ChangeLog b/games-rpg/nwn-data/ChangeLog index 42330e5492ab..6f2a8dacf749 100644 --- a/games-rpg/nwn-data/ChangeLog +++ b/games-rpg/nwn-data/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for games-rpg/nwn-data # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-rpg/nwn-data/ChangeLog,v 1.4 2005/10/17 21:24:04 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-rpg/nwn-data/ChangeLog,v 1.5 2005/11/01 20:04:30 wolf31o2 Exp $ + + 01 Nov 2005; Chris Gianelloni <wolf31o2@gentoo.org> nwn-data-1.29.ebuild: + Fixed installation when not using USE=nowin. 17 Oct 2005; Chris Gianelloni <wolf31o2@gentoo.org> nwn-data-1.29.ebuild: Added nwmouse check from bug #106789 for bug #109619. diff --git a/games-rpg/nwn-data/nwn-data-1.29.ebuild b/games-rpg/nwn-data/nwn-data-1.29.ebuild index 9f9416a0f8ac..28109f20f6ba 100644 --- a/games-rpg/nwn-data/nwn-data-1.29.ebuild +++ b/games-rpg/nwn-data/nwn-data-1.29.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-rpg/nwn-data/nwn-data-1.29.ebuild,v 1.4 2005/10/17 21:24:04 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-rpg/nwn-data/nwn-data-1.29.ebuild,v 1.5 2005/11/01 20:04:30 wolf31o2 Exp $ inherit eutils games @@ -100,7 +100,7 @@ src_install() { dodir "${dir}" # Since the movies don't play anyway, we'll remove them rm -rf "${S}"/movies - mkdir -p "${S}"/dmvault "${S}"/hak "${S}"/portraits + mkdir -p "${S}"/dmvault "${S}"/hak "${S}"/portraits "${S}"/localvault rm -rf "${S}"/dialog.tlk "${S}"/dialog.TLK "${S}"/dmclient "${S}"/nwmain \ "${S}"/nwserver "${S}"/nwm/* "${S}"/SDL-1.2.5 "${S}"/fixinstall mv "${S}"/* "${Ddir}" @@ -125,9 +125,9 @@ src_install() { cd ${Ddir} fi done - if ! use sou && ! use hou + if ! use sou && ! use hou && use nowin then - chmod a-x ${Ddir}/data/patch.bif chmod a-x${Ddir}/patch.key + chmod a-x ${Ddir}/data/patch.bif ${Ddir}/patch.key fi doicon "${FILESDIR}"/nwn.png prepgamesdirs @@ -142,25 +142,34 @@ pkg_postinst() { einfo "The NWN linux client data is now installed." einfo "Proceed with the following steps in order to get it working:" einfo "1) Copy the following directories/files from your installed and" - einfo " patched (${PV}) Neverwinter Nights to ${GAMES_PREFIX_OPT}/nwn:" + einfo " patched (1.66) Neverwinter Nights to ${dir}:" einfo " ambient/" - einfo " data/ (all files except for patch.bif)" + einfo " data/" einfo " dmvault/" einfo " hak/" einfo " localvault/" einfo " modules/" einfo " music/" - einfo " override/" einfo " portraits/" einfo " saves/" einfo " servervault/" einfo " texturepacks/" einfo " chitin.key" - einfo "2) Chown and chmod the files with the following commands" + einfo "2) Remove some files to make way for the patch" + einfo " rm ${dir}/music/mus_dd_{kingmaker,shadowgua,witchwake}.bmu" + einfo " rm ${dir}/override/iit_medkit_001.tga" + einfo " rm ${dir}/data/patch.bif" + if use sou + then + einfo " rm ${dir}/xp1patch.key ${dir}/data/xp1patch.bif" + fi + if use hou + then + einfo " rm ${dir}/xp2patch.key ${dir}/data/xp2patch.bif" + fi + einfo "3) Chown and chmod the files with the following commands" einfo " chown -R ${GAMES_USER}:${GAMES_GROUP} ${dir}" einfo " chmod -R g+rwX ${dir}" - einfo "3) Run ${dir}/fixinstall as root" - einfo "4) Make sure that you are in group ${GAMES_GROUP}" echo einfo "Or try emerging with USE=nowin" else |