Ticket #27908: Portfile.diff
File Portfile.diff, 1.8 KB (added by howarth@…, 14 years ago) |
---|
-
Portfile
old new 4 4 PortSystem 1.0 5 5 6 6 name ccpnmr 7 version 2.1. 2_17 version 2.1.5 8 8 set branch [join [lrange [split $version .] 0 1] .] 9 9 categories science python 10 10 maintainers bromo.med.uc.edu:howarth … … 19 19 homepage http://www.ccpn.ac.uk/ccpn/software/ccpnmr-suite 20 20 master_sites http://www.bio.cam.ac.uk/ccpn/download/ccpnmr/ 21 21 distname analysis${version} 22 checksums md5 a07435141127bf0311e2c792492c1c99\23 sha1 f711a424da22c84295610483a6cc481d2d2161e9\24 rmd160 f633a8338e3fbb9d8ad77c9482d63191419b088522 checksums md5 e1e93cac7516c6f8fbe4b503a223cdd4 \ 23 sha1 70dc5e6b2752d6b7d5c8673fc992ebd0a88e6ad0 \ 24 rmd160 b0706c859c1ee4da2ab80ee41534197268f73d44 25 25 worksrcdir ${name} 26 depends_lib port:py26-scipy port:mesa port:tk 26 depends_lib port:py26-scipy port:mesa port:tk port:py26-tkinter 27 27 patchfiles ccpnmr.patch 28 28 use_configure no 29 29 … … 51 51 reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/ccpnmr${branch}/c/environment-opengl.txt 52 52 reinplace "s|/usr/X11R6|${prefix}|g" ${worksrcpath}/ccpnmr${branch}/c/environment-opengl.txt 53 53 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.txt55 reinplace "s|malloc.h|sys/malloc.h|g" ${worksrcpath}/ccpnmr${branch}/c/memops/global/macros.h56 54 } 57 55 pre-build { 58 56 copy ${worksrcpath}/ccpnmr${branch}/c/environment-opengl.txt ${worksrcpath}/ccpnmr${branch}/c/environment.txt