Bug 68584

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 Flags
file.shar none

Description Travis Poppe 2004-07-02 05:50:24 UTC
Wargus is a Warcraft2 Mod that allows you to play Warcraft2 with the 
Stratagus engine, as opposed to playing it with the original Warcraft2 
one. 

So unless you have a legal copy of Warcraft2 (original DOS Version
required, won't work with the battle.net edition) Wargus will be pretty
useless to you, since it doesn't come with any graphics or sounds
itself.

Since Wargus uses a different engine, not all things will work 100% the
same as they did in the original Warcraft2. If you want the original
unchanged Warcraft2 experience, you will still have to play the
original.

WWW: http://wargus.sourceforge.net

- Travis Poppe
tlp@liquidx.org

Fix: NOTE: The games/stratagus port MUST BE COMMITTED before this port is
committed, as for wargus depends on it.
--snip--
Comment 1 Travis Poppe 2004-07-03 22:02:50 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."
Comment 2 Michael Nottebrock freebsd_committer freebsd_triage 2004-07-04 06:31:03 UTC
State Changed
From-To: open->closed

Committed, thanks!