aboutsummaryrefslogtreecommitdiffstats
path: root/math/ipopt
diff options
context:
space:
mode:
authorriggs <riggs@FreeBSD.org>2015-10-12 20:26:06 +0800
committerriggs <riggs@FreeBSD.org>2015-10-12 20:26:06 +0800
commit5f556c60b54030c68e034920c36654bb16cd67d5 (patch)
tree0c134f7a1673cf2fc522807cc8ba48d6beb27e0a /math/ipopt
parent1bf6ef9937b690ec74707d62c47169cdb8536426 (diff)
downloadfreebsd-ports-gnome-5f556c60b54030c68e034920c36654bb16cd67d5.tar.gz
freebsd-ports-gnome-5f556c60b54030c68e034920c36654bb16cd67d5.tar.zst
freebsd-ports-gnome-5f556c60b54030c68e034920c36654bb16cd67d5.zip
Update to upstream version 3.12.4
While on it: Convert to OPTION helpers PR: 203291 Submitted by: pfg@FreeBSD.org
Diffstat (limited to 'math/ipopt')
-rw-r--r--math/ipopt/Makefile16
-rw-r--r--math/ipopt/distinfo4
-rw-r--r--math/ipopt/pkg-plist6
3 files changed, 14 insertions, 12 deletions
diff --git a/math/ipopt/Makefile b/math/ipopt/Makefile
index 8c3a666dc7ce..76d09b6c2e01 100644
--- a/math/ipopt/Makefile
+++ b/math/ipopt/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= Ipopt
-PORTVERSION= 3.11.10
+PORTVERSION= 3.12.4
CATEGORIES= math
MASTER_SITES= http://www.coin-or.org/download/source/Ipopt/ \
http://glaros.dtc.umn.edu/gkhome/fetch/sw/metis/OLD/:metis \
@@ -30,11 +30,7 @@ CXXFLAGS+= -ffast-math
OPTIONS_DEFINE= DEBUG DOCS
PORTDOCS= *
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MDEBUG}
-CXXFLAGS+= -fomit-frame-pointer
-.endif
+DEBUG_CXXFLAGS= -fomit-frame-pointer
post-patch::
@${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \
@@ -47,7 +43,13 @@ 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);
-post-install:
+post-install-DOCS-off:
+ ${RM} -rf ${STAGEDIR}${PREFIX}/share/coin
+
+post-install-DOCS-on:
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/Ipopt/doc/documentation.pdf\
+ ${STAGEDIR}${DOCSDIR}
${MV} ${STAGEDIR}${PREFIX}/share/coin/doc ${STAGEDIR}${DOCSDIR}
${RM} -rf ${STAGEDIR}${PREFIX}/share/coin
diff --git a/math/ipopt/distinfo b/math/ipopt/distinfo
index 088c32255b56..b2b85f5ec52e 100644
--- a/math/ipopt/distinfo
+++ b/math/ipopt/distinfo
@@ -1,5 +1,5 @@
-SHA256 (Ipopt-3.11.10.tgz) = 167db936f38158284f010fc5c0cdc1b277fd0c9e180410e9da2f4a70e2abb600
-SIZE (Ipopt-3.11.10.tgz) = 4773911
+SHA256 (Ipopt-3.12.4.tgz) = 292afd952c25ec9fe6225041683dcbd3cb76e15a128764671927dbaf881c2e89
+SIZE (Ipopt-3.12.4.tgz) = 4518646
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 524d20fc0aec..9523a2f0ed23 100644
--- a/math/ipopt/pkg-plist
+++ b/math/ipopt/pkg-plist
@@ -53,13 +53,13 @@ include/coin/ThirdParty/rename.h
include/coin/ThirdParty/struct.h
lib/libcoinmetis.so
lib/libcoinmetis.so.1
-lib/libcoinmetis.so.1.2.11
+lib/libcoinmetis.so.1.3.4
lib/libcoinmumps.so
lib/libcoinmumps.so.1
-lib/libcoinmumps.so.1.4.14
+lib/libcoinmumps.so.1.5.4
lib/libipopt.so
lib/libipopt.so.1
-lib/libipopt.so.1.9.10
+lib/libipopt.so.1.10.4
libdata/pkgconfig/coinmetis.pc
libdata/pkgconfig/coinmumps.pc
libdata/pkgconfig/ipopt.pc