blob: a151a5a47e6b6e98ba36bca54e76cf80567b6337 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
PORTNAME= cbc
DISTVERSIONPREFIX= releases/
DISTVERSION= 2.10.12
PORTREVISION= 1
CATEGORIES= math
PKGNAMEPREFIX= coin-or-
MAINTAINER= yuri@FreeBSD.org
COMMENT= Coin-or Branch and Cut: mixed integer programming solver
WWW= https://github.com/coin-or/Cbc
LICENSE= EPL
LICENSE_FILE= ${WRKSRC}/Cbc/LICENSE
LIB_DEPENDS= libCgl.so:math/cgl \
libClp.so:math/clp \
libcoinasl.so:math/asl \
libcoinmumps.so:math/coin-or-mumps \
libCoinUtils.so:math/coinutils \
libnauty.so:math/nauty \
libopenblas.so:math/openblas \
libOsi.so:math/osi
USES= compiler:c++11-lang fortran gmake libtool localbase pkgconfig
USE_CXXSTD= gnu++11
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>
|