[PC-BSD Commits] r2664 - in pbibuild/modules/commandandconquer-GDI: . overlay-dir/bin

svn at pcbsd.org svn at pcbsd.org
Wed Aug 27 10:18:12 PDT 2008


Author: kris
Date: 2008-08-27 10:18:12 -0700 (Wed, 27 Aug 2008)
New Revision: 2664

Modified:
   pbibuild/modules/commandandconquer-GDI/build.sh
   pbibuild/modules/commandandconquer-GDI/overlay-dir/bin/gdi
   pbibuild/modules/commandandconquer-GDI/pbi.conf
Log:

Updated commandandconquer-GDI to use wine version automatically



Modified: pbibuild/modules/commandandconquer-GDI/build.sh
===================================================================
--- pbibuild/modules/commandandconquer-GDI/build.sh	2008-08-27 17:16:08 UTC (rev 2663)
+++ pbibuild/modules/commandandconquer-GDI/build.sh	2008-08-27 17:18:12 UTC (rev 2664)
@@ -10,7 +10,7 @@
 ##############################################################################
 
 # Save the right version number in the removepbi.sh script
-sed -e "s,CHANGEME,CommandandConquerGold2${PORTVER},g" ${PBIDIR}/bin/gdi > /tmp/gdi
+sed -e "s,CHANGEME,${PORTVER},g" ${PBIDIR}/bin/gdi > /tmp/gdi
 mv /tmp/gdi ${PBIDIR}/bin/gdi
 chmod 755 ${PBIDIR}/bin/gdi
 

Modified: pbibuild/modules/commandandconquer-GDI/overlay-dir/bin/gdi
===================================================================
--- pbibuild/modules/commandandconquer-GDI/overlay-dir/bin/gdi	2008-08-27 17:16:08 UTC (rev 2663)
+++ pbibuild/modules/commandandconquer-GDI/overlay-dir/bin/gdi	2008-08-27 17:18:12 UTC (rev 2664)
@@ -1,5 +1,6 @@
 #!/bin/sh
-PROGDIR="CommandandConquerGold20.9.58"
+VER="CHANGEME"
+PROGDIR="CommandandConquerGold2${VER}"
 cd
 export WINEPREFIX="/Programs/${PROGDIR}/GDI"
 /Programs/${PROGDIR}/bin/wine "/Programs/${PROGDIR}/GDI/drive_c/WESTWOOD/C&C95/C&C95.exe" "$@"

Modified: pbibuild/modules/commandandconquer-GDI/pbi.conf
===================================================================
--- pbibuild/modules/commandandconquer-GDI/pbi.conf	2008-08-27 17:16:08 UTC (rev 2663)
+++ pbibuild/modules/commandandconquer-GDI/pbi.conf	2008-08-27 17:18:12 UTC (rev 2664)
@@ -32,7 +32,7 @@
 
 # Build Key - Change this to anything else to trigger a rebuild 
 #           - The rebuild will take place even if port is still the same ver
-BUILDKEY="02"
+BUILDKEY="12"
 
 # Don't build this PBI on certian processors (i386 / amd64)
 ARCHIGNORE="amd64" ; export ARCHIGNORE



More information about the Commits mailing list