Index: head/math/nlopt/Makefile =================================================================== --- head/math/nlopt/Makefile (revision 487050) +++ head/math/nlopt/Makefile (revision 487051) @@ -1,36 +1,34 @@ # Created by: Rainer Hurling # $FreeBSD$ PORTNAME= nlopt -PORTVERSION= 2.4.2 -PORTREVISION= 3 +DISTVERSIONPREFIX= v +DISTVERSION= 2.5.0 CATEGORIES= math -MASTER_SITES= http://ab-initio.mit.edu/nlopt/ MAINTAINER= rhurlin@gwdg.de COMMENT= Nonlinear optimization library LICENSE= LGPL21 MIT LICENSE_COMB= multi LICENSE_FILE= ${WRKSRC}/COPYING BROKEN_armv6= fails to package: Unable to access file site-packages/_nlopt.a:No such file or directory BROKEN_armv7= fails to package: Unable to access file site-packages/_nlopt.a:No such file or directory LIB_DEPENDS= libgmp.so:math/gmp \ libguile-2.0.so:lang/guile2 BUILD_DEPENDS= swig3.0:devel/swig30 \ - ${PYTHON_PKGNAMEPREFIX}numpy>=1.9.1,1:math/py-numpy@${PY_FLAVOR} -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.9.1,1:math/py-numpy@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}numpy>=1.15.1:math/py-numpy@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.15.1:math/py-numpy@${PY_FLAVOR} -GNU_CONFIGURE= yes -CONFIGURE_ARGS= --enable-shared -CONFIGURE_ENV= SWIG="${LOCALBASE}/bin/swig3.0" - -USES= autoreconf compiler:features libtool pathfix \ - pkgconfig python:2.7 +USES= cmake compiler:features pathfix pkgconfig python:2.7 USE_LDCONFIG= yes -INSTALL_TARGET= install-strip +USE_GITHUB= yes +GH_ACCOUNT= stevengj + +# Needed to find gmp.h +CFLAGS+= -I${LOCALBASE}/include .include Index: head/math/nlopt/distinfo =================================================================== --- head/math/nlopt/distinfo (revision 487050) +++ head/math/nlopt/distinfo (revision 487051) @@ -1,2 +1,3 @@ -SHA256 (nlopt-2.4.2.tar.gz) = 8099633de9d71cbc06cd435da993eb424bbcdbded8f803cdaa9fb8c6e09c8e89 -SIZE (nlopt-2.4.2.tar.gz) = 2361992 +TIMESTAMP = 1543131988 +SHA256 (stevengj-nlopt-v2.5.0_GH0.tar.gz) = c6dd7a5701fff8ad5ebb45a3dc8e757e61d52658de3918e38bab233e7fd3b4ae +SIZE (stevengj-nlopt-v2.5.0_GH0.tar.gz) = 2403609 Index: head/math/nlopt/pkg-descr =================================================================== --- head/math/nlopt/pkg-descr (revision 487050) +++ head/math/nlopt/pkg-descr (revision 487051) @@ -1,18 +1,20 @@ NLopt is a free/open-source library for nonlinear optimization, providing a common interface for a number of different free optimization outines available online as well as original implementations of various other algorithms. Its features include: - Callable from C, C++, Fortran, Matlab or GNU Octave, Python, GNU Guile, Julia, GNU R, Lua, and OCaml. - A common interface for many different algorithms -- try a different algorithm just by changing one parameter. - Support for large-scale optimization (some algorithms scalable to millions of parameters and thousands of constraints). - Both global and local optimization algorithms. - Algorithms using function values only (derivative-free) and also algorithms exploiting user-supplied gradients. - Algorithms for unconstrained optimization, bound-constrained optimization, and general nonlinear inequality/equality constraints. + - Free/open-source software under the GNU LGPL + (and looser licenses for some portions of NLopt). -WWW: http://ab-initio.mit.edu/wiki/index.php/NLopt +WWW: https://nlopt.readthedocs.io/en/latest/ Index: head/math/nlopt/pkg-plist =================================================================== --- head/math/nlopt/pkg-plist (revision 487050) +++ head/math/nlopt/pkg-plist (revision 487051) @@ -1,21 +1,18 @@ include/nlopt.f include/nlopt.h include/nlopt.hpp -lib/libnlopt.a +lib/cmake/nlopt/NLoptConfig.cmake +lib/cmake/nlopt/NLoptConfigVersion.cmake +lib/cmake/nlopt/NLoptLibraryDepends-%%CMAKE_BUILD_TYPE%%.cmake +lib/cmake/nlopt/NLoptLibraryDepends.cmake +lib/guile/2.0/extensions/nlopt_guile.so lib/libnlopt.so lib/libnlopt.so.0 -lib/libnlopt.so.0.8.2 -lib/libnlopt_guile.a -lib/libnlopt_guile.so -lib/libnlopt_guile.so.0 -lib/libnlopt_guile.so.0.8.2 -libdata/pkgconfig/nlopt.pc -%%PYTHON_SITELIBDIR%%/_nlopt.a +lib/libnlopt.so.0.9.0 %%PYTHON_SITELIBDIR%%/_nlopt.so -%%PYTHON_SITELIBDIR%%/_nlopt.so.0 -%%PYTHON_SITELIBDIR%%/_nlopt.so.0.8.2 %%PYTHON_SITELIBDIR%%/nlopt.py -%%PYTHON_SITELIBDIR%%/nlopt.pyc -%%PYTHON_SITELIBDIR%%/nlopt.pyo +libdata/pkgconfig/nlopt.pc man/man3/nlopt.3.gz +man/man3/nlopt_minimize.3.gz +man/man3/nlopt_minimize_constrained.3.gz share/guile/site/2.0/nlopt.scm