[PC-BSD Commits] r3209 - in pbibuild/modules/brutalchess: . overlay-dir

svn at pcbsd.org svn at pcbsd.org
Thu Jan 8 20:06:58 PST 2009


Author: kris
Date: 2009-01-08 20:06:58 -0800 (Thu, 08 Jan 2009)
New Revision: 3209

Modified:
   pbibuild/modules/brutalchess/copy-files
   pbibuild/modules/brutalchess/overlay-dir/PBI.RemoveScript.sh
   pbibuild/modules/brutalchess/overlay-dir/PBI.SetupScript.sh
   pbibuild/modules/brutalchess/pbi.conf
Log:

Updated brutalchess to be 100% self-contained now, works fine!



Modified: pbibuild/modules/brutalchess/copy-files
===================================================================
--- pbibuild/modules/brutalchess/copy-files	2009-01-08 22:51:46 UTC (rev 3208)
+++ pbibuild/modules/brutalchess/copy-files	2009-01-09 04:06:58 UTC (rev 3209)
@@ -1,4 +1,4 @@
 /usr/local/bin/brutalchess bin/
 /usr/local/libexec/md3view libexec/
 /usr/local/libexec/objview libexec/
-/usr/local/share/brutalchess share/
\ No newline at end of file
+/usr/local/share/brutal* share/

Modified: pbibuild/modules/brutalchess/overlay-dir/PBI.RemoveScript.sh
===================================================================
--- pbibuild/modules/brutalchess/overlay-dir/PBI.RemoveScript.sh	2009-01-08 22:51:46 UTC (rev 3208)
+++ pbibuild/modules/brutalchess/overlay-dir/PBI.RemoveScript.sh	2009-01-09 04:06:58 UTC (rev 3209)
@@ -6,10 +6,7 @@
 # ${2} is the username of person performing the deletion.
 # TIP: 'kdialog' should be used for user interaction. 
 #########################################
-rm -fR /usr/local/bin/brutalchess
-rm -fR /usr/local/libexec/md3view
-rm -fR /usr/local/libexec/objview
-rm -fR /usr/local/share/brutalchess
+
 if [ ! -z "$DISPLAY" ]
 then
  # Ask if we want to remove the user profiles

Modified: pbibuild/modules/brutalchess/overlay-dir/PBI.SetupScript.sh
===================================================================
--- pbibuild/modules/brutalchess/overlay-dir/PBI.SetupScript.sh	2009-01-08 22:51:46 UTC (rev 3208)
+++ pbibuild/modules/brutalchess/overlay-dir/PBI.SetupScript.sh	2009-01-09 04:06:58 UTC (rev 3209)
@@ -14,8 +14,14 @@
 # echo 'SETSTEPS: <num>' # Set the current progress of the progress bar
 # echo 'MSG: <text>' # Display this text above progress bar
 #########################################
-ln -s /Programs/${PROGDIR}/.sbin/brutalchess /usr/local/bin/brutalchess
-ln -s /Programs/${PROGDIR}/libexec/md3view /usr/local/libexec/md3view
-ln -s /Programs/${PROGDIR}/libexec/objview /usr/local/libexec/objview
-ln -s /Programs/${PROGDIR}/share/brutalchess /usr/local/share/brutalchess
-echo "LAUNCHCLOSE: /usr/local/bin/brutalchess"
+
+# Check which font config we want to link to
+if [ -d "/PCBSD/local/etc/fonts" ]
+then
+  ln -s /PCBSD/local/etc/fonts /Programs/${PROGDIR}/etc/fonts
+else
+  ln -s /usr/local/etc/fonts /Programs/${PROGDIR}/etc/fonts
+fi
+
+
+echo "LAUNCHCLOSE: /Programs/bin/brutalchess"

Modified: pbibuild/modules/brutalchess/pbi.conf
===================================================================
--- pbibuild/modules/brutalchess/pbi.conf	2009-01-08 22:51:46 UTC (rev 3208)
+++ pbibuild/modules/brutalchess/pbi.conf	2009-01-09 04:06:58 UTC (rev 3209)
@@ -32,6 +32,6 @@
 
 # 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="01"
+BUILDKEY="02"
 
 export PBIPORT MAKEOPTS PROGNAME PROGWEB PROGAUTHOR OTHERPORT PROGICON PROGLIBS PBIUPDATE BUILDKEY



More information about the Commits mailing list