c2a92a1aea
version 1.1.0 (via revision 464079).
39 lines
882 B
Makefile
39 lines
882 B
Makefile
# Created by: Robin Schilham
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= Clp
|
|
PORTVERSION= 1.16.10
|
|
PORTREVISION= 4
|
|
CATEGORIES= math
|
|
MASTER_SITES= http://www.coin-or.org/download/source/${PORTNAME}/ \
|
|
http://www.mavetju.org/download/adopted/
|
|
|
|
MAINTAINER= co9co9@gmail.com
|
|
COMMENT= Linear Programming Solver
|
|
|
|
LICENSE= EPL
|
|
|
|
BROKEN_powerpc64= fails to compile: CoinSignal.hpp: ISO C++ forbids declaration of '__decltype' with no type
|
|
|
|
USES= blaslapack fortran libtool tar:tgz pathfix
|
|
CXXFLAGS+= -ffast-math
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_LDCONFIG= yes
|
|
TEST_TARGET= unitTest
|
|
TEST_WRKSRC= ${WRKSRC}/${PORTNAME}
|
|
|
|
CONFIGURE_ARGS= --with-lapack-lib="${LAPACKLIB} -L${LOCALBASE}/lib" \
|
|
--with-blas-lib="${BLASLIB} -L${LOCALBASE}/lib" \
|
|
--datadir=${DATADIR}
|
|
|
|
OPTIONS_DEFINE= DEBUG
|
|
PORTDOCS= *
|
|
|
|
DEBUG_CXXFLAGS= -fomit-frame-pointer
|
|
|
|
post-install:
|
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so
|
|
|
|
.include <bsd.port.mk>
|