mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-31 21:57:12 +00:00
24 lines
838 B
Plaintext
24 lines
838 B
Plaintext
--- src/galeon.orig Tue Sep 26 19:51:25 2000
|
|
+++ src/galeon Tue Oct 3 10:12:08 2000
|
|
@@ -1,15 +1,15 @@
|
|
#!/bin/sh
|
|
|
|
-dist_bin=`dirname $0`
|
|
+dist_bin=%%PREFIX%%/bin
|
|
|
|
if test -n "$MOZILLA_FIVE_HOME"; then
|
|
LD_LIBRARY_PATH=$MOZILLA_FIVE_HOME:$LD_LIBRARY_PATH
|
|
export LD_LIBRARY_PATH
|
|
exec $dist_bin/galeon-bin $@
|
|
-elif [ -f /usr/local/mozilla/libgtkembedmoz.so ]; then
|
|
- MOZILLA_HOME=/usr/local/mozilla
|
|
-elif [ -f /usr/lib/mozilla/libgtkembedmoz.so ]; then
|
|
- MOZILLA_HOME=/usr/lib/mozilla
|
|
+elif [ -f %%LOCALBASE%%/lib/%%MOZILLA%%/libgtkembedmoz.so ]; then
|
|
+ MOZILLA_HOME=%%LOCALBASE%%/lib/%%MOZILLA%%
|
|
+elif [ -f %%X11BASE%%/lib/%%MOZILLA%%/libgtkembedmoz.so ]; then
|
|
+ MOZILLA_HOME=%%X11BASE%%/lib/%%MOZILLA%%
|
|
else
|
|
echo "Cannot find mozilla installation directory. Please set MOZILLA_FIVE_HOME to your mozilla directory"
|
|
exit
|