| 1 | # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 |
|---|
| 2 | # $Id$ |
|---|
| 3 | PortSystem 1.0 |
|---|
| 4 | name molmol |
|---|
| 5 | version 2k.2.0 |
|---|
| 6 | categories science |
|---|
| 7 | maintainers bromo.med.uc.edu:howarth |
|---|
| 8 | description Molecular graphics display program |
|---|
| 9 | long_description MOLMOL is a molecular graphics program for displaying, analyzing, \ |
|---|
| 10 | and manipulating the three-dimensional structure of biological \ |
|---|
| 11 | macromolecules, with special emphasis on the study of protein \ |
|---|
| 12 | or DNA structures determined by NMR. The program runs on UNIX \ |
|---|
| 13 | and Windows NT/95/98/2000 and is freely available. It does not work \ |
|---|
| 14 | properly with RNA. |
|---|
| 15 | homepage http://www.mol.biol.ethz.ch/wuthrich/software/molmol/ |
|---|
| 16 | platforms darwin |
|---|
| 17 | master_sites ftp://ftp.mol.biol.ethz.ch/software/MOLMOL/unix-gzip |
|---|
| 18 | distfiles molmol-2k.2.0-src.tar.gz \ |
|---|
| 19 | molmol-2k.2.0-doc.tar.gz |
|---|
| 20 | checksums molmol-2k.2.0-src.tar.gz md5 e1f4416d8041a67fa08cadb03ed91c7c \ |
|---|
| 21 | sha1 09482a1dea601563ca64e773dc0ec47019e22c63 \ |
|---|
| 22 | rmd160 b1de89953631dd9b11928751d7853cb511bf45f0 \ |
|---|
| 23 | molmol-2k.2.0-doc.tar.gz md5 517545b60b0179ab691a679ed29903a7 \ |
|---|
| 24 | sha1 b47551283fa19f57f4d5edcbd52f725055d80b7f \ |
|---|
| 25 | rmd160 08b3e21ab6eb7c9044e59373334181ff91ca8a53 |
|---|
| 26 | depends_lib port:openmotif \ |
|---|
| 27 | port:glut \ |
|---|
| 28 | port:glw \ |
|---|
| 29 | port:tiff \ |
|---|
| 30 | port:jpeg \ |
|---|
| 31 | port:libpng |
|---|
| 32 | patchfiles molmol-build.diff |
|---|
| 33 | use_configure no |
|---|
| 34 | use_parallel_build no |
|---|
| 35 | build.target-delete all |
|---|
| 36 | extract.mkdir yes |
|---|
| 37 | post-patch { |
|---|
| 38 | reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/makedef \ |
|---|
| 39 | ${worksrcpath}/molmol |
|---|
| 40 | } |
|---|
| 41 | destroot { |
|---|
| 42 | # Install example files not installed by the Makefile |
|---|
| 43 | file copy ${worksrcpath} \ |
|---|
| 44 | ${destroot}${prefix}/share/${name} |
|---|
| 45 | ln -s ${prefix}/share/${name}/${name} ${destroot}${prefix}/bin/${name} |
|---|
| 46 | file mkdir ${destroot}${prefix}/share/doc/${name} |
|---|
| 47 | ln -s ${prefix}/share/${name}/COPYING ${destroot}${prefix}/share/doc/${name}/COPYING |
|---|
| 48 | ln -s ${prefix}/share/${name}/man ${destroot}${prefix}/share/doc/${name}/man |
|---|
| 49 | } |
|---|