2018-12-10 02:06:34 +01:00
|
|
|
PORTNAME= CoinUtils
|
2022-02-24 19:38:26 +01:00
|
|
|
DISTVERSIONPREFIX= releases/
|
|
|
|
DISTVERSION= 2.11.6
|
2018-12-10 02:06:34 +01:00
|
|
|
CATEGORIES= math
|
|
|
|
PKGNAMEPREFIX= coin-or-
|
|
|
|
|
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
|
|
|
COMMENT= Utilities for COIN-OR project
|
2022-09-07 23:06:12 +02:00
|
|
|
WWW= https://projects.coin-or.org/CoinUtils
|
2018-12-10 02:06:34 +01:00
|
|
|
|
|
|
|
LICENSE= EPL
|
|
|
|
LICENSE_FILE= ${WRKSRC}/CoinUtils/LICENSE
|
|
|
|
|
2022-02-24 19:38:26 +01:00
|
|
|
COIN_DEPENDS= coin-or-Data-Sample>0:math/coin-or-data-sample \
|
2018-12-10 08:50:44 +01:00
|
|
|
coin-or-Data-Netlib>0:math/coin-or-data-netlib
|
2022-02-24 19:38:26 +01:00
|
|
|
BUILD_DEPENDS= ${COIN_DEPENDS}
|
2018-12-10 08:50:44 +01:00
|
|
|
LIB_DEPENDS= libopenblas.so:math/openblas
|
2022-02-24 19:38:26 +01:00
|
|
|
RUN_DEPENDS= ${COIN_DEPENDS}
|
2018-12-10 02:06:34 +01:00
|
|
|
|
2022-02-24 19:38:26 +01:00
|
|
|
USES= fortran gmake libtool localbase:ldflags pkgconfig
|
2018-12-10 02:06:34 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2018-12-10 08:50:44 +01:00
|
|
|
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
|
2018-12-10 02:06:34 +01:00
|
|
|
USE_LDCONFIG= yes
|
|
|
|
|
2022-02-24 19:38:26 +01:00
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= coin-or
|
|
|
|
|
|
|
|
INSTALL_TARGET= install-strip
|
|
|
|
|
2018-12-10 02:06:34 +01:00
|
|
|
post-install:
|
2018-12-10 08:50:44 +01:00
|
|
|
@${RM} -r ${STAGEDIR}${PREFIX}/share/coin
|
2018-12-10 02:06:34 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|