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 pynmr |
---|
5 | version 0.37f |
---|
6 | categories science |
---|
7 | maintainers bromo.med.uc.edu:howarth |
---|
8 | description NMR plugin for pymol |
---|
9 | long_description PyNMR features loading multiple pdb files, dihedral restraints checks, \ |
---|
10 | NOE restraints checks, and superimposition. PyNMR was written by Leigh Willard. |
---|
11 | homepage http://pelican.rsvs.ulaval.ca/mediawiki/index.php/PyNMR |
---|
12 | platforms darwin |
---|
13 | master_sites http://diablo.ucsc.edu/~wgscott/pymol/ |
---|
14 | distfiles pynmr_0.37f_src.tar.bz2 |
---|
15 | checksums md5 cb4a3906766681ce9230ef5515e1aa1c \ |
---|
16 | sha1 21aa455421ac4742c62ede878c2e42e22f9eca51 \ |
---|
17 | rmd160 53f40a547a5ef0a9c0725491c988b3e8bcb8706c |
---|
18 | patchfiles pynmr.diff |
---|
19 | depends_build port:swig-python |
---|
20 | depends_lib port:meschach port:pymol |
---|
21 | use_configure no |
---|
22 | use_parallel_build no |
---|
23 | use_bzip2 yes |
---|
24 | worksrcdir pynmr_0.37f_src |
---|
25 | build.cmd "cd ${worksrcpath}/pmg_tk/startup/pynmr && ./run.macos" |
---|
26 | build.target none |
---|
27 | post-patch { |
---|
28 | reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/pmg_tk/startup/pynmr/run.macos \ |
---|
29 | ${worksrcpath}/pmg_tk/startup/pynmr/test_data/test.script |
---|
30 | } |
---|
31 | destroot { |
---|
32 | file mkdir ${destroot}${prefix}/lib/pymol/modules/pmg_tk/startup/pynmr |
---|
33 | copy ${worksrcpath}/pmg_tk/startup/plug_nmr.py ${destroot}${prefix}/lib/pymol/modules/pmg_tk/startup |
---|
34 | foreach f {Crmsd.so BIOPYTHON_LICENSE LICENSE README} { |
---|
35 | copy ${worksrcpath}/pmg_tk/startup/pynmr/${f} ${destroot}${prefix}/lib/pymol/modules/pmg_tk/startup/pynmr |
---|
36 | } |
---|
37 | foreach d {help images test_data} { |
---|
38 | copy ${worksrcpath}/pmg_tk/startup/pynmr/${d} ${destroot}${prefix}/lib/pymol/modules/pmg_tk/startup/pynmr |
---|
39 | } |
---|
40 | system "cp ${worksrcpath}/pmg_tk/startup/pynmr/*.py ${destroot}${prefix}/lib/pymol/modules/pmg_tk/startup/pynmr" |
---|
41 | } |
---|