summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Fisette <ribosome@gentoo.org>2004-12-24 17:03:16 +0000
committerOlivier Fisette <ribosome@gentoo.org>2004-12-24 17:03:16 +0000
commit798ee907a5945605e85c68f2fcf94c50d10cd9fb (patch)
tree6b39cc8354d54b88d0dd604a2dfc3e3e1c95bf4f /sci-chemistry
parentMoving to sci-chemistry/rasmol (diff)
downloadgentoo-2-798ee907a5945605e85c68f2fcf94c50d10cd9fb.tar.gz
gentoo-2-798ee907a5945605e85c68f2fcf94c50d10cd9fb.tar.bz2
gentoo-2-798ee907a5945605e85c68f2fcf94c50d10cd9fb.zip
Moved from app-sci/rasmol to sci-chemistry/rasmol.
Diffstat (limited to 'sci-chemistry')
-rw-r--r--sci-chemistry/rasmol/ChangeLog61
-rw-r--r--sci-chemistry/rasmol/Manifest7
-rw-r--r--sci-chemistry/rasmol/files/digest-rasmol-2.7.1.11
-rw-r--r--sci-chemistry/rasmol/files/digest-rasmol-2.7.2.1.11
-rw-r--r--sci-chemistry/rasmol/files/rasmol.sh.debian50
-rw-r--r--sci-chemistry/rasmol/metadata.xml5
-rw-r--r--sci-chemistry/rasmol/rasmol-2.7.1.1.ebuild62
-rw-r--r--sci-chemistry/rasmol/rasmol-2.7.2.1.1.ebuild61
8 files changed, 248 insertions, 0 deletions
diff --git a/sci-chemistry/rasmol/ChangeLog b/sci-chemistry/rasmol/ChangeLog
new file mode 100644
index 000000000000..3044f5b0ba03
--- /dev/null
+++ b/sci-chemistry/rasmol/ChangeLog
@@ -0,0 +1,61 @@
+# ChangeLog for app-sci/rasmol
+# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/rasmol/ChangeLog,v 1.1 2004/12/24 17:03:16 ribosome Exp $
+
+*rasmol-2.7.2.1.1 (24 Dec 2004)
+
+ 24 Dec 2004; Olivier Fisette <ribosome@gentoo.org> +metadata.xml,
+ +files/rasmol.sh.debian, +rasmol-2.7.1.1.ebuild, +rasmol-2.7.2.1.1.ebuild:
+ Moved from app-sci/rasmol to sci-chemistry/rasmol.
+
+ 27 Jul 2004; Donnie Berkholz <spyderous@gentoo.org>;
+ rasmol-2.7.2.1.1.ebuild:
+ x86. Considered "production release" upstream now.
+
+ 26 Jul 2004; Danny van Dyk <kugelfang@gentoo.org> rasmol-2.7.2.1.1.ebuild:
+ Marked ~amd64.
+
+ 19 Apr 2004; Patrick Kursawe <phosphan@gentoo.org> rasmol-2.7.1.1.ebuild,
+ rasmol-2.7.2.1.1.ebuild:
+ Adding IUSE
+
+ 01 Apr 2004; Donnie Berkholz <spyderous@gentoo.org>;
+ rasmol-2.6_beta2.ebuild, rasmol-2.7.1.1.ebuild:
+ Keyword 2.7.1.1 x86, drop old version.
+
+ 01 Apr 2004; Donnie Berkholz <spyderous@gentoo.org>; rasmol-2.7.2.1.ebuild:
+ Drop old version, also closes #45706.
+
+*rasmol-2.7.2.1.1 (01 Apr 2004)
+
+ 01 Apr 2004; Patrick Kursawe <phosphan@gentoo.org> rasmol-2.7.2.1.1.ebuild,
+ rasmol-2.7.2.1.ebuild:
+ Version bump
+
+*rasmol-2.7.2.1 (01 Mar 2004)
+
+ 01 Mar 2004; Donnie Berkholz <spyderous@gentoo.org>; rasmol-2.7.2.1.ebuild:
+ Adding beta version. This should stay ~arch until considered stable upstream.
+
+*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
+
+ 03 Oct 2003; Donnie Berkholz <spyderous@gentoo.org>;
+ rasmol-2.6_beta2.ebuild:
+ Basic cleanup. Removed hard-coded gcc, cleaner SRC_URI and src_unpack.
+
+*rasmol-2.6_beta2 (01 Jul 2002)
+
+ 25 Jul 2002; Daniel Ahlberg <aliz@gentoo.org> rasmol-2.6_beta2.ebuild :
+ Added LICENSE, KEYWORDS, SLOT.
+
+ 01 Jul 2002; Grant Goodyear <g2boojum@gentoo.org> ChangeLog :
+
+ new package
diff --git a/sci-chemistry/rasmol/Manifest b/sci-chemistry/rasmol/Manifest
new file mode 100644
index 000000000000..984f90d273a4
--- /dev/null
+++ b/sci-chemistry/rasmol/Manifest
@@ -0,0 +1,7 @@
+MD5 45d5a917525edab882ee813975a1985f ChangeLog 1899
+MD5 8c623e53daafa025137077c6b65815bd metadata.xml 156
+MD5 7b138402a89c9e1a78a1becd22b7754c rasmol-2.7.1.1.ebuild 1414
+MD5 f431cf70abce13faebbc693ed45d008c rasmol-2.7.2.1.1.ebuild 1392
+MD5 cb90fa78d1f80a9d6f84e3fcc228175e files/digest-rasmol-2.7.1.1 67
+MD5 d141a35d345c54bb3694ed83ba91b40a files/rasmol.sh.debian 830
+MD5 5bfaa68da594b02ca585dcfa3fd29426 files/digest-rasmol-2.7.2.1.1 69
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
diff --git a/sci-chemistry/rasmol/metadata.xml b/sci-chemistry/rasmol/metadata.xml
new file mode 100644
index 000000000000..b229aec85b8f
--- /dev/null
+++ b/sci-chemistry/rasmol/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sci</herd>
+</pkgmetadata>
diff --git a/sci-chemistry/rasmol/rasmol-2.7.1.1.ebuild b/sci-chemistry/rasmol/rasmol-2.7.1.1.ebuild
new file mode 100644
index 000000000000..5c5a8ba16546
--- /dev/null
+++ b/sci-chemistry/rasmol/rasmol-2.7.1.1.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/rasmol/rasmol-2.7.1.1.ebuild,v 1.1 2004/12/24 17:03:16 ribosome Exp $
+
+inherit gcc
+
+MY_P="RasMol_${PV}"
+
+DESCRIPTION="Free program that displays molecular structure."
+HOMEPAGE="http://www.openrasmol.org/"
+SRC_URI="http://www.bernstein-plus-sons.com/software/${MY_P}.tar.gz"
+
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="x86"
+IUSE=""
+
+DEPEND="virtual/x11"
+
+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="$(gcc-getCC)" \
+ CDEBUGFLAGS="${CFLAGS}" \
+ || die "8-bit make failed"
+ mv rasmol rasmol.8
+ make clean
+ make DEPTHDEF=-DSIXTEENBIT CC="$(gcc-getCC)" \
+ CDEBUGFLAGS="${CFLAGS}" \
+ || die "16-bit make failed"
+ mv rasmol rasmol.16
+ make clean
+ make DEPTHDEF=-DTHIRTYTWOBIT CC="$(gcc-getCC)" \
+ 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/*
+}
diff --git a/sci-chemistry/rasmol/rasmol-2.7.2.1.1.ebuild b/sci-chemistry/rasmol/rasmol-2.7.2.1.1.ebuild
new file mode 100644
index 000000000000..4e60de81c32b
--- /dev/null
+++ b/sci-chemistry/rasmol/rasmol-2.7.2.1.1.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/rasmol/rasmol-2.7.2.1.1.ebuild,v 1.1 2004/12/24 17:03:16 ribosome Exp $
+
+inherit gcc
+
+MY_P="RasMol_${PV}"
+
+DESCRIPTION="Free program that displays molecular structure."
+HOMEPAGE="http://www.openrasmol.org/"
+SRC_URI="http://www.bernstein-plus-sons.com/software/${MY_P}.tar.gz"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="x86 ~amd64"
+IUSE=""
+
+DEPEND="virtual/x11"
+
+S="${WORKDIR}/${MY_P}"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ # Hack required for build
+ cd src
+ ln -s ../doc
+}
+
+src_compile() {
+ cd src
+ xmkmf || die "xmkmf failed"
+ make DEPTHDEF=-DEIGHTBIT CC="$(gcc-getCC)" \
+ CDEBUGFLAGS="${CFLAGS}" \
+ || die "8-bit make failed"
+ mv rasmol rasmol.8
+ make clean
+ make DEPTHDEF=-DSIXTEENBIT CC="$(gcc-getCC)" \
+ CDEBUGFLAGS="${CFLAGS}" \
+ || die "16-bit make failed"
+ mv rasmol rasmol.16
+ make clean
+ make DEPTHDEF=-DTHIRTYTWOBIT CC="$(gcc-getCC)" \
+ 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/*
+}