freebsd-ports/math/coinutils/Makefile
Gerald Pfeifer ea8c8ec7da Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.

PR:		238330
2019-07-26 20:46:53 +00:00

32 lines
972 B
Makefile

# $FreeBSD$
PORTNAME= CoinUtils
DISTVERSION= 2.11.1
PORTREVISION= 2
CATEGORIES= math
MASTER_SITES= https://www.coin-or.org/download/source/${PORTNAME}/
PKGNAMEPREFIX= coin-or-
MAINTAINER= yuri@FreeBSD.org
COMMENT= Utilities for COIN-OR project
LICENSE= EPL
LICENSE_FILE= ${WRKSRC}/CoinUtils/LICENSE
BUILD_DEPENDS= coin-or-Data-Sample>0:math/coin-or-data-sample \
coin-or-Data-Netlib>0:math/coin-or-data-netlib
LIB_DEPENDS= libopenblas.so:math/openblas
RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= fortran gmake libtool localbase:ldflags pkgconfig zip
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-blas-lib="-lopenblas" --with-lapack-lib="-lopenblas" \
--with-sample-datadir="${LOCALBASE}/share/coin/Data/Sample" \
--with-netlib-datadir="${LOCALBASE}/share/coin/Data/Netlib"
# doesn't link with the optional dependency glpk: https://github.com/coin-or/CoinUtils/issues/7
USE_LDCONFIG= yes
post-install:
@${RM} -r ${STAGEDIR}${PREFIX}/share/coin
.include <bsd.port.mk>