summaryrefslogtreecommitdiff
path: root/academic/sage/profile.d
diff options
context:
space:
mode:
authorJack Maddox <jack@auburn.edu>2011-07-25 22:11:02 -0500
committerNiels Horn <niels.horn@slackbuilds.org>2011-08-11 20:28:34 -0300
commitc41e61e03cbd5a6f7ac523fe8641f08168b77efa (patch)
tree453370b4a75fca7b7601b88325931612459d31ac /academic/sage/profile.d
parent8a1a87a0bb75f609d3466d15faffa4733ae1ead4 (diff)
downloadslackbuilds-c41e61e03cbd5a6f7ac523fe8641f08168b77efa.tar.gz
academic/sage: Added (python based mathematics software)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'academic/sage/profile.d')
-rw-r--r--academic/sage/profile.d/sage.csh5
-rw-r--r--academic/sage/profile.d/sage.sh5
2 files changed, 10 insertions, 0 deletions
diff --git a/academic/sage/profile.d/sage.csh b/academic/sage/profile.d/sage.csh
new file mode 100644
index 0000000000..ea47f7cbd5
--- /dev/null
+++ b/academic/sage/profile.d/sage.csh
@@ -0,0 +1,5 @@
+#!/bin/csh
+# Add SAGE_ROOT path and MANPATH for Sage:
+setenv SAGE_ROOT SAGEROOT
+set path = ( $path ${SAGE_ROOT} )
+setenv MANPATH ${MANPATH}:${SAGE_ROOT}/local/man:${SAGE_ROOT}/local/share/man
diff --git a/academic/sage/profile.d/sage.sh b/academic/sage/profile.d/sage.sh
new file mode 100644
index 0000000000..4d4de1552f
--- /dev/null
+++ b/academic/sage/profile.d/sage.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+# Add SAGE_ROOT PATH and MANPATH for Sage:
+SAGE_ROOT=SAGEROOT
+PATH="$PATH:${SAGE_ROOT}"
+MANPATH="$MANPATH:${SAGE_ROOT}/local/man:${SAGE_ROOT}/local/share/man"