freebsd-ports/math/cbc/Makefile
Yuri Victorovich 408d3768d8 math/nauty: Update 2.7r3 → 2.8.6
PR:		271718
Approved by:	moritz@schmi.tt (maintainer's timeout; 17 days)
2023-06-15 22:05:16 -07:00

53 lines
1.3 KiB
Makefile

PORTNAME= cbc
DISTVERSIONPREFIX= releases/
DISTVERSION= 2.10.10
PORTREVISION= 1
CATEGORIES= math
PKGNAMEPREFIX= coin-or-
MAINTAINER= yuri@FreeBSD.org
COMMENT= Coin-or Branch and Cut: mixed integer programming solver
WWW= https://projects.coin-or.org/Cbc
LICENSE= EPL
LICENSE_FILE= ${WRKSRC}/Cbc/LICENSE
LIB_DEPENDS= libblas.so:math/blas \
libCgl.so:math/cgl \
libClp.so:math/clp \
libcoinasl.so:math/asl \
libipopt.so:math/ipopt \
libcoinmumps.so:math/coin-or-mumps \
libCoinUtils.so:math/coinutils \
liblapack.so:math/lapack \
libnauty.so:math/nauty \
libopenblas.so:math/openblas \
libOsi.so:math/osi
USES= compiler:c++11-lang fortran gmake libtool localbase pkgconfig
USE_LDCONFIG= yes
USE_GITHUB= yes
GH_ACCOUNT= coin-or
GH_PROJECT= Cbc
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-nauty-lib="-L${LOCALBASE}/lib -lnauty" --with-nauty-incdir=${LOCALBASE}/include/nauty
TEST_TARGET= test
OPTIONS_DEFINE= DEBUG PARALLEL
OPTIONS_DEFAULT= PARALLEL
DEBUG_DESC= Compile CBC with debug support
DEBUG_CONFIGURE_ENABLE= debug
PARALLEL_DESC= Compile CBC with parallel (multi-threaded solver) support
PARALLEL_CONFIGURE_ENABLE= cbc-parallel
CONFLICTS_INSTALL= libcouchbase # bin/cbc
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so
.include <bsd.port.mk>