#%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
#
