Ticket #20155: Portfile-1.1.1.diff
File Portfile-1.1.1.diff, 1.9 KB (added by max@…, 15 years ago) |
---|
-
python/py25-cvxopt/Portfile
old new 5 5 6 6 categories-append math 7 7 name py25-cvxopt 8 version 1.1 8 version 1.1.1 9 9 distname cvxopt-${version} 10 10 maintainers cornell.edu:ajb78 11 11 platforms darwin … … 21 21 22 22 homepage http://abel.ee.ucla.edu/cvxopt 23 23 24 distfiles cvxopt-${version}.tar.gz .gtar25 master_sites http://abel.ee.ucla.edu/ download.php24 distfiles cvxopt-${version}.tar.gz 25 master_sites http://abel.ee.ucla.edu/cvxopt/download.php 26 26 27 checksums md5 c56def864966a4e168474bb1c00f5808\28 sha1 693bc10293ebe1ff59d7115e45d7e72f6262e548\29 rmd160 33e2e047429df21662d3875d385b15ff9c334d5227 checksums md5 577e0f2f2288df34310844c67ccd2d77 \ 28 sha1 391953aea9ce19a3b5c8055237bb26e79798696e \ 29 rmd160 86f729c4f7cd7eac8253efc9fe6f3ac06c940413 30 30 31 31 depends_lib-append port:atlas 32 32 … … 42 42 depends_lib-append port:glpk 43 43 } 44 44 45 default_variants +gsl +glpk +fftw 45 variant dsdp description {Link to DSDP library} { 46 depends_lib-append port:DSDP 47 } 48 49 default_variants +gsl +glpk +fftw +dsdp 46 50 47 51 configure { 48 52 reinplace "s|ATLAS_LIB_DIR = .*|ATLAS_LIB_DIR = '${prefix}/lib'|" \ … … 72 76 reinplace "s|FFTW_INC_DIR = .*|FFTW_INC_DIR = '${prefix}/include'|" \ 73 77 ${worksrcpath}/src/setup.py 74 78 } 79 if {[variant_isset dsdp]} { 80 reinplace "s|BUILD_DSDP = .*|BUILD_DSDP = 1|" \ 81 ${worksrcpath}/src/setup.py 82 reinplace "s|DSDP_LIB_DIR = .*|DSDP_LIB_DIR = '${prefix}/lib'|" \ 83 ${worksrcpath}/src/setup.py 84 reinplace "s|DSDP_INC_DIR = .*|DSDP_INC_DIR = '${prefix}/include'|" \ 85 ${worksrcpath}/src/setup.py 86 } 75 87 } 76 88 77 89 build.dir ${worksrcpath}/src