xref: /mports/math/coinutils/Makefile
  • Home
  • History
  • Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1PORTNAME=	CoinUtils
2DISTVERSIONPREFIX=	releases/
3DISTVERSION=	2.11.13
4CATEGORIES=	math
5PKGNAMEPREFIX=	coin-or-
6
7MAINTAINER=	ports@MidnightBSD.org
8COMMENT=	Utilities for COIN-OR project
9WWW=		https://github.com/coin-or/CoinUtils
10
11LICENSE=	epl
12LICENSE_FILE=	${WRKSRC}/CoinUtils/LICENSE
13
14COIN_DEPENDS=	coin-or-Data-Sample>0:math/coin-or-data-sample \
15		coin-or-Data-Netlib>0:math/coin-or-data-netlib
16BUILD_DEPENDS=	${COIN_DEPENDS}
17LIB_DEPENDS=	libopenblas.so:math/openblas
18RUN_DEPENDS=	${COIN_DEPENDS}
19
20USES=		fortran gmake libtool localbase:ldflags pkgconfig
21GNU_CONFIGURE=	yes
22CONFIGURE_ARGS=	--with-blas-lib="-lopenblas" --with-lapack-lib="-lopenblas" \
23		--with-sample-datadir="${LOCALBASE}/share/coin/Data/Sample" \
24		--with-netlib-datadir="${LOCALBASE}/share/coin/Data/Netlib"
25		# doesn't link with the optional dependency glpk: https://github.com/coin-or/CoinUtils/issues/7
26USE_LDCONFIG=	yes
27
28CPPFLAGS+=	-Dregister=
29
30USE_GITHUB=	yes
31GH_ACCOUNT=	coin-or
32
33INSTALL_TARGET=	install-strip
34
35post-install:
36	@${RM} -r ${PREFIX}/share/coin
37
38.include <bsd.port.mk>
39

served by {OpenGrok

Last Index Update: Sun Mar 22 17:06:33 EDT 2026