diff options
author | Chris Gianelloni <wolf31o2@gentoo.org> | 2006-01-31 20:10:25 +0000 |
---|---|---|
committer | Chris Gianelloni <wolf31o2@gentoo.org> | 2006-01-31 20:10:25 +0000 |
commit | 5c14f7d72d02da1d02f4d259038de53cecd339a6 (patch) | |
tree | eec3e622d130f9b0f70deececbddc465666abd82 /games-rpg | |
parent | Mark 0.4.7 stable on alpha (diff) | |
download | historical-5c14f7d72d02da1d02f4d259038de53cecd339a6.tar.gz historical-5c14f7d72d02da1d02f4d259038de53cecd339a6.tar.bz2 historical-5c14f7d72d02da1d02f4d259038de53cecd339a6.zip |
This revision resolves the broken installation that happened after moving nwn.png from FILESDIR to DISTFILES.
Package-Manager: portage-2.1_pre4-r1
Diffstat (limited to 'games-rpg')
-rw-r--r-- | games-rpg/nwn-data/ChangeLog | 6 | ||||
-rw-r--r-- | games-rpg/nwn-data/Manifest | 12 | ||||
-rw-r--r-- | games-rpg/nwn-data/nwn-data-1.29.ebuild | 22 |
3 files changed, 29 insertions, 11 deletions
diff --git a/games-rpg/nwn-data/ChangeLog b/games-rpg/nwn-data/ChangeLog index 4ca6ca120418..4ffe70bd85dc 100644 --- a/games-rpg/nwn-data/ChangeLog +++ b/games-rpg/nwn-data/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for games-rpg/nwn-data # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-rpg/nwn-data/ChangeLog,v 1.10 2006/01/23 14:53:11 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-rpg/nwn-data/ChangeLog,v 1.11 2006/01/31 20:10:25 wolf31o2 Exp $ + + 31 Jan 2006; Chris Gianelloni <wolf31o2@gentoo.org> nwn-data-1.29.ebuild: + This revision resolves the broken installation that happened after moving + nwn.png from FILESDIR to DISTFILES. 23 Jan 2006; Chris Gianelloni <wolf31o2@gentoo.org> -files/nwn.png, nwn-data-1.29.ebuild: diff --git a/games-rpg/nwn-data/Manifest b/games-rpg/nwn-data/Manifest index 977f74f9a918..c1e1ce293337 100644 --- a/games-rpg/nwn-data/Manifest +++ b/games-rpg/nwn-data/Manifest @@ -1,4 +1,12 @@ -MD5 1e3a26829586a7fef3c9ca86837a1177 ChangeLog 1780 +MD5 e7388b0321d108d2a96df5e059244f16 ChangeLog 1971 +RMD160 6239831b168921b46501bf8341e2414827abfb75 ChangeLog 1971 +SHA256 818adaafa0c690ab7da119d0a3f372393bd69f090d4cfe68b1b41e707162422c ChangeLog 1971 MD5 748d16134ba2818d8ffe55297ef9a97a files/digest-nwn-data-1.29 446 +RMD160 d71963018877e949518dbd850da7d809b7219239 files/digest-nwn-data-1.29 446 +SHA256 4e7115348b6829c76959041adb00e17d86fe048e55ce46559763b30e1df816ba files/digest-nwn-data-1.29 446 MD5 11a7e1491b1ac042ac7216b26b4ad1fb metadata.xml 254 -MD5 fb02904c46c2a070b2e18245b3d37cfe nwn-data-1.29.ebuild 6154 +RMD160 877a1dc36df2be58926bc51041093feafdefe429 metadata.xml 254 +SHA256 2916aab684ec3908fffb515065eeb2c481cde563380b682646add582bed5f535 metadata.xml 254 +MD5 2027f5d0e1e7a3ec2d026de977ceed82 nwn-data-1.29.ebuild 6299 +RMD160 cb3c76ce1d3e07bf154f08b1f11008d1080d5d9d nwn-data-1.29.ebuild 6299 +SHA256 468e105633adba1920cc72ce6a85759bfb6c3f32ab928197be5cc1b0339b2d39 nwn-data-1.29.ebuild 6299 diff --git a/games-rpg/nwn-data/nwn-data-1.29.ebuild b/games-rpg/nwn-data/nwn-data-1.29.ebuild index 83c002f67ee9..5e5197712ab1 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-2006 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.11 2006/01/23 14:53:11 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-rpg/nwn-data/nwn-data-1.29.ebuild,v 1.12 2006/01/31 20:10:25 wolf31o2 Exp $ inherit eutils games @@ -82,13 +82,16 @@ src_unpack() { touch .metadata/linguas_en || die "touching en" fi unpack nwclient129.tar.gz - cd "${WORKDIR}" - use nowin && unpack nwresources129.tar.gz - cd "${S}" + if use nowin + then + cd "${WORKDIR}" + unpack nwresources129.tar.gz || die "unpacking nwresources129.tar.gz" + cd "${S}" + fi rm -rf override/* # the following is so ugly, please pretend it doesnt exist declare -a Aarray=(${A}) - use nowin && if [ "${#Aarray[*]}" == "3" ] + use nowin && if [ "${#Aarray[*]}" == "4" ] then unpack ${Aarray[1]} fi @@ -112,20 +115,22 @@ src_unpack() { unzip -o ${CDROM_ROOT}/Data_Shared.zip unzip -o ${CDROM_ROOT}/Language_data.zip unzip -o ${CDROM_ROOT}/Language_update.zip + touch .metadata/hou || die "touching hou" fi - touch .metadata/hou || die "touching hou" + sed -i -e '\:^./nwmain .*:i \ if [[ -f ./nwmouse.so ]]; then \ export XCURSOR_PATH="$(pwd)" \ export XCURSOR_THEME=nwmouse \ export LD_PRELOAD=./nwmouse.so:$LD_PRELOAD \ fi \ - ' "${S}/nwn" + ' "${S}/nwn" || die "sed nwn" } src_install() { dodir "${dir}" - # Since the movies don't play anyway, we'll remove them + # Since the movies don't play anyway, we'll remove them. This should + # eventually be removed to allow for nwmovies to work. rm -rf "${S}"/movies mkdir -p "${S}"/dmvault "${S}"/hak "${S}"/portraits "${S}"/localvault rm -rf "${S}"/dialog.tlk "${S}"/dialog.TLK "${S}"/dmclient "${S}"/nwmain \ @@ -158,6 +163,7 @@ src_install() { chmod a-x ${Ddir}/data/patch.bif ${Ddir}/patch.key fi doicon "${DISTDIR}"/nwn.png + prepgamesdirs chmod -R g+rwX ${Ddir}/saves ${Ddir}/localvault ${Ddir}/dmvault \ 2>&1 > /dev/null || die "could not chmod" |