freebsd-ports/lang/Gofer/files/patch-scripts_gofer

23 lines
714 B
Text

--- ../scripts/gofer.orig Fri Jun 24 01:00:00 1994
+++ ../scripts/gofer Wed Jan 31 01:45:21 2001
@@ -9,10 +9,10 @@
# Edited by Jonathan Bowen, Oxford University, August 1993
# Location of gofer files - site specific
-ROOT=/usr/local/gofer
+ROOT=%%PREFIX%%/lib/Gofer
# first, the location of your prelude file:
-GOFER=${GOFER-$ROOT/lib/standard.prelude}
+GOFER=${GOFER-$ROOT/standard.prelude}
export GOFER
# next, command line argument settings. One example might be:
@@ -33,5 +33,5 @@
esac
# Finally, start the interpreter running:
-# exec /usr/local/lib/Gofer/gofer $GOFERARGS $*
-exec $ROOT/bin/Gofer $GOFERARGS $*
+# exec %%PREFIX%%/lib/Gofer/gofer $GOFERARGS $*
+exec $ROOT/gofer $GOFERARGS $*