# $Id: Portfile 85414 2011-10-13 13:32:04Z mmoll@macports.org $ PortSystem 1.0 name optpp version 2.4 categories math platforms darwin maintainers mmoll license LGPL description C++ library for non-linear optimization long_description \ OPT++ is a C++ library for non-linear optimization. homepage https://software.sandia.gov/opt++/ distname optpp-${version} master_sites ${homepage}/downloads/ checksums md5 7bd39f389c19ef16c3f62bc6ffa06234 \ sha1 089fb515f2f2e8632d603f2d1306d39aa355e9f0 \ rmd160 1f554c4702dedc24150f198e1a1df35ad1bf9a19 patchfiles patch-acx_blas.m4.diff use_autoconf yes configure.ldflags "-framework vecLib" configure.args --includedir=${prefix}/include/OPT++ --with-blas variant mpi description {builds with MPI support to enable parallel optimization} { configure.args-append --enable-mpi configure.env-append MPICC=${prefix}/lib/openmpi/bin/mpicc \ MPICXX=${prefix}/lib/openmpi/bin/mpic++ \ MPILIBS='-L${prefix}/lib' depends_lib port:openmpi } livecheck.type regex livecheck.url ${master_sites} livecheck.regex ${name}-(\[0-9.\]+)\\.tar\\.gz