summaryrefslogtreecommitdiff
path: root/math/cgl/Makefile
blob: 7feb6b84538d212d76479fcbaf741c96b7ae12ba (plain)
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
PORTNAME=	cgl
DISTVERSIONPREFIX=	releases/
DISTVERSION=	0.60.6
CATEGORIES=	math
PKGNAMEPREFIX=	coin-or-

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Collection of cut generators for COIN-OR packages that use cuts
WWW=		https://github.com/coin-or/Cgl

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

LIB_DEPENDS=	libcoinasl.so:math/asl \
		libblas.so:math/blas \
		libCoinUtils.so:math/coinutils \
		libClp.so:math/clp \
		libcoinmumps.so:math/coin-or-mumps \
		libopenblas.so:math/openblas \
		libOsi.so:math/osi

USES=		compiler:c++11-lang gmake libtool pkgconfig
USE_LDCONFIG=	yes

USE_GITHUB=	yes
GH_ACCOUNT=	coin-or
GH_PROJECT=	Cgl

GNU_CONFIGURE=	yes

TEST_TARGET=	test

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

.include <bsd.port.mk>