source: trunk/gui/apps/rappture-csh.env.in @ 1425

Last change on this file since 1425 was 1411, checked in by gah, 15 years ago

Update rappture-csh.env.in to match rappture.env.in

File size: 2.4 KB
Line 
1#!/bin/csh -f
2# ----------------------------------------------------------------------
3#  RAPPTURE ENVIRONMENT
4#
5#  This is the main script that most people use to invoke the
6#  Rappture GUI.  It sets environment variables so that the Rappture
7#  GUI driver will work properly for the current installation.
8#
9# ======================================================================
10#  AUTHOR:  Michael McLennan, Purdue University
11#  Copyright (c) 2004-2008  Purdue Research Foundation
12#
13#  See the file "license.terms" for information on usage and
14#  redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES.
15# ======================================================================
16#
17
18# If you install Rappture elsewhere, edit the line below:
19set destdir=@prefix@
20
21set bindir=${destdir}/bin
22set libdir=${destdir}/lib
23
24set path = ( $bindir $path )
25
26if ( $?TCLLIBPATH ) then
27  setenv TCLLIBPATH "${libdir}/vtk $TCLLIBPATH"
28else
29  setenv TCLLIBPATH "${libdir}/vtk"
30endif
31
32if ( $?LD_LIBRARY_PATH ) then
33  setenv LD_LIBRARY_PATH "${libdir}:${libdir}/vtk-5.2:${libdir}/vtk:$LD_LIBRARY_PATH"
34else
35  setenv LD_LIBRARY_PATH "${libdir}:${libdir}/vtk-5.2:${libdir}/vtk"
36endif
37
38if ( $?DYLD_LIBRARY_PATH ) then
39  setenv DYLD_LIBRARY_PATH "${libdir}:${libdir}/vtk-5.2/${libdir}/vtk:$DYLD_LIBRARY_PATH"
40else
41  setenv DYLD_LIBRARY_PATH "${libdir}:${libdir}/vtk-5.2/${libdir}/vtk"
42endif
43
44if ( $?MATLABPATH ) then
45  setenv MATLABPATH "${libdir}/matlab:$MATLABPATH"
46else
47  setenv MATLABPATH "${libdir}/matlab"
48endif
49
50if ( $?OCTAVE_PATH ) then
51  setenv OCTAVE_PATH "${libdir}/octave:$OCTAVE_PATH"
52else
53  setenv OCTAVE_PATH "${libdir}/octave"
54endif
55
56if ( $?OCTAVE_LOADPATH ) then
57  setenv OCTAVE_LOADPATH "${libdir}/octave:$OCTAVE_LOADPATH"
58else
59  setenv OCTAVE_LOADPATH "${libdir}/octave"
60endif
61
62if ( $?PERL5LIB ) then
63  setenv PERL5LIB "${libdir}/perl:$PERL5LIB"
64else
65  setenv PERL5LIB "${libdir}/perl"
66endif
67
68if ( $?RUBYLIB ) then
69  setenv RUBYLIB "${libdir}/ruby:$RUBYLIB"
70else
71  setenv RUBYLIB "${libdir}/ruby"
72endif
73
74if ( $?TCL_LIBRARY ) then
75  setenv TCL_LIBRARY "${libdir}/tcl8.4:$TCL_LIBRARY"
76else
77  setenv TCL_LIBRARY "${libdir}/tcl8.4"
78endif
79
80if ( $?TK_LIBRARY ) then
81  setenv TK_LIBRARY "${libdir}/tk8.4:$TK_LIBRARY"
82else
83  setenv TK_LIBRARY "${libdir}/tk8.4"
84endif
85
86if ( $?PYTHONPATH ) then
87  setenv PYTHONPATH  "${libdir}/python2.5/site-packages:$PYTHONPATH"
88else
89  setenv PYTHONPATH  "${libdir}/python2.5/site-packages"
90endif
Note: See TracBrowser for help on using the repository browser.