math/coinmp: Update to 1.8.0

PR:		197554
Submitted by:	Carlos Jacobo Puga Medina <cpm@fbsd.es> (maintainer)
Approved by:	zi
This commit is contained in:
Brad Davis 2015-02-13 01:01:35 +00:00
parent d4c4b9a3af
commit c31c9023ec
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=378905
7 changed files with 35 additions and 21 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= apache-openoffice
PORTVERSION= ${AOOVERSION}
PORTREVISION= 5
PORTREVISION= 6
CATEGORIES= editors java
MASTER_SITES= APACHE/openoffice/${PORTVERSION}/source \
http://tools.openoffice.org/unowinreg_prebuild/680/:unoreg \

View File

@ -3,6 +3,7 @@
PORTNAME= apache-openoffice
PORTVERSION= ${AOOVERSION1}.${AOOVERSION2}.${SVNREVISION}
PORTREVISION= 1
PORTEPOCH= 3
CATEGORIES= editors java
MASTER_SITES= http://ci.apache.org/projects/openoffice/milestones/${AOOVERSION}-${AOORC}-r${SVNREVISION}/source/ \

View File

@ -3,7 +3,7 @@
PORTNAME= abacus
DISTVERSION= 3.2betaU1
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= math
MASTER_SITES= http://www.informatik.uni-koeln.de/abacus/

View File

@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= CoinMP
PORTVERSION= 1.7.6
PORTREVISION= 1
PORTVERSION= 1.8.0
CATEGORIES= math
MASTER_SITES= http://www.coin-or.org/download/source/CoinMP/
@ -20,8 +19,8 @@ CONFLICTS= clp-[0-9]*
GNU_CONFIGURE= yes
USES= libtool pkgconfig tar:tgz
USE_LDCONFIG= yes
INSTALL_TARGET= install-strip
CONFIGURE_ARGS+= PKG_CONFIG_PATH=${STAGEDIR}${PREFIX}/libdata/pkgconfig
CXXFLAGS+= -ffast-math
OPTIONS_DEFINE= DEBUG DOCS GLPK
@ -39,20 +38,28 @@ LIB_DEPENDS+= libglpk.so:${PORTSDIR}/math/glpk
CONFIGURE_ARGS+= --disable-glpk-libcheck
.endif
CXXFLAGS+= -ffast-math
.if ${PORT_OPTIONS:MDEBUG}
CXXFLAGS+= -fomit-frame-pointer
.endif
STRIP_FILES= libCoinUtils libOsi libOsiClp libOsiCommonTests libClp libClpSolver \
libCgl libCbc libCbcSolver libOsiCbc libCoinMP
post-patch::
@${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \
's|$$(libdir)/pkgconfig|${PREFIX}/libdata/pkgconfig|' \
-e 's|$$(DESTDIR)$$(addlibsdir)|$$(addlibsdir)|g' \
-e 's|addlibs_DATA = examples/Makefile examples/example.c||g'
-e 's|addlibs_DATA = examples/Makefile examples/example.c||g' \
-e 's|DocInstallDir = $$(datadir)/coin/doc/$$(PACKAGE_NAME)|DocInstallDir = $$(datadir)/doc/CoinMP/$$(PACKAGE_NAME)|' \
-e 's| $$(MAKE) $$(AM_MAKEFLAGS) install-data-hook||'
${REINPLACE_CMD} -e 's|datacoin_DATA = $$(EXAMPLE_FILES)|datacoin_DATA = |' \
-e 's|datacoindir = $$(datadir)/coin/Data/Sample|datacoindir = |' ${WRKSRC}/Data/Sample/Makefile.in
${REINPLACE_CMD} -e 's|addlibsdir = $$(DESTDIR)$$(datadir)/coin/doc/CoinMP|addlibsdir = |' ${WRKSRC}/CoinMP/Makefile.in
post-install:
${MV} ${STAGEDIR}${PREFIX}/share/coin/doc ${STAGEDIR}${DOCSDIR}
${RM} -rf ${STAGEDIR}${PREFIX}/share/coin
.for filename in ${STRIP_FILES}
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/${filename}.so.*
.endfor
check regression-test test: build
@(cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${_MAKE_JOBS} \

View File

@ -1,2 +1,2 @@
SHA256 (CoinMP-1.7.6.tgz) = 86c798780b9e1f5921fe4efe651a93cb420623b45aa1fdff57af8c37f116113f
SIZE (CoinMP-1.7.6.tgz) = 10343849
SHA256 (CoinMP-1.8.0.tgz) = 4f17c221ca9a38a692ebf53497bf2630be258581583e911955b269c0cc88b627
SIZE (CoinMP-1.8.0.tgz) = 10619577

View File

@ -36,6 +36,7 @@ include/coin/CbcGeneral.hpp
include/coin/CbcGeneralDepth.hpp
include/coin/CbcHeuristic.hpp
include/coin/CbcHeuristicDINS.hpp
include/coin/CbcHeuristicDW.hpp
include/coin/CbcHeuristicDive.hpp
include/coin/CbcHeuristicDiveCoefficient.hpp
include/coin/CbcHeuristicDiveFractional.hpp
@ -190,6 +191,7 @@ include/coin/CoinPresolveTighten.hpp
include/coin/CoinPresolveTripleton.hpp
include/coin/CoinPresolveUseless.hpp
include/coin/CoinPresolveZeros.hpp
include/coin/CoinRational.hpp
include/coin/CoinSearchTree.hpp
include/coin/CoinShallowPackedVector.hpp
include/coin/CoinSignal.hpp
@ -228,34 +230,37 @@ include/coin/OsiSolverParameters.hpp
include/coin/OsiUnitTests.hpp
lib/libCbc.so
lib/libCbc.so.3
lib/libCbc.so.3.8.8
lib/libCbc.so.3.9.2
lib/libCbcSolver.so
lib/libCbcSolver.so.3
lib/libCbcSolver.so.3.8.8
lib/libCbcSolver.so.3.9.2
lib/libCgl.so
lib/libCgl.so.1
lib/libCgl.so.1.8.5
lib/libCgl.so.1.9.2
lib/libClp.so
lib/libClp.so.1
lib/libClp.so.1.12.6
lib/libClp.so.1.13.3
lib/libClpSolver.so
lib/libClpSolver.so.1
lib/libClpSolver.so.1.13.3
lib/libCoinMP.so
lib/libCoinMP.so.1
lib/libCoinMP.so.1.7.6
lib/libCoinMP.so.1.8.0
lib/libCoinUtils.so
lib/libCoinUtils.so.3
lib/libCoinUtils.so.3.9.11
lib/libCoinUtils.so.3.10.3
lib/libOsi.so
lib/libOsi.so.1
lib/libOsi.so.1.11.5
lib/libOsi.so.1.12.2
lib/libOsiCbc.so
lib/libOsiCbc.so.3
lib/libOsiCbc.so.3.8.8
lib/libOsiCbc.so.3.9.2
lib/libOsiClp.so
lib/libOsiClp.so.1
lib/libOsiClp.so.1.12.6
lib/libOsiClp.so.1.13.3
lib/libOsiCommonTests.so
lib/libOsiCommonTests.so.1
lib/libOsiCommonTests.so.1.11.5
lib/libOsiCommonTests.so.1.12.2
libdata/pkgconfig/cbc.pc
libdata/pkgconfig/cgl.pc
libdata/pkgconfig/clp.pc

View File

@ -3,6 +3,7 @@
PORTNAME= ogdf
PORTVERSION= 2012.07
PORTREVISION= 1
CATEGORIES= math
MASTER_SITES= LOCAL/gahr \
http://people.freebsd.org/~gahr/distfiles/