Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Feb 2015 20:24:32 +0000 (UTC)
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r379703 - in head/math: . cminpack cminpack/files
Message-ID:  <201502232024.t1NKOWjU021809@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pawel
Date: Mon Feb 23 20:24:31 2015
New Revision: 379703
URL: https://svnweb.freebsd.org/changeset/ports/379703
QAT: https://qat.redports.org/buildarchive/r379703/

Log:
  Minpack includes software for solving nonlinear equations and nonlinear least
  squares problems. Five algorithmic paths each include a core subroutine and
  an easy-to-use driver. The algorithms proceed either from an analytic
  specification of the Jacobian matrix or directly from the problem functions.
  The paths include facilities for systems of equations with a banded Jacobian
  matrix, for least squares problems with a large amount of data, and for
  checking the consistency of the Jacobian matrix with the functions
  
  WWW: http://devernay.free.fr/hacks/cminpack/
  
  PR:		196697
  Submitted by:	Fernando Apesteguia <fernando.apesteguia@gmail.com>

Added:
  head/math/cminpack/
  head/math/cminpack/Makefile   (contents, props changed)
  head/math/cminpack/distinfo   (contents, props changed)
  head/math/cminpack/files/
  head/math/cminpack/files/patch-CMakeLists.txt   (contents, props changed)
  head/math/cminpack/files/patch-cmake_CMakeLists.txt   (contents, props changed)
  head/math/cminpack/pkg-descr   (contents, props changed)
  head/math/cminpack/pkg-plist   (contents, props changed)
Modified:
  head/math/Makefile

Modified: head/math/Makefile
==============================================================================
--- head/math/Makefile	Mon Feb 23 20:17:23 2015	(r379702)
+++ head/math/Makefile	Mon Feb 23 20:24:31 2015	(r379703)
@@ -88,6 +88,7 @@
     SUBDIR += cln
     SUBDIR += cloog
     SUBDIR += clp
+    SUBDIR += cminpack
     SUBDIR += coinmp
     SUBDIR += concorde
     SUBDIR += convertall

Added: head/math/cminpack/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/cminpack/Makefile	Mon Feb 23 20:24:31 2015	(r379703)
@@ -0,0 +1,21 @@
+# Created by: Fernando Apesteguia <fernando.apesteguia@gmail.com>
+# $FreeBSD$
+
+PORTNAME=	cminpack
+PORTVERSION=	1.3.4
+CATEGORIES=	math
+MASTER_SITES=	http://devernay.free.fr/hacks/${PORTNAME}/
+
+MAINTAINER=	fernando.apesteguia@gmail.com
+COMMENT=	Solving nonlinear equations and nonlinear least squares problems
+
+USES=		cmake:outsource
+
+OPTIONS_DEFINE=	EXAMPLES
+
+post-install:
+	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} "*.[ch] testdata" \
+		${STAGEDIR}${EXAMPLESDIR})
+
+.include <bsd.port.mk>

Added: head/math/cminpack/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/cminpack/distinfo	Mon Feb 23 20:24:31 2015	(r379703)
@@ -0,0 +1,2 @@
+SHA256 (cminpack-1.3.4.tar.gz) = 3b517bf7dca68cc9a882883db96dac0a0d37d72aba6dfb0c9c7e78e67af503ca
+SIZE (cminpack-1.3.4.tar.gz) = 311147

Added: head/math/cminpack/files/patch-CMakeLists.txt
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/cminpack/files/patch-CMakeLists.txt	Mon Feb 23 20:24:31 2015	(r379703)
@@ -0,0 +1,11 @@
+--- CMakeLists.txt.orig	2014-05-28 09:24:45 UTC
++++ CMakeLists.txt
+@@ -58,6 +58,8 @@ set (cminpack_hdrs
+ 
+ add_library (cminpack ${LIB_TYPE} ${cminpack_srcs})
+ 
++TARGET_LINK_LIBRARIES(cminpack m)
++
+ install (TARGETS cminpack 
+    LIBRARY DESTINATION ${CMINPACK_LIB_INSTALL_DIR} COMPONENT library
+    ARCHIVE DESTINATION ${CMINPACK_LIB_INSTALL_DIR} COMPONENT library

Added: head/math/cminpack/files/patch-cmake_CMakeLists.txt
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/cminpack/files/patch-cmake_CMakeLists.txt	Mon Feb 23 20:24:31 2015	(r379703)
@@ -0,0 +1,11 @@
+--- cmake/CMakeLists.txt.orig	2014-02-26 18:22:04 UTC
++++ cmake/CMakeLists.txt
+@@ -3,6 +3,6 @@ set(PKG_EXTERNAL_DEPS "")
+ set(pkg_conf_file ${CMAKE_CURRENT_BINARY_DIR}/cminpack.pc)
+ configure_file(cminpack.pc.in ${pkg_conf_file} @ONLY)
+ install(FILES ${pkg_conf_file}
+-    DESTINATION ${CMINPACK_LIB_INSTALL_DIR}/pkgconfig/ COMPONENT pkgconfig)
++    DESTINATION libdata/pkgconfig/ COMPONENT pkgconfig)
+ 
+-install(FILES FindCMinpack.cmake DESTINATION ${CMAKE_ROOT}/Modules)
++install(FILES FindCMinpack.cmake DESTINATION share/cmake/Modules)

Added: head/math/cminpack/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/cminpack/pkg-descr	Mon Feb 23 20:24:31 2015	(r379703)
@@ -0,0 +1,9 @@
+Minpack includes software for solving nonlinear equations and nonlinear least 
+squares problems. Five algorithmic paths each include a core subroutine and 
+an easy-to-use driver. The algorithms proceed either from an analytic 
+specification of the Jacobian matrix or directly from the problem functions.
+The paths include facilities for systems of equations with a banded Jacobian 
+matrix, for least squares problems with a large amount of data, and for 
+checking the consistency of the Jacobian matrix with the functions
+
+WWW: http://devernay.free.fr/hacks/cminpack/

Added: head/math/cminpack/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/cminpack/pkg-plist	Mon Feb 23 20:24:31 2015	(r379703)
@@ -0,0 +1,63 @@
+include/cminpack-1/cminpack.h
+include/cminpack-1/minpack.h
+lib/libcminpack.a
+libdata/pkgconfig/cminpack.pc
+share/cmake/Modules/FindCMinpack.cmake
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/chkdrv.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/chkdrv_.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/cmpfiles.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/errjac.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/genf77tests.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/hybdrv.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/hybdrv_.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/hybipt.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/hyjdrv.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/hyjdrv_.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ibmdpdr.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ibmdpdr_.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lmddrv.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lmddrv_.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lmdipt.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lmfdrv.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lmfdrv_.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lmsdrv.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/lmsdrv_.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/machar.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ssq.h
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ssqfcn.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ssqjac.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tchkder_.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tchkderc.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tchkderc_box.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tenorm_.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tenormc.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/testdata/chkder.data
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/testdata/hybrd.data
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/testdata/lm.data
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tfdjac2_.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tfdjac2c.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/thybrd1_.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/thybrd1c.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/thybrd_.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/thybrdc.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/thybrj1_.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/thybrj1c.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/thybrj_.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/thybrjc.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/thybrjc_box.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tlmder1_.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tlmder1c.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tlmder_.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tlmderc.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tlmderc_box.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tlmdif1_.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tlmdif1c.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tlmdif_.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tlmdifc.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tlmstr1_.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tlmstr1c.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tlmstr_.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/tlmstrc.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/vec.h
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/vecfcn.c
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/vecjac.c



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