Ticket #35020: Portfile.diff
File Portfile.diff, 1.9 KB (added by zan@…, 12 years ago) |
---|
-
Portfile
old new 1 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 : Portfile 93189 2012-05-17 14:16:12Z ram@macports.org$2 # $Id$ 3 3 4 4 PortSystem 1.0 5 5 PortGroup python 1.0 6 6 7 7 name py-scipy 8 8 version 0.10.1 9 revision 19 revision 2 10 10 categories python 11 11 platforms darwin 12 12 license BSD … … 33 33 34 34 worksrcdir ${distname} 35 35 36 build.cmd-delete --no-user-cfg 36 37 build.env-append CCFLAGS="-I${prefix}/include -L${prefix}/lib" 37 38 38 39 destroot.env-append CCFLAGS="-I${prefix}/include -L${prefix}/lib" 39 40 40 patchfiles scipy_complex.patch 41 patchfiles scipy_complex.patch \ 42 umfpack_extra_libs.patch 43 41 44 post-patch { 42 reinplace "s| include <\\(umfpack\.*.h\\)>|include <${prefix}/include/ufsparse/\\1>|g" ${worksrcpath}/scipy/sparse/linalg/dsolve/umfpack/umfpack.i43 reinplace "s|vecLib|Accelerate|g" ${worksrcpath}/scipy/lib/blas/fblaswrap_veclib_c.c.src 44 reinplace "s|vecLib|Accelerate|g" ${worksrcpath}/scipy/linalg/src/fblaswrap_veclib_c.c 45 reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/site.cfg 46 reinplace "s|vecLib|Accelerate|g" ${worksrcpath}/scipy/lib/blas/fblaswrap_veclib_c.c.src 47 reinplace "s|vecLib|Accelerate|g" ${worksrcpath}/scipy/linalg/src/fblaswrap_veclib_c.c 45 48 reinplace "s|vecLib|Accelerate|g" ${worksrcpath}/scipy/sparse/linalg/eigen/arpack/ARPACK/FWRAPPERS/veclib_cabi_c.c 46 reinplace "s|vecLib|Accelerate|g" ${worksrcpath}/scipy/sparse/linalg/isolve/iterative/FWRAPPERS/veclib_cabi_c.c 49 reinplace "s|vecLib|Accelerate|g" ${worksrcpath}/scipy/sparse/linalg/isolve/iterative/FWRAPPERS/veclib_cabi_c.c 47 50 } 48 51 49 52 variant atlas description "Use MacPorts ATLAS libraries" {