blob: ec9078fad4190471b93b53bf770b36377edd34ef (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
PORTNAME= CoinUtils
DISTVERSIONPREFIX= releases/
DISTVERSION= 2.11.6
CATEGORIES= math
PKGNAMEPREFIX= coin-or-
MAINTAINER= yuri@FreeBSD.org
COMMENT= Utilities for COIN-OR project
WWW= https://projects.coin-or.org/CoinUtils
LICENSE= EPL
LICENSE_FILE= ${WRKSRC}/CoinUtils/LICENSE
COIN_DEPENDS= coin-or-Data-Sample>0:math/coin-or-data-sample \
coin-or-Data-Netlib>0:math/coin-or-data-netlib
BUILD_DEPENDS= ${COIN_DEPENDS}
LIB_DEPENDS= libopenblas.so:math/openblas
RUN_DEPENDS= ${COIN_DEPENDS}
USES= fortran gmake libtool localbase:ldflags pkgconfig
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
USE_GITHUB= yes
GH_ACCOUNT= coin-or
INSTALL_TARGET= install-strip
post-install:
@${RM} -r ${STAGEDIR}${PREFIX}/share/coin
.include <bsd.port.mk>
|