diff options
author | Olivier Fisette <ribosome@gentoo.org> | 2004-12-24 17:03:16 +0000 |
---|---|---|
committer | Olivier Fisette <ribosome@gentoo.org> | 2004-12-24 17:03:16 +0000 |
commit | 98a1b7113e4f31c4e34a056cf7a4164df62de2b4 (patch) | |
tree | db8e2131d198d303ae3e4ef91bcf69ca3e71bcf9 /sci-chemistry/rasmol/files | |
parent | Moving to sci-chemistry/rasmol (diff) | |
download | historical-98a1b7113e4f31c4e34a056cf7a4164df62de2b4.tar.gz historical-98a1b7113e4f31c4e34a056cf7a4164df62de2b4.tar.bz2 historical-98a1b7113e4f31c4e34a056cf7a4164df62de2b4.zip |
Moved from app-sci/rasmol to sci-chemistry/rasmol.
Diffstat (limited to 'sci-chemistry/rasmol/files')
-rw-r--r-- | sci-chemistry/rasmol/files/digest-rasmol-2.7.1.1 | 1 | ||||
-rw-r--r-- | sci-chemistry/rasmol/files/digest-rasmol-2.7.2.1.1 | 1 | ||||
-rw-r--r-- | sci-chemistry/rasmol/files/rasmol.sh.debian | 50 |
3 files changed, 52 insertions, 0 deletions
diff --git a/sci-chemistry/rasmol/files/digest-rasmol-2.7.1.1 b/sci-chemistry/rasmol/files/digest-rasmol-2.7.1.1 new file mode 100644 index 000000000000..62144d2932df --- /dev/null +++ b/sci-chemistry/rasmol/files/digest-rasmol-2.7.1.1 @@ -0,0 +1 @@ +MD5 0d5c99eeda079d8cbf413944d284740b RasMol_2.7.1.1.tar.gz 4149367 diff --git a/sci-chemistry/rasmol/files/digest-rasmol-2.7.2.1.1 b/sci-chemistry/rasmol/files/digest-rasmol-2.7.2.1.1 new file mode 100644 index 000000000000..eb182a808893 --- /dev/null +++ b/sci-chemistry/rasmol/files/digest-rasmol-2.7.2.1.1 @@ -0,0 +1 @@ +MD5 6acb3e808c32333697d28675414abce2 RasMol_2.7.2.1.1.tar.gz 4892830 diff --git a/sci-chemistry/rasmol/files/rasmol.sh.debian b/sci-chemistry/rasmol/files/rasmol.sh.debian new file mode 100644 index 000000000000..e86da961a295 --- /dev/null +++ b/sci-chemistry/rasmol/files/rasmol.sh.debian @@ -0,0 +1,50 @@ +#!/bin/sh +# rasmol.sh +# RasMol Molecular Graphics +# Roger Sayle, August 1995 +# Version 2.6 +# script modified for linux +# John Lapeyre +#Wed, 12 Aug 1998 21:34:40 -0700 +# +# Example Environment Variables +# + +RASMOLPATH=/usr/lib/rasmol +export RASMOLPATH + +RASMOL_VISUAL=8 + +if [ -e /usr/bin/X11/xwininfo ]; then + RASMOL_VISUAL=`xwininfo -root | perl -ne 'chomp;print if s|\s+Depth:\s+||'` ; +fi + +if [ -e "/etc/rasmol/.rasmol.conf" ]; then + . /etc/rasmol/.rasmol.conf; +fi + +if [ -e ~/.rasmol.conf ]; then + . ~/.rasmol.conf; +fi + +case "$1" in + -8) + RASMOL_VISUAL=8 + shift;; + -16) + RASMOL_VISUAL=16 + shift;; + -24) + RASMOL_VISUAL=32 + shift;; + -32) + RASMOL_VISUAL=32 + shift;; +esac +#echo Using binary rasmol.$RASMOL_VISUAL + +if [ $RASMOL_VISUAL == 24 ]; then + RASMOL_VISUAL=32; +fi + +$RASMOLPATH/rasmol.$RASMOL_VISUAL $*
\ No newline at end of file |