1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-04 06:15:24 +00:00
freebsd-ports/math/osi/Makefile
Gerald Pfeifer a9f015d155 Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.

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, as a double check, everything INDEX-11 showed depending on lang/gcc7.

PR:		231590
2018-12-12 01:35:33 +00:00

35 lines
1.2 KiB
Makefile

# $FreeBSD$
PORTNAME= Osi
DISTVERSION= 0.107.9
PORTREVISION= 1
CATEGORIES= math
MASTER_SITES= https://www.coin-or.org/download/source/${PORTNAME}/
PKGNAMEPREFIX= coin-or-
MAINTAINER= yuri@FreeBSD.org
COMMENT= COIN-OR Open Solver Interface, an API for calling solver libraries
LICENSE= EPL
LICENSE_FILE= ${WRKSRC}/Osi/LICENSE
BUILD_DEPENDS= ${RUN_DEPENDS}
LIB_DEPENDS= libCoinUtils.so:math/coinutils \
libopenblas.so:math/openblas
RUN_DEPENDS= coin-or-Data-Sample>0:math/coin-or-data-sample \
coin-or-Data-Netlib>0:math/coin-or-data-netlib
USES= fortran gmake libtool localbase:ldflags pkgconfig tar:tgz
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" \
--with-coinutils-incdir="${LOCALBASE}/include/coin" --with-coinutils-lib="${LOCALBASE}/lib/libCoinUtils.so"
# Incompatible with optional dependencies glpk and SoPlex: https://projects.coin-or.org/Osi/ticket/117 https://projects.coin-or.org/Osi/ticket/118
USE_LDCONFIG= yes
post-install:
@${RM} -r ${STAGEDIR}${PREFIX}/share/coin
.include <bsd.port.mk>