summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Shapovalov <george@gentoo.org>2002-11-02 09:19:39 +0000
committerGeorge Shapovalov <george@gentoo.org>2002-11-02 09:19:39 +0000
commit0b61dad73a8bf8b89117d3983fce0f25ca7312ce (patch)
tree706053b41422569421ed5b664036aab5322dc8c1 /app-sci/raster3d
parentnew package (diff)
downloadgentoo-2-0b61dad73a8bf8b89117d3983fce0f25ca7312ce.tar.gz
gentoo-2-0b61dad73a8bf8b89117d3983fce0f25ca7312ce.tar.bz2
gentoo-2-0b61dad73a8bf8b89117d3983fce0f25ca7312ce.zip
new package: Raster3D is a set of tools for
generating high quality raster images of proteins or other molecules.
Diffstat (limited to 'app-sci/raster3d')
-rw-r--r--app-sci/raster3d/ChangeLog14
-rw-r--r--app-sci/raster3d/files/digest-raster3d-2.6e1
-rw-r--r--app-sci/raster3d/raster3d-2.6e.ebuild49
3 files changed, 64 insertions, 0 deletions
diff --git a/app-sci/raster3d/ChangeLog b/app-sci/raster3d/ChangeLog
new file mode 100644
index 000000000000..b79e331e8b82
--- /dev/null
+++ b/app-sci/raster3d/ChangeLog
@@ -0,0 +1,14 @@
+# ChangeLog for app-sci/raster3d
+# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
+# $Header: /var/cvsroot/gentoo-x86/app-sci/raster3d/ChangeLog,v 1.1 2002/11/02 09:19:39 george Exp $
+
+*raster3d-2.6e (01 Nov 2002)
+
+ 01 Nov 2002; George Shapovalov <george@gentoo.org> raster3d-2.6e.ebuild :
+
+ first commit
+ Raster3D is a set of tools for
+ generating high quality raster images of proteins or other molecules. The
+ homepage is at http://www.bmsc.washington.edu/raster3d/raster3d.html.
+
+ ebuild submitted by Jianghai Zhu <zhu5@purdue.edu>
diff --git a/app-sci/raster3d/files/digest-raster3d-2.6e b/app-sci/raster3d/files/digest-raster3d-2.6e
new file mode 100644
index 000000000000..043c699402c9
--- /dev/null
+++ b/app-sci/raster3d/files/digest-raster3d-2.6e
@@ -0,0 +1 @@
+MD5 e34d6ca124b402ff3528fbe874b5d09d Raster3D_2.6e.tar.gz 1757896
diff --git a/app-sci/raster3d/raster3d-2.6e.ebuild b/app-sci/raster3d/raster3d-2.6e.ebuild
new file mode 100644
index 000000000000..a3240497b767
--- /dev/null
+++ b/app-sci/raster3d/raster3d-2.6e.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: /var/cvsroot/gentoo-x86/app-sci/raster3d/raster3d-2.6e.ebuild,v 1.1 2002/11/02 09:19:39 george Exp $
+
+Name="Raster3D"
+S="${WORKDIR}/${Name}_${PV}"
+SRC_URI="http://www.bmsc.washington.edu/${PN}/${Name}_${PV}.tar.gz"
+HOMEPAGE="http://www.bmsc.washington.edu/raster3d/raster3d.html"
+DESCRIPTION="a set of tools for generating high quality raster images of proteins or other molecules"
+
+DEPEND="virtual/x11"
+
+SLOT="0"
+LICENSE="FREE"
+KEYWORDS="~x86 ~ppc ~sparc ~sparc64"
+
+src_compile() {
+
+ cd ${S}
+ sed "/prefix/s/\/usr\/local/\/usr/" ${S}/Makefile.template > ${S}/Makefile.template.new
+ mv ${S}/Makefile.template.new ${S}/Makefile.template
+
+ make linux
+ make all || die
+
+}
+
+src_install() {
+
+ dodir /usr/bin
+ dodir /usr/share/Raster3D/materials
+ dodir /usr/share/Raster3D/html
+ dodir /usr/share/Raster3D/examples
+ dodir /usr/share/man/man1
+
+ emake \
+ prefix=${D}/usr \
+ bindir=${D}/usr/bin \
+ datadir=${D}/usr/share/Raster3D/materials \
+ mandir=${D}/usr/share/man/man1 \
+ htmldir=${D}/usr/share/Raster3D/html \
+ examdir=${D}/usr/share/Raster3D/examples \
+ install || die
+
+ dodir /etc/env.d
+ echo -e "R3D_LIB=/usr/share/Raster3D/materials" > \
+ ${D}/etc/env.d/10raster3d
+}
+