mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-07 06:40:06 +00:00
975c4836a6
This fixes file conflict between math/clp and math/osi.
48 lines
1.4 KiB
Makefile
48 lines
1.4 KiB
Makefile
# Created by: Robin Schilham
|
|
|
|
PORTNAME= Clp
|
|
DISTVERSION= 1.17.3
|
|
PORTREVISION= 4
|
|
CATEGORIES= math
|
|
MASTER_SITES= https://www.coin-or.org/download/source/${PORTNAME}/
|
|
PKGNAMEPREFIX= coin-or-
|
|
|
|
MAINTAINER= co9co9@gmail.com
|
|
COMMENT= Linear Programming Solver
|
|
|
|
LICENSE= EPL
|
|
|
|
BUILD_DEPENDS= coin-or-Data-Sample>0:math/coin-or-data-sample \
|
|
coin-or-Data-Netlib>0:math/coin-or-data-netlib
|
|
LIB_DEPENDS= libcoinasl.so:math/asl \
|
|
libcoinmumps.so:math/ipopt \
|
|
libCoinUtils.so:math/coinutils \
|
|
libOsi.so:math/osi
|
|
RUN_DEPENDS= coin-or-Data-Sample>0:math/coin-or-data-sample \
|
|
coin-or-Data-Netlib>0:math/coin-or-data-netlib
|
|
|
|
USES= blaslapack compiler:c++11-lang fortran libtool pathfix pkgconfig tar:tgz
|
|
GNU_CONFIGURE= yes
|
|
USE_LDCONFIG= yes
|
|
|
|
INSTALL_TARGET= install-strip
|
|
|
|
CONFIGURE_ARGS= --with-lapack-lib="${LAPACKLIB} -L${LOCALBASE}/lib" \
|
|
--with-blas-lib="${BLASLIB} -L${LOCALBASE}/lib" \
|
|
--with-osi-incdir="${LOCALBASE}/include/coin" --with-osi-lib="${LOCALBASE}/lib/libOsi.so" \
|
|
--with-coinutils-incdir="${LOCALBASE}/include/coin" --with-coinutils-lib="${LOCALBASE}/lib/libCoinUtils.so" \
|
|
--with-netlib-datadir="${LOCALBASE}/share/coin/Data/Netlib" \
|
|
--with-sample-datadir="${LOCALBASE}/share/coin/Data/Sample" \
|
|
--datadir=${DATADIR}
|
|
|
|
TEST_TARGET= unitTest
|
|
TEST_WRKSRC= ${WRKSRC}/${PORTNAME}
|
|
|
|
OPTIONS_DEFINE= DEBUG DOCS
|
|
PORTDOCS= *
|
|
|
|
CXXFLAGS+= -ffast-math
|
|
DEBUG_CXXFLAGS= -fomit-frame-pointer
|
|
|
|
.include <bsd.port.mk>
|