From 2c92859540456b07fe5fc9a6868585cb161bfad0 Mon Sep 17 00:00:00 2001 From: Duncan Roe Date: Sat, 15 Sep 2018 17:50:08 +0100 Subject: academic/sage-bin: Added (python based mathematics software). Signed-off-by: David Spencer --- academic/sage-bin/profile.d/sage.csh | 5 +++++ academic/sage-bin/profile.d/sage.sh | 5 +++++ 2 files changed, 10 insertions(+) create mode 100644 academic/sage-bin/profile.d/sage.csh create mode 100644 academic/sage-bin/profile.d/sage.sh (limited to 'academic/sage-bin/profile.d') diff --git a/academic/sage-bin/profile.d/sage.csh b/academic/sage-bin/profile.d/sage.csh new file mode 100644 index 0000000000..280116580f --- /dev/null +++ b/academic/sage-bin/profile.d/sage.csh @@ -0,0 +1,5 @@ +#!/bin/csh +# Add SAGE_ROOT path and MANPATH for Sage: +setenv SAGE_ROOT /opt/SageMath +set path = ( $path ${SAGE_ROOT}/local/bin ) +setenv MANPATH ${MANPATH}:${SAGE_ROOT}/local/share/man diff --git a/academic/sage-bin/profile.d/sage.sh b/academic/sage-bin/profile.d/sage.sh new file mode 100644 index 0000000000..4ba39f4919 --- /dev/null +++ b/academic/sage-bin/profile.d/sage.sh @@ -0,0 +1,5 @@ +#!/bin/sh +# Add SAGE_ROOT PATH and MANPATH for Sage: +export SAGE_ROOT=/opt/SageMath +PATH="$PATH:${SAGE_ROOT}/local/bin" +MANPATH="$MANPATH:${SAGE_ROOT}/local/share/man" -- cgit v1.2.3