[PC-BSD Commits] r3212 - in pbibuild/modules/btanks: . overlay-dir

svn at pcbsd.org svn at pcbsd.org
Fri Jan 9 07:40:08 PST 2009


Author: kris
Date: 2009-01-09 07:40:08 -0800 (Fri, 09 Jan 2009)
New Revision: 3212

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

Updated btanks to be 100% self-contained. The port is still broken though, I e-mailed the maintainer and filed a PR, so hopefully it'll get fixed here soon. 



Modified: pbibuild/modules/btanks/overlay-dir/PBI.RemoveScript.sh
===================================================================
--- pbibuild/modules/btanks/overlay-dir/PBI.RemoveScript.sh	2009-01-09 15:26:07 UTC (rev 3211)
+++ pbibuild/modules/btanks/overlay-dir/PBI.RemoveScript.sh	2009-01-09 15:40:08 UTC (rev 3212)
@@ -6,13 +6,7 @@
 # ${2} is the username of person performing the deletion.
 # TIP: 'kdialog' should be used for user interaction. 
 #########################################
-rm -fR /usr/local/bin/bt
-rm -fR /usr/local/lib/libbt.so
-rm -fR /usr/local/lib/libmrt.so
-rm -fR /usr/local/lib/libsdlx.so
-rm -fR /usr/local/share/applications/bt.desktop
-rm -fR /usr/local/share/btanks
-rm -fR /usr/local/share/doc/btanks
+
 if [ ! -z "$DISPLAY" ]
 then
  # Ask if we want to remove the user profiles

Modified: pbibuild/modules/btanks/overlay-dir/PBI.SetupScript.sh
===================================================================
--- pbibuild/modules/btanks/overlay-dir/PBI.SetupScript.sh	2009-01-09 15:26:07 UTC (rev 3211)
+++ pbibuild/modules/btanks/overlay-dir/PBI.SetupScript.sh	2009-01-09 15:40:08 UTC (rev 3212)
@@ -14,11 +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/bt /usr/local/bin/bt
-ln -s /Programs/${PROGDIR}/lib/libbt.so /usr/local/lib/libbt.so
-ln -s /Programs/${PROGDIR}/lib/libmrt.so /usr/local/lib/libmrt.so
-ln -s /Programs/${PROGDIR}/lib/libsdlx.so /usr/local/lib/libsdlx.so
-ln -s /Programs/${PROGDIR}/share/applications/bt.desktop /usr/local/share/applications/bt.desktop
-ln -s /Programs/${PROGDIR}/share/btanks /usr/local/share/btanks
-ln -s /Programs/${PROGDIR}/share/doc/btanks /usr/local/share/doc/btanks
-echo "LAUNCHCLOSE: /usr/local/bin/bt"
+
+# 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/bt"

Modified: pbibuild/modules/btanks/pbi.conf
===================================================================
--- pbibuild/modules/btanks/pbi.conf	2009-01-09 15:26:07 UTC (rev 3211)
+++ pbibuild/modules/btanks/pbi.conf	2009-01-09 15:40:08 UTC (rev 3212)
@@ -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