diff options
author | daichi <daichi@FreeBSD.org> | 2003-08-19 13:23:46 +0800 |
---|---|---|
committer | daichi <daichi@FreeBSD.org> | 2003-08-19 13:23:46 +0800 |
commit | 2d7385349f24f114b61bf4b66bea615d4d0744c5 (patch) | |
tree | 33c7881f250940ddc655989d7ac0c65b3931f43f /games | |
parent | f397f11d3fe4d6ad6bdc11416bf2abec36936098 (diff) | |
download | freebsd-ports-gnome-2d7385349f24f114b61bf4b66bea615d4d0744c5.tar.gz freebsd-ports-gnome-2d7385349f24f114b61bf4b66bea615d4d0744c5.tar.zst freebsd-ports-gnome-2d7385349f24f114b61bf4b66bea615d4d0744c5.zip |
update games/linux-nwserver: some fixes
PR: 55694
Submitted by: Igor Pokrovsky <igor.pokrovsky@cnrm.meteo.fr>
Diffstat (limited to 'games')
-rw-r--r-- | games/linux-nwserver/Makefile | 1 | ||||
-rw-r--r-- | games/linux-nwserver/files/patch-fixinstall | 49 |
2 files changed, 50 insertions, 0 deletions
diff --git a/games/linux-nwserver/Makefile b/games/linux-nwserver/Makefile index d0150eaa9545..c50fb0c41cc6 100644 --- a/games/linux-nwserver/Makefile +++ b/games/linux-nwserver/Makefile @@ -18,6 +18,7 @@ COMMENT= Neverwinter Nights Linux (x86) Dedicated Server USE_LINUX= yes NO_BUILD= yes ONLY_FOR_ARCHS= i386 +WRKSRC= ${WRKDIR} # Linux binary should not be stripped by INSTALL_PROGRAM # because as a side effect it brands the binary as FreeBSD. diff --git a/games/linux-nwserver/files/patch-fixinstall b/games/linux-nwserver/files/patch-fixinstall new file mode 100644 index 000000000000..8147e6d4cc1d --- /dev/null +++ b/games/linux-nwserver/files/patch-fixinstall @@ -0,0 +1,49 @@ +--- fixinstall-old Mon Jun 23 18:34:30 2003 ++++ fixinstall Mon Aug 18 15:10:14 2003 +@@ -1,13 +1,13 @@ +-#!/bin/bash ++#!/bin/sh + +-aRequiredDirs=(data override) +-aRequiredFiles=(chitin.key patch.key dialog.tlk nwserver) +-aLCDirs=(ambient data dmvault hak localvault music override portraits) +-aProblemFiles=() ++aRequiredDirs="data override" ++aRequiredFiles="chitin.key patch.key dialog.tlk nwserver" ++aLCDirs="ambient data dmvault hak localvault music override portraits" ++aProblemFiles="" + + printf "Checking for required files\n\n" + +-for d in ${aRequiredDirs[@]} ++for d in ${aRequiredDirs} + do + if [ -d $d ] + then +@@ -18,7 +18,7 @@ + fi + done + +-for f in ${aRequiredFiles[@]} ++for f in ${aRequiredFiles} + do + if [ -f $f ] + then +@@ -41,7 +41,7 @@ + mv dialogF.TLK dialogf.tlk + fi + +-for d in ${aLCDirs[@]} ++for d in ${aLCDirs} + do + if [ -d $d ] + then +@@ -70,7 +70,7 @@ + + printf "\nChecking for problem files\n\n" + +-for f in ${aProblemFiles[@]} ++for f in ${aProblemFiles} + do + if [ -f $f ] + then |