Ticket #37630: Portfile.diff
File Portfile.diff, 1.6 KB (added by howarth@…, 12 years ago) |
---|
-
Portfile
old new 5 5 PortGroup python27 1.0 6 6 7 7 name relax 8 version 2. 0.08 version 2.1.2 9 9 categories science python 10 10 maintainers bromo.med.uc.edu:howarth 11 11 description Protein dynamics by NMR relax. data analysis … … 17 17 master_sites http://download.gna.org/relax/ 18 18 distfiles ${name}-${version}.src.tar.bz2 19 19 dist_subdir ${name} 20 checksums md5 3449d0fca777925b0f15a10b88a72a85\21 sha1 d8e23c515a92d3d144729515af9000c19b66f781\22 rmd160 66b402494497ff0821d99c0af1795f9bab87d5cc20 checksums md5 71acc50c457d02aff7e430f2acbb49c3 \ 21 sha1 3c367ec44db3f56c935cdab356962efc9ccb8150 \ 22 rmd160 ba73f751bb7331679256a3148a9c1f617f82efe1 23 23 use_bzip2 yes 24 24 depends_lib-append port:scons port:py27-scipy port:py27-numpy \ 25 25 port:py27-wxpython-devel port:pymol 26 26 patchfiles relax.patch 27 27 post-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 28 30 reinplace "s|@DEST_ROOT@|${destroot}|g" ${worksrcpath}/sconstruct 31 reinplace "s|@PYTHON_INCL@|${python.include}|g" ${worksrcpath}/sconstruct 29 32 reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/sconstruct \ 30 33 ${worksrcpath}/relax 31 34 }