diff options
author | Donnie Berkholz <dberkholz@gentoo.org> | 2004-03-01 06:04:34 +0000 |
---|---|---|
committer | Donnie Berkholz <dberkholz@gentoo.org> | 2004-03-01 06:04:34 +0000 |
commit | c49438f7e40ebbdfb3c5d4ae2a2575240896cbdb (patch) | |
tree | fd467c714a85b3392f5b9b1196ef8599198f34ad /app-sci | |
parent | fixed and tested -r1, temporarily removed ia64 due to repoman bork (diff) | |
download | historical-c49438f7e40ebbdfb3c5d4ae2a2575240896cbdb.tar.gz historical-c49438f7e40ebbdfb3c5d4ae2a2575240896cbdb.tar.bz2 historical-c49438f7e40ebbdfb3c5d4ae2a2575240896cbdb.zip |
Version bump to 2.7 series, technically OpenRasMol but it's the continuation of RasMol development.
Diffstat (limited to 'app-sci')
-rw-r--r-- | app-sci/rasmol/ChangeLog | 11 | ||||
-rw-r--r-- | app-sci/rasmol/Manifest | 7 | ||||
-rw-r--r-- | app-sci/rasmol/files/digest-rasmol-2.7.1.1 | 1 | ||||
-rw-r--r-- | app-sci/rasmol/files/rasmol.sh.debian | 50 | ||||
-rw-r--r-- | app-sci/rasmol/rasmol-2.7.1.1.ebuild | 58 |
5 files changed, 123 insertions, 4 deletions
diff --git a/app-sci/rasmol/ChangeLog b/app-sci/rasmol/ChangeLog index f96beb08ffb4..25b7e63e4b4e 100644 --- a/app-sci/rasmol/ChangeLog +++ b/app-sci/rasmol/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for app-sci/rasmol -# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-sci/rasmol/ChangeLog,v 1.5 2003/10/09 08:07:29 brandy Exp $ +# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-sci/rasmol/ChangeLog,v 1.6 2004/03/01 06:04:34 spyderous Exp $ + +*rasmol-2.7.1.1 (01 Mar 2004) + + 01 Mar 2004; Donnie Berkholz <spyderous@gentoo.org>; rasmol-2.7.1.1.ebuild, + files/rasmol.sh.debian: + Version bump to 2.7 series, technically OpenRasMol but it's the continuation + of RasMol development. 09 Oct 2003; Brandy Westcott brandy@gentoo.org rasmol-2.6_beta2.ebuild: Fixed applying of patch. Closes Bug #30730 diff --git a/app-sci/rasmol/Manifest b/app-sci/rasmol/Manifest index ba3a7599c72b..6e7fba142eb1 100644 --- a/app-sci/rasmol/Manifest +++ b/app-sci/rasmol/Manifest @@ -1,4 +1,7 @@ -MD5 e7f9fc080bb6f4363f6082f3a2d104bb rasmol-2.6_beta2.ebuild 1495 -MD5 f6fb910337f0c7b70a16ec487c47b8bf ChangeLog 707 +MD5 d12be6cf3cae831e7603c5312d7eefc1 ChangeLog 950 MD5 8c623e53daafa025137077c6b65815bd metadata.xml 156 +MD5 e7f9fc080bb6f4363f6082f3a2d104bb rasmol-2.6_beta2.ebuild 1495 +MD5 df0bb7ca67586bfeba969f59da099fdc rasmol-2.7.1.1.ebuild 1376 MD5 cbf2c3b1987b37cbcf8da8ccd4ef380c files/digest-rasmol-2.6_beta2 135 +MD5 cb90fa78d1f80a9d6f84e3fcc228175e files/digest-rasmol-2.7.1.1 67 +MD5 d141a35d345c54bb3694ed83ba91b40a files/rasmol.sh.debian 830 diff --git a/app-sci/rasmol/files/digest-rasmol-2.7.1.1 b/app-sci/rasmol/files/digest-rasmol-2.7.1.1 new file mode 100644 index 000000000000..62144d2932df --- /dev/null +++ b/app-sci/rasmol/files/digest-rasmol-2.7.1.1 @@ -0,0 +1 @@ +MD5 0d5c99eeda079d8cbf413944d284740b RasMol_2.7.1.1.tar.gz 4149367 diff --git a/app-sci/rasmol/files/rasmol.sh.debian b/app-sci/rasmol/files/rasmol.sh.debian new file mode 100644 index 000000000000..e86da961a295 --- /dev/null +++ b/app-sci/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 diff --git a/app-sci/rasmol/rasmol-2.7.1.1.ebuild b/app-sci/rasmol/rasmol-2.7.1.1.ebuild new file mode 100644 index 000000000000..da34be1214fa --- /dev/null +++ b/app-sci/rasmol/rasmol-2.7.1.1.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-sci/rasmol/rasmol-2.7.1.1.ebuild,v 1.1 2004/03/01 06:04:34 spyderous Exp $ + +MY_P="RasMol_${PV}" + +DESCRIPTION="Free program that displays molecular structure." +HOMEPAGE="http://www.openrasmol.org/" +KEYWORDS="~x86" +SLOT="0" +LICENSE="public-domain" +DEPEND="virtual/x11" + +SRC_URI="http://www.bernstein-plus-sons.com/software/${MY_P}.tar.gz" + +S="${WORKDIR}/${MY_P}" + +src_unpack() { + unpack ${A} + cd ${S} + + # Hack required for build + cd src + ln -s ../doc + gunzip doc/rasmol.1.gz +} + +src_compile() { + cd src + xmkmf || die "xmkmf failed" + make DEPTHDEF=-DEIGHTBIT CC=${CC} \ + CDEBUGFLAGS="${CFLAGS}" \ + || die "8-bit make failed" + mv rasmol rasmol.8 + make clean + make DEPTHDEF=-DSIXTEENBIT CC=${CC} \ + CDEBUGFLAGS="${CFLAGS}" \ + || die "16-bit make failed" + mv rasmol rasmol.16 + make clean + make DEPTHDEF=-DTHIRTYTWOBIT CC=${CC} \ + CDEBUGFLAGS="${CFLAGS}" \ + || die "32-bit make failed" + mv rasmol rasmol.32 + make clean +} + +src_install () { + newbin ${FILESDIR}/rasmol.sh.debian rasmol + insinto /usr/lib/${PN} + doins doc/rasmol.hlp + exeinto /usr/lib/${PN} + doexe src/rasmol.{8,16,32} + dodoc INSTALL PROJECTS README TODO doc/*.{ps,pdf}.gz doc/rasmol.txt.gz + doman doc/rasmol.1 + insinto /usr/lib/${PN}/databases + doins data/* +} |