svn commit: r401681 - in head/math: . R-cran-nloptr

TAKATSU Tomonari tota at FreeBSD.org
Sun Nov 15 03:57:21 UTC 2015


Author: tota
Date: Sun Nov 15 03:57:20 2015
New Revision: 401681
URL: https://svnweb.freebsd.org/changeset/ports/401681

Log:
  - Add new port: math/R-cran-nloptr
  
    nloptr is an R interface to NLopt. NLopt is a free/open-source
    library for nonlinear optimization, providing a common interface
    for a number of different free optimization routines available
    online as well as original implementations of various other algorithms.
  
    WWW: https://cran.r-project.org/web/packages/nloptr/

Added:
  head/math/R-cran-nloptr/
  head/math/R-cran-nloptr/Makefile   (contents, props changed)
  head/math/R-cran-nloptr/distinfo   (contents, props changed)
  head/math/R-cran-nloptr/pkg-descr   (contents, props changed)
Modified:
  head/math/Makefile

Modified: head/math/Makefile
==============================================================================
--- head/math/Makefile	Sun Nov 15 03:37:01 2015	(r401680)
+++ head/math/Makefile	Sun Nov 15 03:57:20 2015	(r401681)
@@ -34,6 +34,7 @@
     SUBDIR += R-cran-memisc
     SUBDIR += R-cran-minqa
     SUBDIR += R-cran-mvtnorm
+    SUBDIR += R-cran-nloptr
     SUBDIR += R-cran-nnls
     SUBDIR += R-cran-outliers
     SUBDIR += R-cran-psych

Added: head/math/R-cran-nloptr/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/R-cran-nloptr/Makefile	Sun Nov 15 03:57:20 2015	(r401681)
@@ -0,0 +1,21 @@
+# Created by: TAKATSU Tomonari <tota at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	nloptr
+PORTVERSION=	1.0.4
+CATEGORIES=	math
+DISTNAME=	${PORTNAME}_${PORTVERSION}
+
+MAINTAINER=	tota at FreeBSD.org
+COMMENT=	R interface to NLopt
+
+LICENSE=	LGPL3
+
+LIB_DEPENDS=	libnlopt.so:${PORTSDIR}/math/nlopt
+
+USES=	cran:auto-plist pkgconfig
+
+post-patch:
+	@${REINPLACE_CMD} -e 's/<<</</' ${WRKSRC}/configure
+
+.include <bsd.port.mk>

Added: head/math/R-cran-nloptr/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/R-cran-nloptr/distinfo	Sun Nov 15 03:57:20 2015	(r401681)
@@ -0,0 +1,2 @@
+SHA256 (nloptr_1.0.4.tar.gz) = 0981a80c46c174a5458bdb8427b2db5428c3daca12ff2c30df7023f143fad7b3
+SIZE (nloptr_1.0.4.tar.gz) = 353942

Added: head/math/R-cran-nloptr/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/R-cran-nloptr/pkg-descr	Sun Nov 15 03:57:20 2015	(r401681)
@@ -0,0 +1,6 @@
+nloptr is an R interface to NLopt. NLopt is a free/open-source
+library for nonlinear optimization, providing a common interface
+for a number of different free optimization routines available
+online as well as original implementations of various other algorithms.
+
+WWW: https://cran.r-project.org/web/packages/nloptr/


More information about the svn-ports-all mailing list