summaryrefslogtreecommitdiffstats
path: root/www/galeon2/files/galeon
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2004-10-04 09:25:29 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2004-10-04 09:25:29 +0800
commit7b56c71c6f138686c45045838839c2946c54f6c6 (patch)
treede240dca4b3690d66651129f18dfd06a98a88483 /www/galeon2/files/galeon
parent1cc16071a8c3d923d7c88d9be40341f0930dec85 (diff)
downloadmarcuscom-ports-7b56c71c6f138686c45045838839c2946c54f6c6.tar
marcuscom-ports-7b56c71c6f138686c45045838839c2946c54f6c6.tar.gz
marcuscom-ports-7b56c71c6f138686c45045838839c2946c54f6c6.tar.bz2
marcuscom-ports-7b56c71c6f138686c45045838839c2946c54f6c6.tar.lz
marcuscom-ports-7b56c71c6f138686c45045838839c2946c54f6c6.tar.xz
marcuscom-ports-7b56c71c6f138686c45045838839c2946c54f6c6.tar.zst
marcuscom-ports-7b56c71c6f138686c45045838839c2946c54f6c6.zip
Add galeon2, and fix build with mozilla-1.7.3.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@2925 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'www/galeon2/files/galeon')
-rw-r--r--www/galeon2/files/galeon27
1 files changed, 27 insertions, 0 deletions
diff --git a/www/galeon2/files/galeon b/www/galeon2/files/galeon
new file mode 100644
index 000000000..4b824adf0
--- /dev/null
+++ b/www/galeon2/files/galeon
@@ -0,0 +1,27 @@
+#!/bin/sh
+
+dist_bin=`dirname $0`
+
+MOZILLA_HOME=%%X11BASE%%/lib/%%MOZILLA%%
+
+if [ -z "$MOZ_PLUGIN_PATH" ]; then
+ MOZ_PLUGIN_PATH=%%PREFIX%%/lib/browser_plugins
+ export MOZ_PLUGIN_PATH
+fi
+
+if [ -n "$LD_LIBRARY_PATH" ]; then
+ LD_LIBRARY_PATH=$MOZILLA_HOME:$LD_LIBRARY_PATH
+else
+ LD_LIBRARY_PATH=$MOZILLA_HOME
+fi
+export LD_LIBRARY_PATH
+
+MOZILLA_FIVE_HOME=$MOZILLA_HOME
+export MOZILLA_FIVE_HOME
+
+if [ -f %%LOCALBASE%%/lib/libflashplayer.so.1 ]; then
+ LD_PRELOAD=%%LOCALBASE%%/lib/libflashplayer.so.1
+ export LD_PRELOAD
+fi
+
+exec "%%PREFIX%%/bin/galeon-bin" "$@"