Date: Fri, 30 Apr 2021 19:46:04 GMT From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: ac2602798834 - main - New port: math/flopc++: Library for solving Linear Optimization Problems in C++ Message-ID: <202104301946.13UJk41r064188@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=ac26027988343f23b9aa154b281310d985e9dc09 commit ac26027988343f23b9aa154b281310d985e9dc09 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2021-04-30 19:30:25 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2021-04-30 19:46:00 +0000 New port: math/flopc++: Library for solving Linear Optimization Problems in C++ --- math/Makefile | 1 + math/flopc++/Makefile | 29 +++++++++++++++++++++++++++++ math/flopc++/distinfo | 3 +++ math/flopc++/pkg-descr | 4 ++++ math/flopc++/pkg-plist | 17 +++++++++++++++++ 5 files changed, 54 insertions(+) diff --git a/math/Makefile b/math/Makefile index d3ddd859817c..5d641626803a 100644 --- a/math/Makefile +++ b/math/Makefile @@ -275,6 +275,7 @@ SUBDIR += flexfloat SUBDIR += flint2 SUBDIR += flintqs + SUBDIR += flopc++ SUBDIR += form SUBDIR += fpc-fftw SUBDIR += fpc-gmp diff --git a/math/flopc++/Makefile b/math/flopc++/Makefile new file mode 100644 index 000000000000..a79c20775a1a --- /dev/null +++ b/math/flopc++/Makefile @@ -0,0 +1,29 @@ +PORTNAME= flopc++ +DISTVERSION= 1.2.5 +CATEGORIES= math +MASTER_SITES= http://www.coin-or.org/download/pkgsource/FlopC++/ +PKGNAMEPREFIX= coin-or- +DISTNAME= FlopC++-${DISTVERSION} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Library for solving Linear Optimization Problems in C++ + +LICENSE= EPL +LICENSE_FILE= ${WRKSRC}/LICENSE + +LIB_DEPENDS= libCoinUtils.so:math/coinmp \ + libOsi.so:math/osi + +USES= gmake libtool pkgconfig tar:tgz +USE_LDCONFIG= yes + +USE_GCC= any # clang breaks: no matching conversion for functional-style cast from 'const flopc::SUBSETREF' to 'flopc::MP_domain' https://github.com/coin-or/FlopCpp/issues/28 + +GNU_CONFIGURE= yes + +INSTALL_TARGET= install-strip + +post-install: + @${RM} -r ${STAGEDIR}${PREFIX}/share + +.include <bsd.port.mk> diff --git a/math/flopc++/distinfo b/math/flopc++/distinfo new file mode 100644 index 000000000000..04ca64acec35 --- /dev/null +++ b/math/flopc++/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1619779256 +SHA256 (FlopC++-1.2.5.tgz) = 8b4a21d26bcd375995a8f6e1de25674afee6f5d49cf21c682ab3c543c64c25a7 +SIZE (FlopC++-1.2.5.tgz) = 357541 diff --git a/math/flopc++/pkg-descr b/math/flopc++/pkg-descr new file mode 100644 index 000000000000..27ae52284257 --- /dev/null +++ b/math/flopc++/pkg-descr @@ -0,0 +1,4 @@ +FlopC++ is an open source algebraic modelling language implemented as a C++ +class library. + +WWW: https://projects.coin-or.org/FlopC++ diff --git a/math/flopc++/pkg-plist b/math/flopc++/pkg-plist new file mode 100644 index 000000000000..55c1eb7fe8b9 --- /dev/null +++ b/math/flopc++/pkg-plist @@ -0,0 +1,17 @@ +include/coin/FlopCppConfig.h +include/coin/MP_boolean.hpp +include/coin/MP_constant.hpp +include/coin/MP_constraint.hpp +include/coin/MP_data.hpp +include/coin/MP_domain.hpp +include/coin/MP_expression.hpp +include/coin/MP_index.hpp +include/coin/MP_model.hpp +include/coin/MP_set.hpp +include/coin/MP_utilities.hpp +include/coin/MP_variable.hpp +include/coin/flopc.hpp +lib/libFlopCpp.so +lib/libFlopCpp.so.0 +lib/libFlopCpp.so.0.0.0 +libdata/pkgconfig/flopcpp.pc
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202104301946.13UJk41r064188>