summaryrefslogtreecommitdiff
path: root/biology/rasmol/patches
diff options
context:
space:
mode:
authorwiz <wiz>2000-03-13 04:41:58 +0000
committerwiz <wiz>2000-03-13 04:41:58 +0000
commita2ff86105a9c414367c4794273beba0456703bfe (patch)
tree9825a86baf674262bff115ce4809c9a6ec1e80d9 /biology/rasmol/patches
parentfb1a394bdbd0d022c71ee81c32e9442fc659cd7d (diff)
downloadpkgsrc-a2ff86105a9c414367c4794273beba0456703bfe.tar.gz
RasMol is a molecular graphics program intended for the visualisation of
proteins, nucleic acids and small molecules. The program is aimed at display, teaching and generation of publication quality images. Submitted by Marc Bauoin <babafou@babafou.eu.org> in pkg/8199, slightly enhanced.
Diffstat (limited to 'biology/rasmol/patches')
-rw-r--r--biology/rasmol/patches/patch-aa31
-rw-r--r--biology/rasmol/patches/patch-ab12
-rw-r--r--biology/rasmol/patches/patch-ac13
3 files changed, 56 insertions, 0 deletions
diff --git a/biology/rasmol/patches/patch-aa b/biology/rasmol/patches/patch-aa
new file mode 100644
index 00000000000..955876b679d
--- /dev/null
+++ b/biology/rasmol/patches/patch-aa
@@ -0,0 +1,31 @@
+$NetBSD: patch-aa,v 1.1.1.1 2000/03/13 04:42:00 wiz Exp $
+
+--- Imakefile.orig Tue Jul 6 01:48:28 1999
++++ Imakefile Mon Mar 13 04:25:00 2000
+@@ -60,11 +60,12 @@
+
+ # DEPTHDEF = -DTHIRTYTWOBIT
+ # DEPTHDEF = -DSIXTEENBIT
+-DEPTHDEF = -DEIGHTBIT
++# DEPTHDEF = -DEIGHTBIT
+
+ # RasMol's on-line help direcory
+ # e.g. /usr/local/lib/rasmol/rasmol.hlp
+-RASMOLDIR = $(USRLIBDIR)/rasmol/
++RASMOLDIR = $(PREFIX)/share/doc/rasmol/
++RASMOLDATADIR = $(PREFIX)/share/examples/rasmol/
+
+
+
+@@ -104,8 +105,9 @@
+ ComplexProgramTarget(rasmol)
+ MakeDirectories(install,$(RASMOLDIR))
+ InstallNonExec(rasmol.hlp,$(RASMOLDIR))
+-InstallNonExec(data/1crn.pdb,$(RASMOLDIR))
+-InstallNonExec(data/3cro.pdb,$(RASMOLDIR))
++MakeDirectories(install,$(RASMOLDATADIR))
++InstallNonExec(data/1crn.pdb,$(RASMOLDATADIR))
++InstallNonExec(data/3cro.pdb,$(RASMOLDATADIR))
+
+ rasmol.man:: doc/rasmol.1
+ ln -s doc/rasmol.1 rasmol.man
diff --git a/biology/rasmol/patches/patch-ab b/biology/rasmol/patches/patch-ab
new file mode 100644
index 00000000000..aae08d6a852
--- /dev/null
+++ b/biology/rasmol/patches/patch-ab
@@ -0,0 +1,12 @@
+$NetBSD: patch-ab,v 1.1.1.1 2000/03/13 04:42:00 wiz Exp $
+
+--- cif_ctonum.c.orig Thu Aug 5 23:11:05 1999
++++ cif_ctonum.c Thu Aug 5 23:11:11 1999
+@@ -168,7 +168,6 @@
+ extern "C" {
+ #endif
+
+-#define _USE_RASMOL_H_
+ #ifdef _USE_RASMOL_H_
+ #include "rasmol.h"
+ #else
diff --git a/biology/rasmol/patches/patch-ac b/biology/rasmol/patches/patch-ac
new file mode 100644
index 00000000000..d887f083e87
--- /dev/null
+++ b/biology/rasmol/patches/patch-ac
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.1.1.1 2000/03/13 04:42:00 wiz Exp $
+
+--- rasmol.h.orig Tue Jul 6 01:56:01 1999
++++ rasmol.h Mon Mar 13 05:00:32 2000
+@@ -103,7 +103,7 @@
+ #endif
+
+ #if !defined(IBMPC) && !defined(APPLEMAC) && !defined(VMS)
+-#define RASMOLDIR "/usr/local/lib/rasmol/"
++#define RASMOLDIR "@@PREFIX@@/share/doc/rasmol/"
+ #endif
+ #endif
+