Ticket #37630: Portfile.diff

File Portfile.diff, 1.6 KB (added by howarth@…, 12 years ago)

Portfile.diff for 2.1.2

  • Portfile

    old new  
    55PortGroup           python27 1.0
    66
    77name                relax
    8 version             2.0.0
     8version             2.1.2
    99categories          science python
    1010maintainers         bromo.med.uc.edu:howarth
    1111description         Protein dynamics by NMR relax. data analysis
     
    1717master_sites        http://download.gna.org/relax/
    1818distfiles           ${name}-${version}.src.tar.bz2
    1919dist_subdir         ${name}
    20 checksums           md5     3449d0fca777925b0f15a10b88a72a85 \
    21                     sha1    d8e23c515a92d3d144729515af9000c19b66f781 \
    22                     rmd160  66b402494497ff0821d99c0af1795f9bab87d5cc
     20checksums           md5     71acc50c457d02aff7e430f2acbb49c3 \
     21                    sha1    3c367ec44db3f56c935cdab356962efc9ccb8150 \
     22                    rmd160  ba73f751bb7331679256a3148a9c1f617f82efe1
    2323use_bzip2           yes
    2424depends_lib-append  port:scons port:py27-scipy port:py27-numpy \
    2525                    port:py27-wxpython-devel port:pymol
    2626patchfiles          relax.patch
    2727post-patch {
     28    reinplace  "s|'i386', 'ppc', 'x86_64'|'${build_arch}'|g" ${worksrcpath}/sconstruct
     29    reinplace  "s|cflags = '-I'|cflags = '-O3 -ffast-math -funroll-loops -I'|g" ${worksrcpath}/sconstruct
    2830    reinplace  "s|@DEST_ROOT@|${destroot}|g" ${worksrcpath}/sconstruct
     31    reinplace  "s|@PYTHON_INCL@|${python.include}|g" ${worksrcpath}/sconstruct
    2932    reinplace  "s|@PREFIX@|${prefix}|g" ${worksrcpath}/sconstruct \
    3033                                        ${worksrcpath}/relax
    3134}