aboutsummaryrefslogtreecommitdiff
path: root/math/couenne/Makefile
blob: 99be2e8d6b7aba89ed3cfedd7d193ee01d0b4557 (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
PORTNAME=	couenne
DISTVERSIONPREFIX=	releases/
DISTVERSION=	0.5.8
PORTREVISION=	4
CATEGORIES=	math
PKGNAMEPREFIX=	coin-or-

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Convex Over and Under Envelopes for NonliNear Estimation

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

BUILD_DEPENDS=	${LOCALBASE}/lib/libnauty.a:math/nauty
LIB_DEPENDS=	libbonmin.so:math/bonmin \
		libCbc.so:math/cbc \
		libCgl.so:math/cgl \
		libClp.so:math/clp \
		libCoinUtils.so:math/coinutils \
		libipopt.so:math/ipopt \
		libopenblas.so:math/openblas

USES=		blaslapack:netlib fortran gmake libtool pkgconfig
USE_LDCONFIG=	yes

USE_GITHUB=	yes
GH_ACCOUNT=	coin-or
GH_PROJECT=	Couenne

GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--with-nauty-incdir=${LOCALBASE}/include/nauty --with-nauty-lib=${LOCALBASE}/lib/libnauty.a

INSTALL_TARGET=	install-strip

.include <bsd.port.mk>