Files
modules/contrib/modulefiles/local
Kent Mein d081f55283 Added really old man pages, and a bunch of example things.
Still need to write some documentation for the contrib stuff and
update the man pages.
2013-03-04 07:42:13 -06:00

46 lines
1.0 KiB
Plaintext

#%Module######################################################################
##
## local Module
##
proc ModulesHelp { } {
puts stderr "\tThe local Module\n"
puts stderr "\tThis module adds PATHs and variables that allow you"
puts stderr "\taccess locally developed and public domain software."
}
set sys [uname sysname]
set os [uname release]
switch -glob $sys {
Linux* {
append-path PATH /usr/local/bin
}
}
append-path PATH /opt/local/bin
append-path MANPATH /opt/local/man
if { [file isdirectory /opt/csw ] } {
append-path PATH /opt/csw/bin
append-path MANPATH /opt/csw/man
append-path LD_LIBRARY_PATH /usr/sfw/lib
append-path LD_LIBRARY_PATH /opt/csw/lib
}
if { [file isdirectory /opt/local/AcroRead/bin ] } {
append-path PATH /opt/local/AcroRead/bin
}
if { [file isdirectory /opt/local/netpbm/bin ] } {
append-path PATH /opt/local/netpbm/bin
}
if { [file isdirectory /sw/bin ] } {
append-path PATH /sw/bin
append-path MANPATH /sw/man
}
#
# end of main switch statement
#