freebsd-ports/cad/varkon/files/patch--com+english+varkon
Pav Lucistnik c46e01a90a - Update to 1.19C
PR:		ports/123026
Submitted by:	Pedro F. Giffuni <giffunip@tutopia.com>
2008-04-25 14:13:50 +00:00

59 lines
1.8 KiB
Plaintext

--- ../com/english/varkon.orig 2008-03-07 18:27:29.000000000 -0500
+++ ../com/english/varkon 2008-04-23 13:59:24.000000000 -0500
@@ -16,10 +16,10 @@
# Root directory for VARKON installation.
# Alternative 1, relative path.
-VARKON_ROOT=`(cd $(dirname $0); cd ..; cd ..; pwd)`
+#VARKON_ROOT=`(cd $(dirname $0); cd ..; cd ..; pwd)`
# Alternative 2, explicit path.
-# VARKON_ROOT=/home/username/varkon/varkon_2.Xx
+VARKON_ROOT=%%VARKON_PREFIX%%
export VARKON_ROOT
# Module library path (*.MBO)
@@ -44,7 +44,7 @@
export VARKON_ERM
# The VARKON documentation (*.htm)
-VARKON_DOC=$VARKON_ROOT/man
+VARKON_DOC=%%DOCSDIR%%
export VARKON_DOC
# Temporary files
@@ -53,7 +53,7 @@
# directory should usually reside on the local machine
# 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
@@ -77,7 +77,7 @@
export VARKON_TOL
# Standard resources for X-Windows
-VARKON_INI=$VARKON_ROOT/cnf/ini/english
+VARKON_INI=$VARKON_ROOT/cnf/ini
export VARKON_INI
# PATH for executables (xvarkon, mbsc and plotterdrivers)
@@ -96,7 +96,7 @@
# if you want to. Don't edit the standard ini-file included
# in the distribution or you will have to do it all
# over again when updating the system.
-$VARKON_BIN/xvarkon -GLOBAL -i$VARKON_INI/linux
+$VARKON_BIN/xvarkon -GLOBAL -i$VARKON_INI/freebsd
# With an inifile of your own it would look something
# like the following:
@@ -114,4 +114,4 @@
#
# If you want to specify a default job directory use the -jd
# option on the command line. Here is an example:
-# $VARKON_BIN/xvarkon -GLOBAL -jd /home/my_directory/my_varkon_jobs
\ No newline at end of file
+# $VARKON_BIN/xvarkon -GLOBAL -jd /home/my_directory/my_varkon_jobs