freebsd-ports/math/clp/Makefile
Gerald Pfeifer 879e75a659 Related to revision 499061 bump ports with USES=fortran to have them
benefit from the improved situation where libgcc_s is only used when
absolutely necessary.

Suggested by:	tijl
2019-04-22 13:16:33 +00:00

36 lines
797 B
Makefile

# Created by: Robin Schilham
# $FreeBSD$
PORTNAME= Clp
PORTVERSION= 1.16.10
PORTREVISION= 7
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
USES= blaslapack compiler:c++11-lang fortran libtool pathfix tar:tgz
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 DOCS
PORTDOCS= *
DEBUG_CXXFLAGS= -fomit-frame-pointer
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so
.include <bsd.port.mk>