[PC-BSD Commits] r3170 - in pbibuild/modules/torcs: . overlay-dir
svn at pcbsd.org
svn at pcbsd.org
Sat Jan 3 15:24:26 PST 2009
Author: gonzalo
Date: 2009-01-03 15:24:25 -0800 (Sat, 03 Jan 2009)
New Revision: 3170
Modified:
pbibuild/modules/torcs/overlay-dir/PBI.SetupScript.sh
pbibuild/modules/torcs/pbi.conf
Log:
sed commands needed modified so now should work fine
Modified: pbibuild/modules/torcs/overlay-dir/PBI.SetupScript.sh
===================================================================
--- pbibuild/modules/torcs/overlay-dir/PBI.SetupScript.sh 2009-01-02 20:30:45 UTC (rev 3169)
+++ pbibuild/modules/torcs/overlay-dir/PBI.SetupScript.sh 2009-01-03 23:24:25 UTC (rev 3170)
@@ -14,26 +14,18 @@
# 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/accc /usr/local/bin/accc
-#ln -s /Programs/${PROGDIR}/.sbin/nfs2ac /usr/local/bin/nfs2ac
-#ln -s /Programs/${PROGDIR}/.sbin/nfsperf /usr/local/bin/nfsperf
-#ln -s /Programs/${PROGDIR}/.sbin/texmapper /usr/local/bin/texmapper
-#ln -s /Programs/${PROGDIR}/.sbin/torcs /usr/local/bin/torcs
-#ln -s /Programs/${PROGDIR}/.sbin/trackgen /usr/local/bin/trackgen
-#ln -s /Programs/${PROGDIR}/lib/torcs /usr/local/lib/torcs
-#ln -s /Programs/${PROGDIR}/share/doc/torcs /usr/local/share/doc/torcs
rm -fR /Programs/${PROGDIR}/bin/accc-bin
rm -fR /Programs/${PROGDIR}/bin/nfs2ac-bin
rm -fR /Programs/${PROGDIR}/bin/nfsperf-bin
rm -fR /Programs/${PROGDIR}/bin/texmapper-bin
rm -fR /Programs/${PROGDIR}/bin/torcs-bin
rm -fR /Programs/${PROGDIR}/bin/torcs-bin
-sed 's:prefix=/usr/local:prefix=/Programs/${PROGDIR}:g' /Programs/${PROGDIR}/bin/accc > tempfile && mv -- tempfile /Programs/${PROGDIR}/bin/accc
-sed 's:prefix=/usr/local:prefix=/Programs/${PROGDIR}:g' /Programs/${PROGDIR}/bin/nfs2ac > tempfile && mv -- tempfile /Programs/${PROGDIR}/bin/nfs2ac
-sed 's:prefix=/usr/local:prefix=/Programs/${PROGDIR}:g' /Programs/${PROGDIR}/bin/nfsperf > tempfile && mv -- tempfile /Programs/${PROGDIR}/bin/nfsperf
+sed -e '20,30s:prefix=/usr/local:prefix=/Programs/${PROGDIR}:g' /Programs/${PROGDIR}/bin/accc > tempfile && mv -- tempfile /Programs/${PROGDIR}/bin/accc
+sed -e '20,30s:prefix=/usr/local:prefix=/Programs/${PROGDIR}:g' /Programs/${PROGDIR}/bin/nfs2ac > tempfile && mv -- tempfile /Programs/${PROGDIR}/bin/nfs2ac
+sed -e '20,30s:prefix=/usr/local:prefix=/Programs/${PROGDIR}:g' /Programs/${PROGDIR}/bin/nfsperf > tempfile && mv -- tempfile /Programs/${PROGDIR}/bin/nfsperf
sed 's:prefix=/usr/local:prefix=/Programs/${PROGDIR}:g' /Programs/${PROGDIR}/bin/texmapper > tempfile && mv -- tempfile /Programs/${PROGDIR}/bin/texmapper
-sed 's:prefix=/usr/local:prefix=/Programs/${PROGDIR}:g' /Programs/${PROGDIR}/bin/torcs > tempfile && mv -- tempfile /Programs/${PROGDIR}/bin/torcs
-sed 's:prefix=/usr/local:prefix=/Programs/${PROGDIR}:g' /Programs/${PROGDIR}/bin/trackgen > tempfile && mv -- tempfile /Programs/${PROGDIR}/bin/trackgen
+sed -e '20,30s:prefix=/usr/local:prefix=/Programs/${PROGDIR}:g' /Programs/${PROGDIR}/bin/torcs > tempfile && mv -- tempfile /Programs/${PROGDIR}/bin/torcs
+sed -e '20,30s:prefix=/usr/local:prefix=/Programs/${PROGDIR}:g' /Programs/${PROGDIR}/bin/trackgen > tempfile && mv -- tempfile /Programs/${PROGDIR}/bin/trackgen
chmod +x /Programs/${PROGDIR}/bin/accc
chmod +x /Programs/${PROGDIR}/bin/nfs2ac
chmod +x /Programs/${PROGDIR}/bin/nfsperf
@@ -41,11 +33,4 @@
chmod +x /Programs/${PROGDIR}/bin/torcs
chmod +x /Programs/${PROGDIR}/bin/trackgen
ln -s /Programs/${PROGDIR}/autolibs /Programs/${PROGDIR}/lib
-# if [ -e "/usr/local/share/games" ]
-# then
-# ln -s ln -s /Programs/${PROGDIR}/share/games/torcs /usr/local/share/games/torcs
-# else
-# mkdir /usr/local/share/games
-# ln -s ln -s /Programs/${PROGDIR}/share/games/torcs /usr/local/share/games/torcs
-# fi
echo "LAUNCHCLOSE: /usr/local/bin/torcs"
Modified: pbibuild/modules/torcs/pbi.conf
===================================================================
--- pbibuild/modules/torcs/pbi.conf 2009-01-02 20:30:45 UTC (rev 3169)
+++ pbibuild/modules/torcs/pbi.conf 2009-01-03 23:24:25 UTC (rev 3170)
@@ -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="09"
+BUILDKEY="10"
export PBIPORT MAKEOPTS PROGNAME PROGWEB PROGAUTHOR OTHERPORT PROGICON PROGLIBS PBIUPDATE BUILDKEY
More information about the Commits
mailing list