blob: 101e1d3743f95eb866276dfc57b3f85036f6fc6e (
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
|
PORTNAME= bonmin
DISTVERSIONPREFIX= releases/
DISTVERSION= 1.8.8
PORTREVISION= 5
CATEGORIES= math
PKGNAMEPREFIX= coin-or-
MAINTAINER= yuri@FreeBSD.org
COMMENT= Basic Open-source Nonlinear Mixed INteger programming
LICENSE= EPL
LICENSE_FILE= ${WRKSRC}/Bonmin/LICENSE
LIB_DEPENDS= libCbc.so:math/cbc \
libCgl.so:math/cgl \
libClp.so:math/clp \
libcoinasl.so:math/asl \
libCoinUtils.so:math/coinutils \
libipopt.so:math/ipopt \
libopenblas.so:math/openblas
USES= blaslapack compiler:c++11-lang gmake libtool pkgconfig
USE_LDCONFIG= yes
USE_GITHUB= yes
GH_ACCOUNT= coin-or
GH_PROJECT= Bonmin
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
TEST_TARGET= test
SUB_FILES= ${PORTNAME}.msc
SUB_LIST= PORTVERSION=${PORTVERSION}
post-install:
# install MiniZinc configuration file
${MKDIR} ${STAGEDIR}${PREFIX}/share/minizinc/solvers
${INSTALL_DATA} ${WRKDIR}/${PORTNAME}.msc ${STAGEDIR}${PREFIX}/share/minizinc/solvers
.include <bsd.port.mk>
|