summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Gianelloni <wolf31o2@gentoo.org>2005-12-19 16:12:57 +0000
committerChris Gianelloni <wolf31o2@gentoo.org>2005-12-19 16:12:57 +0000
commit7b7ddc127dc1596171d1e144433b7d2137f7a9dc (patch)
tree6b9a0436ec4beb5204ead278933a0a6f5c638806 /games-rpg/nwn
parentUse python eclass functions to determine installed python version. (diff)
downloadhistorical-7b7ddc127dc1596171d1e144433b7d2137f7a9dc.tar.gz
historical-7b7ddc127dc1596171d1e144433b7d2137f7a9dc.tar.bz2
historical-7b7ddc127dc1596171d1e144433b7d2137f7a9dc.zip
Fixing fixinstall file and made it install properly.
Package-Manager: portage-2.0.53
Diffstat (limited to 'games-rpg/nwn')
-rw-r--r--games-rpg/nwn/ChangeLog6
-rw-r--r--games-rpg/nwn/Manifest6
-rwxr-xr-xgames-rpg/nwn/files/fixinstall6
-rw-r--r--games-rpg/nwn/nwn-1.66-r1.ebuild10
4 files changed, 18 insertions, 10 deletions
diff --git a/games-rpg/nwn/ChangeLog b/games-rpg/nwn/ChangeLog
index 21aecdaeb54c..8d556515dc02 100644
--- a/games-rpg/nwn/ChangeLog
+++ b/games-rpg/nwn/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-rpg/nwn
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-rpg/nwn/ChangeLog,v 1.31 2005/11/28 23:10:00 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-rpg/nwn/ChangeLog,v 1.32 2005/12/19 16:12:57 wolf31o2 Exp $
+
+ 19 Dec 2005; Chris Gianelloni <wolf31o2@gentoo.org> files/fixinstall,
+ nwn-1.66-r1.ebuild:
+ Fixing fixinstall file and made it install properly.
28 Nov 2005; Chris Gianelloni <wolf31o2@gentoo.org> nwn-1.65-r1.ebuild,
nwn-1.66.ebuild, nwn-1.66-r1.ebuild:
diff --git a/games-rpg/nwn/Manifest b/games-rpg/nwn/Manifest
index c46d08e6284b..e14b6b425013 100644
--- a/games-rpg/nwn/Manifest
+++ b/games-rpg/nwn/Manifest
@@ -1,11 +1,11 @@
-MD5 3ca9f435de1a34868a97f3d28d09fe36 ChangeLog 6026
+MD5 fcf3bfc3707b0d0fc86af051140f9e84 ChangeLog 6176
MD5 3952e8e76ebdde92fe0bf84facaaea38 files/digest-nwn-1.65-r1 892
MD5 a15f98043e8a4c08555ef8384a1e848c files/digest-nwn-1.66 1147
MD5 25cad5bc0f76382b0577ef11b5d5aeef files/digest-nwn-1.66-r1 1551
-MD5 004cf98b585a8186262ea2117907129e files/fixinstall 2453
+MD5 a8900a7d035a7633369516c1e6221ac9 files/fixinstall 2534
MD5 3eddaf5e88a92951762058756003c855 files/nwn 44
MD5 d05b3b73edd2b4beadbce95837e2ab20 files/nwn.png 4296
MD5 11a7e1491b1ac042ac7216b26b4ad1fb metadata.xml 254
MD5 01462aa6fdca084af4f9522164e44b22 nwn-1.65-r1.ebuild 3818
-MD5 a84dce19da095310b4a4d69b640ac0e3 nwn-1.66-r1.ebuild 4286
+MD5 5abd3e76970c2225bc9ab8ad708e3c55 nwn-1.66-r1.ebuild 4341
MD5 deb4e9ff9ece553a1738cb6c8c6237f3 nwn-1.66.ebuild 4370
diff --git a/games-rpg/nwn/files/fixinstall b/games-rpg/nwn/files/fixinstall
index f92a9d9707c6..c324b61bf89e 100755
--- a/games-rpg/nwn/files/fixinstall
+++ b/games-rpg/nwn/files/fixinstall
@@ -92,7 +92,8 @@ chown GENTOO_USER:GENTOO_GROUP GENTOO_DIR/nwn/ -R
chmod g+rwX GENTOO_DIR/nwn/ -R
# 1.65-specific fixes to permissions
-chmod a-x GENTOO_DIR/nwn/data/patch.bif 2>&1 > /dev/null
+[ -e GENTOO_DIR/nwn/data/patch.bif ] && \
+ chmod a-x GENTOO_DIR/nwn/data/patch.bif 2>&1 > /dev/null
chmod a-x GENTOO_DIR/nwn/nwm/Chapter1.nwm 2>&1 > /dev/null
chmod a-x GENTOO_DIR/nwn/nwm/Chapter1E.nwm 2>&1 > /dev/null
chmod a-x GENTOO_DIR/nwn/nwm/Chapter2.nwm 2>&1 > /dev/null
@@ -100,6 +101,7 @@ chmod a-x GENTOO_DIR/nwn/nwm/Chapter2E.nwm 2>&1 > /dev/null
chmod a-x GENTOO_DIR/nwn/nwm/Chapter3.nwm 2>&1 > /dev/null
chmod a-x GENTOO_DIR/nwn/nwm/Chapter4.nwm 2>&1 > /dev/null
chmod a-x GENTOO_DIR/nwn/nwm/Prelude.nwm 2>&1 > /dev/null
-chmod a-x GENTOO_DIR/nwn/patch.key 2>&1 > /dev/null
+[ -e GENTOO_DIR/nwn/patch.key ] && \
+ chmod a-x GENTOO_DIR/nwn/patch.key 2>&1 > /dev/null
printf "\nYou are ready to run Neverwinter Nights.\n\n"
diff --git a/games-rpg/nwn/nwn-1.66-r1.ebuild b/games-rpg/nwn/nwn-1.66-r1.ebuild
index 1674be0071e3..759418abb8d2 100644
--- a/games-rpg/nwn/nwn-1.66-r1.ebuild
+++ b/games-rpg/nwn/nwn-1.66-r1.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/nwn-1.66-r1.ebuild,v 1.7 2005/11/28 23:10:00 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-rpg/nwn/nwn-1.66-r1.ebuild,v 1.8 2005/12/19 16:12:57 wolf31o2 Exp $
inherit eutils games
@@ -126,12 +126,14 @@ src_unpack() {
src_install() {
dodir ${dir}
- sed \
+ exeinto ${dir}
+ doexe ${FILESDIR}/fixinstall
+ sed -i \
-e "s:GENTOO_USER:${GAMES_USER}:" \
-e "s:GENTOO_GROUP:${GAMES_GROUP}:" \
-e "s:GENTOO_DIR:${GAMES_PREFIX_OPT}:" \
- ${FILESDIR}/fixinstall > ${S}/fixinstall
- fperms ug+x ${dir}/fixinstall
+ ${Ddir}/fixinstall || die "sed"
+ fperms ug+x ${dir}/fixinstall || die "perms"
mv ${S}/* ${Ddir}
games_make_wrapper nwn ./nwn "${dir}" "${dir}"
make_desktop_entry nwn "Neverwinter Nights"