From: Olivier Fisette Date: Fri, 24 Dec 2004 17:03:16 +0000 (+0000) Subject: Moved from app-sci/rasmol to sci-chemistry/rasmol. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=98a1b7113e4f31c4e34a056cf7a4164df62de2b4;p=gentoo.git Moved from app-sci/rasmol to sci-chemistry/rasmol. --- 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 +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 ; + rasmol-2.7.2.1.1.ebuild: + x86. Considered "production release" upstream now. + + 26 Jul 2004; Danny van Dyk rasmol-2.7.2.1.1.ebuild: + Marked ~amd64. + + 19 Apr 2004; Patrick Kursawe rasmol-2.7.1.1.ebuild, + rasmol-2.7.2.1.1.ebuild: + Adding IUSE + + 01 Apr 2004; Donnie Berkholz ; + 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 ; 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 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 ; 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 ; 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 ; + 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 rasmol-2.6_beta2.ebuild : + Added LICENSE, KEYWORDS, SLOT. + + 01 Jul 2002; Grant Goodyear 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 @@ + + + +sci + 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/* +}