summaryrefslogtreecommitdiff
path: root/math/disco/Makefile
blob: 919eb821f902a578adfa1fbe76684a60280296a1 (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
PORTNAME=	disco
DISTVERSIONPREFIX=	releases/
DISTVERSION=	1.0.0-33
PORTREVISION=	1
DISTVERSIONSUFFIX=	-g68720be
CATEGORIES=	math
PKGNAMEPREFIX=	coin-or-

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Discrete Conic Optimization Solver

LICENSE=	EPL
LICENSE_FILE=	${WRKSRC}/LICENSE

BUILD_DEPENDS=	${LOCALBASE}/lib/libnauty.a:math/nauty
LIB_DEPENDS=	libAlps.so:math/alps \
		libBcps.so:math/bcps \
		libblas.so:math/blas \
		libbonmin.so:math/bonmin \
		libCbc.so:math/cbc \
		libCgl.so:math/cgl \
		libCglConic.so:math/cgl-conic \
		libClp.so:math/clp \
		libcoinasl.so:math/asl \
		libCoinUtils.so:math/coinutils \
		libipopt.so:math/ipopt \
		liblapack.so:math/lapack \
		libopenblas.so:math/openblas \
		libOsi.so:math/osi \
		libOsiConic.so:math/osi-conic \
		libOsiIpopt.so:math/osiipopt

USES=		gmake libtool pkgconfig
USE_LDCONFIG=	yes

USE_GITHUB=	yes
GH_ACCOUNT=	coin-or
GH_PROJECT=	DisCO

GNU_CONFIGURE=	yes

INSTALL_TARGET=	install-strip

.include <bsd.port.mk>