Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Oct 2014 18:46:42 +0000 (UTC)
From:      Thomas Zander <riggs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r370660 - in head/math: . nlopt
Message-ID:  <201410111846.s9BIkggM020672@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: riggs
Date: Sat Oct 11 18:46:41 2014
New Revision: 370660
URL: https://svnweb.freebsd.org/changeset/ports/370660
QAT: https://qat.redports.org/buildarchive/r370660/

Log:
  - Initial import of math/nlopt
  
  PR:		193262
  Submitted by:	rhurlin@gwdg.de (maintainer)
  Reviewed by:	koobs, riggs

Added:
  head/math/nlopt/
  head/math/nlopt/Makefile   (contents, props changed)
  head/math/nlopt/distinfo   (contents, props changed)
  head/math/nlopt/pkg-descr   (contents, props changed)
  head/math/nlopt/pkg-plist   (contents, props changed)
Modified:
  head/math/Makefile

Modified: head/math/Makefile
==============================================================================
--- head/math/Makefile	Sat Oct 11 18:46:36 2014	(r370659)
+++ head/math/Makefile	Sat Oct 11 18:46:41 2014	(r370660)
@@ -260,6 +260,7 @@
     SUBDIR += ndiff
     SUBDIR += newmat
     SUBDIR += ngraph
+    SUBDIR += nlopt
     SUBDIR += ntl
     SUBDIR += numdiff
     SUBDIR += nyh-hoc

Added: head/math/nlopt/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/nlopt/Makefile	Sat Oct 11 18:46:41 2014	(r370660)
@@ -0,0 +1,34 @@
+# Created by: Rainer Hurling <rhurlin@gwdg.de>
+# $FreeBSD$
+
+PORTNAME=	nlopt
+PORTVERSION=	2.4.2
+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
+
+LIB_DEPENDS=	libgmp.so:${PORTSDIR}/math/gmp \
+		libguile.so:${PORTSDIR}/lang/guile
+BUILD_DEPENDS=	swig2.0:${PORTSDIR}/devel/swig20 \
+		${PYTHON_PKGNAMEPREFIX}numpy>=1.8.1:${PORTSDIR}/math/py-numpy
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}numpy>=1.8.1:${PORTSDIR}/math/py-numpy
+
+CONFIGURE_ARGS=	--enable-shared
+CONFIGURE_ENV=	SWIG="${LOCALBASE}/bin/swig2.0"
+
+USES=		autoreconf compiler:features libtool pathfix \
+		pkgconfig python:2
+USE_AUTOTOOLS=	libtoolize
+USE_LDCONFIG=	yes
+
+PATHFIX_MAKEFILEIN=	Makefile.am
+
+INSTALL_TARGET=	install-strip
+
+.include <bsd.port.mk>

Added: head/math/nlopt/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/nlopt/distinfo	Sat Oct 11 18:46:41 2014	(r370660)
@@ -0,0 +1,2 @@
+SHA256 (nlopt-2.4.2.tar.gz) = 8099633de9d71cbc06cd435da993eb424bbcdbded8f803cdaa9fb8c6e09c8e89
+SIZE (nlopt-2.4.2.tar.gz) = 2361992

Added: head/math/nlopt/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/nlopt/pkg-descr	Sat Oct 11 18:46:41 2014	(r370660)
@@ -0,0 +1,18 @@
+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.
+                                             
+WWW: http://ab-initio.mit.edu/wiki/index.php/NLopt

Added: head/math/nlopt/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/nlopt/pkg-plist	Sat Oct 11 18:46:41 2014	(r370660)
@@ -0,0 +1,21 @@
+include/nlopt.f
+include/nlopt.h
+include/nlopt.hpp
+lib/libnlopt.a
+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
+%%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
+man/man3/nlopt.3.gz
+share/guile/site/nlopt.scm



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201410111846.s9BIkggM020672>