summaryrefslogtreecommitdiff
path: root/cad/varkon/files/patch--com+english+varkon
diff options
context:
space:
mode:
Diffstat (limited to 'cad/varkon/files/patch--com+english+varkon')
-rw-r--r--cad/varkon/files/patch--com+english+varkon80
1 files changed, 80 insertions, 0 deletions
diff --git a/cad/varkon/files/patch--com+english+varkon b/cad/varkon/files/patch--com+english+varkon
new file mode 100644
index 000000000000..51cb955c2d00
--- /dev/null
+++ b/cad/varkon/files/patch--com+english+varkon
@@ -0,0 +1,80 @@
+--- ../com/english/varkon.orig Thu Mar 27 06:36:43 2003
++++ ../com/english/varkon Tue May 13 18:49:31 2003
+@@ -13,12 +13,12 @@
+ # Root directory for VARKON installation. Change this
+ # line to point to the right location.
+
+-VARKON_ROOT=/usr/varkon/varkon_1.17D
++VARKON_ROOT=%%VARKON_PREFIX%%
+ export VARKON_ROOT
+
+ # Standard menufiles (*.MDF, *.INC)
+
+-VARKON_MDF=$VARKON_ROOT/mdf/english
++VARKON_MDF=$VARKON_ROOT/mdf
+ export VARKON_MDF
+
+ # Project files (*.PID)
+@@ -27,7 +27,7 @@
+ # versions of VARKON to persist in a common place.
+ # All users need write access to this directory
+
+-VARKON_PID=$VARKON_ROOT/pid
++VARKON_PID=$HOME/pid
+ export VARKON_PID
+
+ # Errormessages (*.ERM)
+@@ -37,7 +37,7 @@
+
+ # The VARKON documentation (*.htm)
+
+-VARKON_DOC=$VARKON_ROOT/man
++VARKON_DOC=%%DOCSDIR%%/man
+ export VARKON_DOC
+
+ # System module library (*.MBO)
+@@ -52,7 +52,7 @@
+ # so you may set it up differently for different users.
+ # All users need write access to this directory
+
+-VARKON_TMP=$VARKON_ROOT/tmp
++VARKON_TMP=/tmp
+ export VARKON_TMP
+
+ # Fonts for graphical text
+@@ -81,7 +81,7 @@
+
+ # Standard resources for X-Windows
+
+-VARKON_INI=$VARKON_ROOT/cnf/ini/english
++VARKON_INI=$VARKON_ROOT/cnf/ini
+ export VARKON_INI
+
+ # Default root for VARKON applications
+@@ -91,7 +91,7 @@
+ # not interfere with old jobs.
+ # All users need write access to this directory
+
+-VARKON_PRD=$VARKON_ROOT/app
++VARKON_PRD=$HOME/app
+ export VARKON_PRD
+
+ # PATH for executables (xvarkon, mbsc, plotterdrivers)
+@@ -111,14 +111,14 @@
+ # over again when updating the system.
+
+ xvarkon $1 $2 \
+--i$VARKON_INI/linux
++-i$VARKON_INI/freebsd
+
+ # With an inifile of your own it would look something
+ # like the following:
+
+ # xvarkon $1 $2 \
+-# -i$VARKON_INI/linux -i$HOME/cnf/ini/english/my_own_inifile
++# -i$VARKON_INI/freebsd -i$HOME/cnf/ini/english/my_own_inifile
+
+ # If you want to run the system in pure drafting mode, add
+ # "-r" to the command line.
+-# xvarkon -r $1 $2 -i$VARKON_INI/linux
++# xvarkon -r $1 $2 -i$VARKON_INI/freebsd