Ticket #21642: Portfile

File Portfile, 2.0 KB (added by howarth@…, 15 years ago)

fix typo in depends_lib

Line 
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$
3PortSystem          1.0
4name                pynmr
5version             0.37f
6categories          science
7maintainers         bromo.med.uc.edu:howarth
8description         NMR plugin for pymol
9long_description    PyNMR features loading multiple pdb files, dihedral restraints checks, \
10                    NOE restraints checks, and superimposition. PyNMR was written by Leigh Willard.
11homepage            http://pelican.rsvs.ulaval.ca/mediawiki/index.php/PyNMR
12platforms           darwin
13master_sites        http://diablo.ucsc.edu/~wgscott/pymol/
14distfiles           pynmr_0.37f_src.tar.bz2
15checksums           md5  cb4a3906766681ce9230ef5515e1aa1c \
16                    sha1 21aa455421ac4742c62ede878c2e42e22f9eca51 \
17                    rmd160 53f40a547a5ef0a9c0725491c988b3e8bcb8706c
18patchfiles          pynmr.diff
19depends_build       port:swig-python
20depends_lib         port:meschach port:pymol
21use_configure       no
22use_parallel_build  no
23use_bzip2           yes
24worksrcdir          pynmr_0.37f_src
25build.cmd           "cd ${worksrcpath}/pmg_tk/startup/pynmr && ./run.macos"
26build.target        none
27post-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}
31destroot {
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}