aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authorrobak <robak@FreeBSD.org>2017-02-28 00:37:40 +0800
committerrobak <robak@FreeBSD.org>2017-02-28 00:37:40 +0800
commit48a9addf0ec868a17dcfbdd62747257650044932 (patch)
tree9d27ca713d0c77efa16f2caba5db69888fdb3b58 /math
parent4c00796c82d5763dcc329e8844ae44671288fc62 (diff)
downloadfreebsd-ports-gnome-48a9addf0ec868a17dcfbdd62747257650044932.tar.gz
freebsd-ports-gnome-48a9addf0ec868a17dcfbdd62747257650044932.tar.zst
freebsd-ports-gnome-48a9addf0ec868a17dcfbdd62747257650044932.zip
math/ipopt: update 3.12.6 -> 3.12.7
- Reset maintainership - Add patches - Add regression test option PR: 217377 Submitted by: pfg (maintainer)
Diffstat (limited to 'math')
-rw-r--r--math/ipopt/Makefile14
-rw-r--r--math/ipopt/distinfo6
-rw-r--r--math/ipopt/pkg-plist8
3 files changed, 18 insertions, 10 deletions
diff --git a/math/ipopt/Makefile b/math/ipopt/Makefile
index 658f672af91f..d445ce6889d8 100644
--- a/math/ipopt/Makefile
+++ b/math/ipopt/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= Ipopt
-PORTVERSION= 3.12.6
-PORTREVISION= 1
+PORTVERSION= 3.12.7
CATEGORIES= math
MASTER_SITES= http://www.coin-or.org/download/source/Ipopt/ \
http://glaros.dtc.umn.edu/gkhome/fetch/sw/metis/OLD/:metis \
@@ -12,7 +11,7 @@ DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
metis-4.0.3.tar.gz:metis MUMPS_4.10.0.tar.gz:mumps
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
-MAINTAINER= pfg@FreeBSD.org
+MAINTAINER= ports@FreeBSD.org
COMMENT= Software package for large-scale nonlinear optimization
LICENSE= EPL
@@ -42,6 +41,10 @@ post-extract:
@(cd ${WRKSRC}/ThirdParty/Mumps && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${DISTDIR}/MUMPS_4.10.0.tar.gz ${EXTRACT_AFTER_ARGS});
@(${MV} ${WRKSRC}/ThirdParty/Mumps/MUMPS_4.10.0 ${WRKSRC}/ThirdParty/Mumps/MUMPS);
+pre-patch:
+ @(cd ${WRKSRC}/ThirdParty/Mumps && ${PATCH} -p0 < mumps.patch && ${PATCH} -p0 < mumps_mpi.patch )
+ @(${MV} ${WRKSRC}/ThirdParty/Mumps/MUMPS/libseq/mpi.h ${WRKSRC}/ThirdParty/Mumps/MUMPS/libseq/mumps_mpi.h);
+
post-install-DOCS-off:
${RM} -r ${STAGEDIR}${PREFIX}/share/coin
@@ -52,4 +55,9 @@ post-install-DOCS-on:
${MV} ${STAGEDIR}${PREFIX}/share/coin/doc ${STAGEDIR}${DOCSDIR}
${RM} -r ${STAGEDIR}${PREFIX}/share/coin
+.if defined(MAINTAINER_MODE)
+regression-test:
+ (cd ${WRKSRC}; ${MAKE_CMD} test)
+.endif
+
.include <bsd.port.mk>
diff --git a/math/ipopt/distinfo b/math/ipopt/distinfo
index 61095d48d1ce..2582a9596c14 100644
--- a/math/ipopt/distinfo
+++ b/math/ipopt/distinfo
@@ -1,6 +1,6 @@
-TIMESTAMP = 1476029922
-SHA256 (Ipopt-3.12.6.tgz) = 6aaa6bd862d54eba6fb966950fa6928ca01d66cf4cb842b2f41a7ebfa61eee2b
-SIZE (Ipopt-3.12.6.tgz) = 4526724
+TIMESTAMP = 1488130237
+SHA256 (Ipopt-3.12.7.tgz) = 9c8b02149fa4f0cdf63e838ae68f86aa41a577d7f05932139eede9179f314861
+SIZE (Ipopt-3.12.7.tgz) = 4528176
SHA256 (metis-4.0.3.tar.gz) = 5efa35de80703c1b2c4d0de080fafbcf4e0d363a21149a1ad2f96e0144841a55
SIZE (metis-4.0.3.tar.gz) = 522624
SHA256 (MUMPS_4.10.0.tar.gz) = d0f86f91a74c51a17a2ff1be9c9cee2338976f13a6d00896ba5b43a5ca05d933
diff --git a/math/ipopt/pkg-plist b/math/ipopt/pkg-plist
index cdb175a15661..92d26de397ec 100644
--- a/math/ipopt/pkg-plist
+++ b/math/ipopt/pkg-plist
@@ -70,21 +70,21 @@ include/coin/ThirdParty/defs.h
include/coin/ThirdParty/dmumps_c.h
include/coin/ThirdParty/macros.h
include/coin/ThirdParty/metis.h
-include/coin/ThirdParty/mpi.h
include/coin/ThirdParty/mumps_c_types.h
include/coin/ThirdParty/mumps_compat.h
+include/coin/ThirdParty/mumps_mpi.h
include/coin/ThirdParty/proto.h
include/coin/ThirdParty/rename.h
include/coin/ThirdParty/struct.h
lib/libcoinmetis.so
lib/libcoinmetis.so.1
-lib/libcoinmetis.so.1.3.4
+lib/libcoinmetis.so.1.3.5
lib/libcoinmumps.so
lib/libcoinmumps.so.1
-lib/libcoinmumps.so.1.5.5
+lib/libcoinmumps.so.1.6.0
lib/libipopt.so
lib/libipopt.so.1
-lib/libipopt.so.1.10.6
+lib/libipopt.so.1.10.7
libdata/pkgconfig/coinmetis.pc
libdata/pkgconfig/coinmumps.pc
libdata/pkgconfig/ipopt.pc