xref: /mports/math/cbc/Makefile
  • Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1PORTNAME=	cbc
2DISTVERSIONPREFIX=	releases/
3DISTVERSION=	2.10.13
4CATEGORIES=	math
5PKGNAMEPREFIX=	coin-or-
6
7MAINTAINER=	ports@MidnightBSD.org
8COMMENT=	Coin-or Branch and Cut: mixed integer programming solver
9WWW=		https://projects.coin-or.org/Cbc
10
11LICENSE=	epl
12LICENSE_FILE=	${WRKSRC}/Cbc/LICENSE
13
14LIB_DEPENDS=	libblas.so:math/blas \
15		libCgl.so:math/cgl \
16		libClp.so:math/clp \
17		libcoinasl.so:math/asl \
18		libipopt.so:math/ipopt \
19		libcoinmumps.so:math/coin-or-mumps \
20		libCoinUtils.so:math/coinutils \
21		liblapack.so:math/lapack \
22		libnauty.so:math/nauty \
23		libopenblas.so:math/openblas \
24		libOsi.so:math/osi
25
26USES=		compiler:c++11-lang fortran gmake libtool localbase pkgconfig
27USE_CXXSTD=	gnu++11
28USE_LDCONFIG=	yes
29
30USE_GITHUB=	yes
31GH_ACCOUNT=	coin-or
32GH_PROJECT=	Cbc
33
34GNU_CONFIGURE=	yes
35CONFIGURE_ARGS=	--with-nauty-lib="-L${LOCALBASE}/lib -lnauty" --with-nauty-incdir=${LOCALBASE}/include/nauty
36
37OPTIONS_DEFINE=			DEBUG PARALLEL
38OPTIONS_DEFAULT=		PARALLEL
39
40DEBUG_DESC=			Compile CBC with debug support
41DEBUG_CONFIGURE_ENABLE=		debug
42
43PARALLEL_DESC=			Compile CBC with parallel (multi-threaded solver) support
44PARALLEL_CONFIGURE_ENABLE=	cbc-parallel
45
46CONFLICTS_INSTALL=	libcouchbase # bin/cbc
47
48post-install:
49	@${STRIP_CMD} ${PREFIX}/lib/*.so
50
51.include <bsd.port.mk>
52

served by {OpenGrok

Last Index Update: Sun Mar 22 17:06:33 EDT 2026