91702a66b2
Reported by: portscout
30 lines
606 B
Makefile
30 lines
606 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= cbc
|
|
DISTVERSIONPREFIX= releases/
|
|
DISTVERSION= 2.10.5
|
|
CATEGORIES= math
|
|
PKGNAMEPREFIX= coin-or-
|
|
|
|
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>
|