Sat Nov 28 07:33:38 2015 UTC ()
Import nlopt-2.4.2 as math/nlopt.

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.

Reviewed by:	wiz@


(wen)
diff -r0 -r1.1 pkgsrc/math/nlopt/DESCR
diff -r0 -r1.1 pkgsrc/math/nlopt/Makefile
diff -r0 -r1.1 pkgsrc/math/nlopt/PLIST
diff -r0 -r1.1 pkgsrc/math/nlopt/buildlink3.mk
diff -r0 -r1.1 pkgsrc/math/nlopt/distinfo

File Added: pkgsrc/math/nlopt/DESCR
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.

File Added: pkgsrc/math/nlopt/Makefile
# $NetBSD: Makefile,v 1.1 2015/11/28 07:33:38 wen Exp $

DISTNAME=		nlopt-2.4.2
CATEGORIES=		math
MASTER_SITES=		http://ab-initio.mit.edu/nlopt/

MAINTAINER=		pkgsrc-users@NetBSD.org
HOMEPAGE=		http://ab-initio.mit.edu/nlopt/
COMMENT=		Nonlinear optimization library
LICENSE=		gnu-lgpl-v2.1 OR mit

GNU_CONFIGURE=		yes
USE_LIBTOOL=		yes
USE_TOOLS+=		pkg-config
USE_LANGUAGES=		c c++

PKGCONFIG_OVERRIDE=	lib/pkgconfig/nlopt.pc

.include "../../devel/gmp/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

File Added: pkgsrc/math/nlopt/PLIST
@comment $NetBSD: PLIST,v 1.1 2015/11/28 07:33:38 wen Exp $
include/nlopt.f
include/nlopt.h
include/nlopt.hpp
lib/libnlopt.la
lib/pkgconfig/nlopt.pc
man/man3/nlopt.3

File Added: pkgsrc/math/nlopt/buildlink3.mk
# $NetBSD: buildlink3.mk,v 1.1 2015/11/28 07:33:38 wen Exp $

BUILDLINK_TREE+=	nlopt

.if !defined(NLOPT_BUILDLINK3_MK)
NLOPT_BUILDLINK3_MK:=

BUILDLINK_API_DEPENDS.nlopt+=	nlopt>=2.4.2
BUILDLINK_ABI_DEPENDS.nlopt+=	nlopt>=2.4.2
BUILDLINK_PKGSRCDIR.nlopt?=		../../math/nlopt
.endif # NLOPT_BUILDLINK3_MK

BUILDLINK_TREE+=	-nlopt

File Added: pkgsrc/math/nlopt/distinfo
$NetBSD: distinfo,v 1.1 2015/11/28 07:33:38 wen Exp $

SHA1 (nlopt-2.4.2.tar.gz) = 838c399d8fffd7aa56b20231e0d7bd3462ca0226
RMD160 (nlopt-2.4.2.tar.gz) = 851cdb65ce4de04007df1c038c566d0be8d9917b
Size (nlopt-2.4.2.tar.gz) = 2361992 bytes