1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/www/galeon2/files/patch-ab
Maxim Sobolev 51d897fca9 Add galeon - a GNOME Web browser based on gecko (the mozilla rendering engine).
It allows to use state-of-the-art HTML rendering engine without much overhead
imposed my Mozilla itself.

Obtained from:	http://www.gnome.org/
2000-08-01 09:05:58 +00:00

24 lines
817 B
Plaintext

--- src/galeon.orig Tue Aug 1 11:22:03 2000
+++ src/galeon Tue Aug 1 11:22:14 2000
@@ -1,14 +1,14 @@
-#!/bin/bash
+#!/bin/sh
-dist_bin=`dirname $0`
+dist_bin=%%PREFIX%%/bin
if test -n "$MOZILLA_FIVE_HOME"; then
export LD_LIBRARY_PATH=$MOZILLA_FIVE_HOME:$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