[PC-BSD Commits] r3270 - in pbibuild/modules/dosbox: . overlay-dir
svn at pcbsd.org
svn at pcbsd.org
Thu Jan 15 12:18:07 PST 2009
Author: kris
Date: 2009-01-15 12:18:07 -0800 (Thu, 15 Jan 2009)
New Revision: 3270
Modified:
pbibuild/modules/dosbox/overlay-dir/PBI.FirstRun.sh
pbibuild/modules/dosbox/overlay-dir/PBI.RemoveScript.sh
pbibuild/modules/dosbox/overlay-dir/PBI.SetupScript.sh
pbibuild/modules/dosbox/pbi.conf
Log:
Updated dosbox, now 100% self-contained!
Modified: pbibuild/modules/dosbox/overlay-dir/PBI.FirstRun.sh
===================================================================
--- pbibuild/modules/dosbox/overlay-dir/PBI.FirstRun.sh 2009-01-15 16:03:43 UTC (rev 3269)
+++ pbibuild/modules/dosbox/overlay-dir/PBI.FirstRun.sh 2009-01-15 20:18:07 UTC (rev 3270)
@@ -15,34 +15,3 @@
# echo 'SETSTEPS: <num>' # Set the current progress of the progress bar
# echo 'MSG: <text>' # Display this text above progress bar
#########################################
-
-
-if [ -e "/usr/local/bin/dosbox" ]
-then
- # Looks like FF is installed, ask if they want to remove the old one
- ls -al /usr/local/bin/dosbox | grep Programs 2>/dev/null
- if [ "$?" = "0" ]
- then
- kdialog --yesno "DOSBox is already installed, do you wish to uninstall it?"
- if [ "$?" = "0" ]
- then
- FF="`ls -al /usr/local/bin/dosbox | cut -d '>' -f 2 | cut -d "/" -f 3`"
- echo $FF | grep DOSBox 2>/dev/null
- if [ "$?" = "0" ]
- then
- PBIdelete -remove ${FF}
- else
- kdialog --sorry "DOSBox could not be automatically removed... Please remove it in Add / Remove Programs and try again."
- return 2
- fi
- else
- kdialog --sorry "DOSBox is already installed, it must be uninstalled before loading this PBI"
- return 2
- fi
-
- else
- # Could not find a link to PBI folder
- kdialog --sorry "DOSBox is already installed, it must be uninstalled before loading this PBI"
- return 2
- fi
-fi
Modified: pbibuild/modules/dosbox/overlay-dir/PBI.RemoveScript.sh
===================================================================
--- pbibuild/modules/dosbox/overlay-dir/PBI.RemoveScript.sh 2009-01-15 16:03:43 UTC (rev 3269)
+++ pbibuild/modules/dosbox/overlay-dir/PBI.RemoveScript.sh 2009-01-15 20:18:07 UTC (rev 3270)
@@ -6,6 +6,3 @@
# ${2} is the username of person performing the deletion.
# TIP: 'kdialog' should be used for user interaction.
#########################################
-rm -fR /usr/local/bin/dosbox
-rm -fR /usr/local/man/man1/dosbox.1.gz
-rm -fR /usr/local/share/doc/dosbox
Modified: pbibuild/modules/dosbox/overlay-dir/PBI.SetupScript.sh
===================================================================
--- pbibuild/modules/dosbox/overlay-dir/PBI.SetupScript.sh 2009-01-15 16:03:43 UTC (rev 3269)
+++ pbibuild/modules/dosbox/overlay-dir/PBI.SetupScript.sh 2009-01-15 20:18:07 UTC (rev 3270)
@@ -14,8 +14,13 @@
# 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/dosbox /usr/local/bin/dosbox
-ln -s /Programs/${PROGDIR}/man/man1/dosbox.1.gz /usr/local/man/man1/dosbox.1.gz
-ln -s /Programs/${PROGDIR}/share/doc/dosbox /usr/local/share/doc/dosbox
-echo "LAUNCHCLOSE: /usr/local/bin/dosbox"
+# 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/dosbox"
Modified: pbibuild/modules/dosbox/pbi.conf
===================================================================
--- pbibuild/modules/dosbox/pbi.conf 2009-01-15 16:03:43 UTC (rev 3269)
+++ pbibuild/modules/dosbox/pbi.conf 2009-01-15 20:18:07 UTC (rev 3270)
@@ -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="07"
+BUILDKEY="01"
export PBIPORT MAKEOPTS PROGNAME PROGWEB PROGAUTHOR OTHERPORT PROGICON PROGLIBS PBIUPDATE BUILDKEY
More information about the Commits
mailing list