[PC-BSD Commits] r13140 - in pbi/modules/games/searchandrescue: . resources/bin xdg-desktop xdg-menu

svn at pcbsd.org svn at pcbsd.org
Wed Oct 5 06:19:56 PDT 2011


Author: kenmoore
Date: 2011-10-05 06:19:56 -0700 (Wed, 05 Oct 2011)
New Revision: 13140

Modified:
   pbi/modules/games/searchandrescue/pbi.conf
   pbi/modules/games/searchandrescue/resources/bin/searchandrescue.sh
   pbi/modules/games/searchandrescue/xdg-desktop/SearchAndRescue.desktop
   pbi/modules/games/searchandrescue/xdg-menu/SearchAndRescue.desktop
Log:
Fix the wrapper script and desktop/menu icons for searchandrescue and rebuild


Modified: pbi/modules/games/searchandrescue/pbi.conf
===================================================================
--- pbi/modules/games/searchandrescue/pbi.conf	2011-10-05 13:16:36 UTC (rev 13139)
+++ pbi/modules/games/searchandrescue/pbi.conf	2011-10-05 13:19:56 UTC (rev 13140)
@@ -25,6 +25,6 @@
 PBI_MKPORTBEFORE=""
 PBI_MKPORTAFTER="games/searchandrescue-data"
 
-PBI_BUILDKEY="02"; export PBI_BUILDKEY
+PBI_BUILDKEY="03"; export PBI_BUILDKEY
  
 export PBI_PROGNAME PBI_PROGWEB PBI_PROGAUTHOR PBI_PROGICON PBI_MAKEPORT PBI_MKPORTBEFORE PBI_MKPORTAFTER

Modified: pbi/modules/games/searchandrescue/resources/bin/searchandrescue.sh
===================================================================
--- pbi/modules/games/searchandrescue/resources/bin/searchandrescue.sh	2011-10-05 13:16:36 UTC (rev 13139)
+++ pbi/modules/games/searchandrescue/resources/bin/searchandrescue.sh	2011-10-05 13:19:56 UTC (rev 13140)
@@ -2,8 +2,9 @@
 
 PROGDIR=CHANGEME
 
-#Set the data directory
+#Set the alternate data directory
 SEARCHANDRESCUE_DATA="${PROGDIR}/share/searchandrescue"
+export SEARCHANDRESCUE_DATA
 
 #Run the program
-./${PROGDIR}/.sbin/SearchAndRescue $@
+SearchAndRescue $@

Modified: pbi/modules/games/searchandrescue/xdg-desktop/SearchAndRescue.desktop
===================================================================
--- pbi/modules/games/searchandrescue/xdg-desktop/SearchAndRescue.desktop	2011-10-05 13:16:36 UTC (rev 13139)
+++ pbi/modules/games/searchandrescue/xdg-desktop/SearchAndRescue.desktop	2011-10-05 13:19:56 UTC (rev 13140)
@@ -4,7 +4,7 @@
 Type=Application
 Name=Search and Rescue
 GenericName=Search and Rescue
-Exec=%%PBI_EXEDIR%%/SearchAndRescue
+Exec=%%PBI_EXEDIR%%/searchandrescue.sh
 Path=%%PBI_APPDIR%%
 Icon=%%PBI_APPDIR%%/sar_icon.png 
 StartupNotify=true

Modified: pbi/modules/games/searchandrescue/xdg-menu/SearchAndRescue.desktop
===================================================================
--- pbi/modules/games/searchandrescue/xdg-menu/SearchAndRescue.desktop	2011-10-05 13:16:36 UTC (rev 13139)
+++ pbi/modules/games/searchandrescue/xdg-menu/SearchAndRescue.desktop	2011-10-05 13:19:56 UTC (rev 13140)
@@ -4,7 +4,7 @@
 Type=Application
 Name=Search and Rescue
 GenericName=Search and Rescue
-Exec=%%PBI_EXEDIR%%/SearchAndRescue
+Exec=%%PBI_EXEDIR%%/searchandrescue.sh
 Path=%%PBI_APPDIR%%
 Icon=%%PBI_APPDIR%%/sar_icon.png 
 StartupNotify=true



More information about the Commits mailing list