aboutsummaryrefslogtreecommitdiffstats
path: root/math/cbc/Makefile
blob: 04e4c21a5412db82c54158dce177a36d6a6563ae (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
# $FreeBSD$

PORTNAME=   cbc
DISTVERSIONPREFIX=  releases/
DISTVERSION=    2.9.9
PORTREVISION=   4
CATEGORIES= math

MAINTAINER= yuri@FreeBSD.org
COMMENT=    Coin-or Branch and Cut: mixed integer programming solver

LICENSE=    EPL
LICENSE_FILE=   ${WRKSRC}/Cbc/LICENSE

LIB_DEPENDS=    libblas.so:math/blas \
        libCgl.so:math/cgl \
        libClp.so:math/clp \
        liblapack.so:math/lapack

USES=       compiler:c++11-lang fortran gmake libtool pkgconfig
USE_GITHUB= yes
GH_ACCOUNT= coin-or
GH_PROJECT= Cbc
GNU_CONFIGURE=  yes
USE_LDCONFIG=   yes

post-install:
    @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so

.include <bsd.port.mk>