diff options
author | Daichi GOTO <daichi@FreeBSD.org> | 2003-08-19 05:23:46 +0000 |
---|---|---|
committer | Daichi GOTO <daichi@FreeBSD.org> | 2003-08-19 05:23:46 +0000 |
commit | c268099f5c60c5fe2213ed1ce1458f800f9fe7c5 (patch) | |
tree | b3cef25f0551ff26670f4c18d5b2948f44f7c3e6 /games/linux-nwserver | |
parent | c9a4b15355c093ab39dca99978e8cd19a46522be (diff) | |
download | ports-c268099f5c60c5fe2213ed1ce1458f800f9fe7c5.tar.gz ports-c268099f5c60c5fe2213ed1ce1458f800f9fe7c5.zip |
update games/linux-nwserver: some fixes
PR: 55694
Submitted by: Igor Pokrovsky <igor.pokrovsky@cnrm.meteo.fr>
Notes
Notes:
svn path=/head/; revision=87260
Diffstat (limited to 'games/linux-nwserver')
-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 |