summaryrefslogtreecommitdiffstats
path: root/math/clp/Makefile
blob: 2432715ede4dcd6062d16cffd172c7dd569694ef (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
# Created by: Robin Schilham
# $FreeBSD$

PORTNAME=	Clp
PORTVERSION=	1.12.1
PORTREVISION=	4
CATEGORIES=	math
MASTER_SITES=	http://www.coin-or.org/download/source/Clp/ \
		http://www.mavetju.org/download/adopted/

MAINTAINER=	co9co9@gmail.com
COMMENT=	Linear Programming Solver

LIB_DEPENDS=	liblapack.so:${PORTSDIR}/math/lapack

USES=		fortran libtool tar:tgz
CXXFLAGS+=	-ffast-math -fomit-frame-pointer

GNU_CONFIGURE=	yes
USE_LDCONFIG=	yes

CONFIGURE_ENV+=	${MAKE_ENV}
CONFIGURE_ARGS=	--with-blas="-L${LOCALBASE}/lib -lblas"		\
		--with-lapack="-L${LOCALBASE}/lib -llapack"

regression-test: build
	(cd ${WRKSRC}/Clp && ${MAKE} unitTest )

.include <bsd.port.mk>
OpenPOWER on IntegriCloud