aboutsummaryrefslogtreecommitdiff
path: root/multimedia/linux-divxplayer/files
diff options
context:
space:
mode:
authorMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2002-05-20 04:26:21 +0000
committerMario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>2002-05-20 04:26:21 +0000
commit2892497d76c783addf63d0c14f6d0e78e419c789 (patch)
tree1848d20cee8f46179a51b6623b3b0d4680c0033e /multimedia/linux-divxplayer/files
parent76e6dfd6ea0564aad816609ac26b9345c481175e (diff)
o New port divxplayer version 2.0 alpha: DivX(TM) Video Player for
Linux from DivX.com o It is still alpha material so probably does not work for most. PKGMESSAGE warns about that
Notes
Notes: svn path=/head/; revision=59506
Diffstat (limited to 'multimedia/linux-divxplayer/files')
-rw-r--r--multimedia/linux-divxplayer/files/wrapper.sh14
1 files changed, 14 insertions, 0 deletions
diff --git a/multimedia/linux-divxplayer/files/wrapper.sh b/multimedia/linux-divxplayer/files/wrapper.sh
new file mode 100644
index 000000000000..5b56eef46a6b
--- /dev/null
+++ b/multimedia/linux-divxplayer/files/wrapper.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+PROGRAM="${0}"
+DATADIR="%%DATADIR%%"
+DIVX_SKIN_DIR=${DATADIR}/Skins
+
+export DIVX_SKIN_DIR
+
+if [ -f ~/.divxPlayer/DivXPlayer.dbf ]
+then
+ rm -f ~/.divxPlayer/DivXPlayer.dbf
+fi
+
+exec ${PROGRAM}.bin ${*}