diff options
author | wiz <wiz@pkgsrc.org> | 2000-03-13 04:41:58 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2000-03-13 04:41:58 +0000 |
commit | 2a1d050c828bd4dd07e6f6f3a967bf9ce42f07bd (patch) | |
tree | 9825a86baf674262bff115ce4809c9a6ec1e80d9 | |
parent | 4d92a267e8bbc48a98ba3024ffe8f22e0c958242 (diff) | |
download | pkgsrc-2a1d050c828bd4dd07e6f6f3a967bf9ce42f07bd.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.
-rw-r--r-- | biology/rasmol/Makefile | 49 | ||||
-rw-r--r-- | biology/rasmol/files/md5 | 3 | ||||
-rw-r--r-- | biology/rasmol/files/patch-sum | 5 | ||||
-rw-r--r-- | biology/rasmol/patches/patch-aa | 31 | ||||
-rw-r--r-- | biology/rasmol/patches/patch-ab | 12 | ||||
-rw-r--r-- | biology/rasmol/patches/patch-ac | 13 | ||||
-rw-r--r-- | biology/rasmol/pkg/COMMENT | 1 | ||||
-rw-r--r-- | biology/rasmol/pkg/DESCR | 6 | ||||
-rw-r--r-- | biology/rasmol/pkg/PLIST | 30 |
9 files changed, 150 insertions, 0 deletions
diff --git a/biology/rasmol/Makefile b/biology/rasmol/Makefile new file mode 100644 index 00000000000..22f1228bfe8 --- /dev/null +++ b/biology/rasmol/Makefile @@ -0,0 +1,49 @@ +# $NetBSD: Makefile,v 1.1.1.1 2000/03/13 04:41:58 wiz Exp $ + +DISTNAME= RasMol_2.7.1 +PKGNAME= rasmol-2.7.1 +WRKSRC= ${WRKDIR}/${DISTNAME}/src +CATEGORIES= biology +MASTER_SITES= ftp://ftp.bernstein-plus-sons.com/software/ + +MAINTAINER= packages@netbsd.org +HOMEPAGE= http://www.bernstein-plus-sons.com/software/rasmol/ + +USE_IMAKE= YES + +MAKE_ENV+= "DEPTHDEF=${DEPTHDEF}" + +post-patch: + ${LN} -sf ${WRKDIR}/${DISTNAME}/doc ${WRKSRC} + ${LN} -sf ${WRKDIR}/${DISTNAME}/data ${WRKSRC} + ${GUNZIP_CMD} ${WRKDIR}/${DISTNAME}/doc/rasmol.1.gz + cd ${WRKSRC} && ${SED} "s#@@PREFIX@@#${PREFIX}#" rasmol.h > \ + rasmol.h.new && ${MV} rasmol.h.new rasmol.h + +post-install: + ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/NOTICE ${PREFIX}/share/doc/rasmol +.for DOC in manualA4.pdf.gz manualA4.ps.gz manualA4.rtf.gz \ + manualUS.pdf.gz manualUS.ps.gz manualUS.rtf.gz \ + refcardA4.pdf.gz refcardA4.ps.gz refcardA4.rtf.gz \ + refcardUS.pdf.gz refcardUS.ps.gz refcardUS.rtf.gz + ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/doc/${DOC} \ + ${PREFIX}/share/doc/rasmol +.endfor +.for DATA in 1crn.pdb 1gpd.pdb.gz 1ldb.pdb.gz 1ldm.pdb.gz 3cro.pdb \ + 4hir.ent.gz 4ins.CIF 7lyz.pdb IUCR9800028.cif asprin.alc \ + pdb2mcg.ent + ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/data/${DATA} \ + ${PREFIX}/share/examples/rasmol +.endfor + +.include "../../mk/bsd.pkg.mk" + +# test must be below inclusion of bsd.pkg.mk +DEPTHDEF= -DEIGHTBIT +.if defined(RASMOL_DEPTH) +.if ${RASMOL_DEPTH} == 32 +DEPTHDEF= -DTHIRTYTWOBIT +.else if ${RASMOL_DEPTH} == 16 +DEPTHDEF= -DSIXTEENBIT +.endif +.endif diff --git a/biology/rasmol/files/md5 b/biology/rasmol/files/md5 new file mode 100644 index 00000000000..260eb9c14b0 --- /dev/null +++ b/biology/rasmol/files/md5 @@ -0,0 +1,3 @@ +$NetBSD: md5,v 1.1.1.1 2000/03/13 04:41:59 wiz Exp $ + +MD5 (RasMol_2.7.1.tar.gz) = e01035d1af2a1595874bbee0989cc24c diff --git a/biology/rasmol/files/patch-sum b/biology/rasmol/files/patch-sum new file mode 100644 index 00000000000..919ef52416b --- /dev/null +++ b/biology/rasmol/files/patch-sum @@ -0,0 +1,5 @@ +$NetBSD: patch-sum,v 1.1.1.1 2000/03/13 04:41:59 wiz Exp $ + +MD5 (patch-aa) = 00337b01d0d0b010af698560ffc684bc +MD5 (patch-ab) = 0f9bf72be7050fb896733795af9bbdf6 +MD5 (patch-ac) = 2649d3710396235653f9e5053def3c38 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 + diff --git a/biology/rasmol/pkg/COMMENT b/biology/rasmol/pkg/COMMENT new file mode 100644 index 00000000000..3d8b5fc87ba --- /dev/null +++ b/biology/rasmol/pkg/COMMENT @@ -0,0 +1 @@ +Molecular Graphics Visualisation Tool diff --git a/biology/rasmol/pkg/DESCR b/biology/rasmol/pkg/DESCR new file mode 100644 index 00000000000..090e71520df --- /dev/null +++ b/biology/rasmol/pkg/DESCR @@ -0,0 +1,6 @@ +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. The program +has been developed at the University of Edinburgh's Biocomputing Research +Unit and the Biomolecular Structures Group at Glaxo Research and +Development, Greenford, UK. diff --git a/biology/rasmol/pkg/PLIST b/biology/rasmol/pkg/PLIST new file mode 100644 index 00000000000..d44f5a7783a --- /dev/null +++ b/biology/rasmol/pkg/PLIST @@ -0,0 +1,30 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2000/03/13 04:41:59 wiz Exp $ +bin/rasmol +share/doc/rasmol/rasmol.hlp +share/doc/rasmol/NOTICE +share/doc/rasmol/manualA4.pdf.gz +share/doc/rasmol/manualA4.ps.gz +share/doc/rasmol/manualA4.rtf.gz +share/doc/rasmol/manualUS.pdf.gz +share/doc/rasmol/manualUS.ps.gz +share/doc/rasmol/manualUS.rtf.gz +share/doc/rasmol/refcardA4.pdf.gz +share/doc/rasmol/refcardA4.ps.gz +share/doc/rasmol/refcardA4.rtf.gz +share/doc/rasmol/refcardUS.pdf.gz +share/doc/rasmol/refcardUS.ps.gz +share/doc/rasmol/refcardUS.rtf.gz +@dirrm share/doc/rasmol +share/examples/rasmol/1crn.pdb +share/examples/rasmol/1gpd.pdb.gz +share/examples/rasmol/1ldb.pdb.gz +share/examples/rasmol/1ldm.pdb.gz +share/examples/rasmol/3cro.pdb +share/examples/rasmol/4hir.ent.gz +share/examples/rasmol/4ins.CIF +share/examples/rasmol/7lyz.pdb +share/examples/rasmol/IUCR9800028.cif +share/examples/rasmol/asprin.alc +share/examples/rasmol/pdb2mcg.ent +@dirrm share/examples/rasmol +man/cat1/rasmol.0 |