Summary: | [New Port] games/wargus - Warcraft2 Mod that allows you to play Warcraft2 with Stratagus | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Travis Poppe <tlp> | ||||
Component: | Individual Port(s) | Assignee: | freebsd-ports-bugs (Nobody) <ports-bugs> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | ||||||
Priority: | Normal | ||||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
Travis Poppe
2004-07-02 05:50:24 UTC
Please apply the following diff to the above port before committing! I have re-worded the pkg-message and wargus wrapper script. I have also added a file to the files/ directory called patch-aa Thanks --snip-- diff -ruN wargus.orig/files/patch-aa wargus/files/patch-aa --- wargus.orig/files/patch-aa Wed Dec 31 17:00:00 1969 +++ wargus/files/patch-aa Sat Jul 3 14:48:41 2004 @@ -0,0 +1,10 @@ +--- build.sh.orig Sat Jul 3 14:47:31 2004 ++++ build.sh Sat Jul 3 14:48:28 2004 +@@ -192,6 +192,7 @@ + ## Copy original puds into data directory + # + echo "Copying maps and compressing" ++[ -d $DIR/puds ] || mkdir $DIR/puds + [ -d $DATADIR/../puds ] && cp -r $DATADIR/../puds/ $DIR/ >/dev/null 2>&1 + [ -f $DATADIR/../alamo.pud ] && cp -r $DATADIR/../*.pud $DIR/puds >/dev/null 2>&1 + chmod -R +w $DIR/puds diff -ruN wargus.orig/files/pkg-message.in wargus/files/pkg-message.in --- wargus.orig/files/pkg-message.in Sat Jul 3 14:50:06 2004 +++ wargus/files/pkg-message.in Sat Jul 3 14:56:13 2004 @@ -12,11 +12,10 @@ * German Expansion * Spanish Original -After modifying build.sh to point to your Warcraft2 data, you must run it -as root from inside the directory it is installed to. +If you have one of the above CDs mounted on /cdrom, su to root and change to +the %%PREFIX%%/share/wargus/ directory and try executing: -Note: If you have one of the above CDs mounted on /cdrom, you may not need -to modify build.sh before running it. +./build.sh -p /cdrom After your Warcraft2 data has been successfully extracted, run 'wargus' as the user you intend to play the game with. diff -ruN wargus.orig/files/wargus.in wargus/files/wargus.in --- wargus.orig/files/wargus.in Sat Jul 3 14:50:06 2004 +++ wargus/files/wargus.in Sat Jul 3 14:56:02 2004 @@ -30,11 +30,10 @@ echo "* German Expansion" echo "* Spanish Original" echo "" - echo "After modifying build.sh to point to your Warcraft2 data, you must run it" - echo "as root from inside the directory it is installed to." - echo "" - echo "Note: If you have one of the above CDs mounted on /cdrom, you may not need" - echo "to modify build.sh before running it." + echo "If you have one of the above CDs mounted on /cdrom, su to root and change to" + echo "the %%PREFIX%%/share/wargus/ directory and try executing:" + echo "" + echo "./build.sh -p /cdrom" echo "" echo "After your Warcraft2 data has been successfully extracted, run 'wargus' as the" echo "user you intend to play the game with." State Changed From-To: open->closed Committed, thanks! |