Ticket #27908: Portfile.diff

File Portfile.diff, 1.8 KB (added by howarth@…, 13 years ago)

corrected Portfile diff for ccpnmr 2.1.5

  • Portfile

    old new  
    44PortSystem          1.0
    55
    66name                ccpnmr
    7 version             2.1.2_1
     7version             2.1.5
    88set branch          [join [lrange [split $version .] 0 1] .]
    99categories          science python
    1010maintainers         bromo.med.uc.edu:howarth
     
    1919homepage            http://www.ccpn.ac.uk/ccpn/software/ccpnmr-suite
    2020master_sites        http://www.bio.cam.ac.uk/ccpn/download/ccpnmr/
    2121distname            analysis${version}
    22 checksums           md5     a07435141127bf0311e2c792492c1c99 \
    23                     sha1    f711a424da22c84295610483a6cc481d2d2161e9 \
    24                     rmd160  f633a8338e3fbb9d8ad77c9482d63191419b0885
     22checksums           md5     e1e93cac7516c6f8fbe4b503a223cdd4 \
     23                    sha1    70dc5e6b2752d6b7d5c8673fc992ebd0a88e6ad0 \
     24                    rmd160  b0706c859c1ee4da2ab80ee41534197268f73d44
    2525worksrcdir          ${name}
    26 depends_lib         port:py26-scipy port:mesa port:tk
     26depends_lib         port:py26-scipy port:mesa port:tk port:py26-tkinter
    2727patchfiles          ccpnmr.patch
    2828use_configure       no
    2929
     
    5151    reinplace  "s|@PREFIX@|${prefix}|g" ${worksrcpath}/ccpnmr${branch}/c/environment-opengl.txt
    5252    reinplace  "s|/usr/X11R6|${prefix}|g" ${worksrcpath}/ccpnmr${branch}/c/environment-opengl.txt
    5353    reinplace  "s|@PYTHON_INCL@|${python.include}|g" ${worksrcpath}/ccpnmr${branch}/c/environment-opengl.txt
    54     reinplace  "s|@PYTHON_LIB@|${python.libdir}|g" ${worksrcpath}/ccpnmr${branch}/c/environment-opengl.txt
    55     reinplace  "s|malloc.h|sys/malloc.h|g" ${worksrcpath}/ccpnmr${branch}/c/memops/global/macros.h
    5654}
    5755pre-build {
    5856    copy ${worksrcpath}/ccpnmr${branch}/c/environment-opengl.txt ${worksrcpath}/ccpnmr${branch}/c/environment.txt