Revision: 115521 https://trac.macports.org/changeset/115521 Author: ryandesign@macports.org Date: 2014-01-03 16:24:09 -0800 (Fri, 03 Jan 2014) Log Message: ----------- DSDP: add modeline and adjust whitespace and formatting Modified Paths: -------------- trunk/dports/math/DSDP/Portfile Modified: trunk/dports/math/DSDP/Portfile =================================================================== --- trunk/dports/math/DSDP/Portfile 2014-01-04 00:23:34 UTC (rev 115520) +++ trunk/dports/math/DSDP/Portfile 2014-01-04 00:24:09 UTC (rev 115521) @@ -1,3 +1,4 @@ +# -*- 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 # $Id$ PortSystem 1.0 @@ -5,23 +6,23 @@ name DSDP version 5.8 revision 2 +categories math science +platforms darwin maintainers nomaintainer -categories math science description DSDP is a open source implementation of an interior-point method for semidefinite programming + long_description DSDP provides primal and dual solutions, exploits low-rank structure \ and sparsity in the data, and has relatively low memory requirements for an \ interior-point method. The dual-scaling algorithm implemented in this package has \ a convergence proof and worst-case polynomial complexity under mild assumptions on the data -platforms darwin homepage http://www.mcs.anl.gov/hs/software/DSDP/ master_sites ${homepage} distname ${name}${version} +use_zip yes -use_zip yes -use_configure no checksums md5 f61d3759cc8c6de688ab5c30877ca83c \ sha1 8327a6fe2de902d97c3b4cf63668f2731c84b80d \ rmd160 75cf8629445522a4f9bbfffdcec25e832c8ffc4e @@ -30,20 +31,23 @@ patchfiles patch-make.include.diff +use_configure no + build.target dsdpapi -build.env-append DSDPROOT=${worksrcpath} +build.env-append DSDPROOT=${worksrcpath} variant octave description {Build DSDP with octave interface} { build.target all depends_lib-append path:bin/octave:octave } -post-patch { +post-patch { reinplace "s|@@MP_CC@@|${configure.cc}|g" \ ${worksrcpath}/make.include reinplace "s|@@MP_ARCHFLAGS@@|${configure.cc_archflags}|g" \ ${worksrcpath}/make.include } + destroot { xinstall ${worksrcpath}/lib/libdsdp.a ${destroot}${prefix}/lib eval xinstall [glob ${worksrcpath}/include/*] ${destroot}${prefix}/include
participants (1)
-
ryandesign@macports.org