[PC-BSD Commits] r2660 - in pbibuild/modules/winrar: . overlay-dir/bin
svn at pcbsd.org
svn at pcbsd.org
Wed Aug 27 10:08:34 PDT 2008
Author: kris
Date: 2008-08-27 10:08:34 -0700 (Wed, 27 Aug 2008)
New Revision: 2660
Modified:
pbibuild/modules/winrar/build.sh
pbibuild/modules/winrar/overlay-dir/bin/winrar
pbibuild/modules/winrar/overlay-dir/bin/winraropen
pbibuild/modules/winrar/pbi.conf
Log:
Updated winrar to also update the wineversion automatically
Modified: pbibuild/modules/winrar/build.sh
===================================================================
--- pbibuild/modules/winrar/build.sh 2008-08-27 17:05:29 UTC (rev 2659)
+++ pbibuild/modules/winrar/build.sh 2008-08-27 17:08:34 UTC (rev 2660)
@@ -9,7 +9,12 @@
# PORTVER = Version number of the port we used to build
##############################################################################
-# Save the right version number in the removepbi.sh script
-sed -e "s,CHANGEME,WinRAR${PORTVER},g" ${PBIDIR}/bin/winrar > /tmp/winrar
+# Save the right version number in the winfirefox3 script
+sed -e "s,CHANGEME,${PORTVER},g" ${PBIDIR}/bin/winrar > /tmp/winrar
mv /tmp/winrar ${PBIDIR}/bin/winrar
chmod 755 ${PBIDIR}/bin/winrar
+
+# Save the right version number in the winfirefox3 script
+sed -e "s,CHANGEME,${PORTVER},g" ${PBIDIR}/bin/winraropen > /tmp/winraropen
+mv /tmp/winraropen ${PBIDIR}/bin/winraropen
+chmod 755 ${PBIDIR}/bin/winraropen
Modified: pbibuild/modules/winrar/overlay-dir/bin/winrar
===================================================================
--- pbibuild/modules/winrar/overlay-dir/bin/winrar 2008-08-27 17:05:29 UTC (rev 2659)
+++ pbibuild/modules/winrar/overlay-dir/bin/winrar 2008-08-27 17:08:34 UTC (rev 2660)
@@ -1,5 +1,6 @@
#!/bin/sh
-PROGDIR="WinRAR0.9.61"
+VER="CHANGEME"
+PROGDIR="WinRAR${VER}"
cd
export WINEPREFIX="/Programs/${PROGDIR}/WINRAR"
/Programs/${PROGDIR}/bin/wine "/Programs/${PROGDIR}/WINRAR/drive_c/Program Files/WinRAR/WinRAR.exe" "$@"
Modified: pbibuild/modules/winrar/overlay-dir/bin/winraropen
===================================================================
--- pbibuild/modules/winrar/overlay-dir/bin/winraropen 2008-08-27 17:05:29 UTC (rev 2659)
+++ pbibuild/modules/winrar/overlay-dir/bin/winraropen 2008-08-27 17:08:34 UTC (rev 2660)
@@ -1,2 +1,6 @@
#!/bin/sh
-winrar "`/Programs/WinRAR0.9.61/bin/winepath -w %f`"
\ No newline at end of file
+##################################
+
+VER="CHANGEME"
+
+winrar "`/Programs/WinRAR${VER}/bin/winepath -w %f`"
Modified: pbibuild/modules/winrar/pbi.conf
===================================================================
--- pbibuild/modules/winrar/pbi.conf 2008-08-27 17:05:29 UTC (rev 2659)
+++ pbibuild/modules/winrar/pbi.conf 2008-08-27 17:08:34 UTC (rev 2660)
@@ -32,10 +32,10 @@
# 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="07"
+BUILDKEY="17"
# Don't build this PBI on certian processors (i386 / amd64)
ARCHIGNORE="amd64" ; export ARCHIGNORE
-export PBIPORT MAKEOPTS PROGNAME PROGWEB PROGAUTHOR OTHERPORT PROGICON PROGLIBS PBIUPDATE BUILDKEY
\ No newline at end of file
+export PBIPORT MAKEOPTS PROGNAME PROGWEB PROGAUTHOR OTHERPORT PROGICON PROGLIBS PBIUPDATE BUILDKEY
More information about the Commits
mailing list