[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / math / coinmp

File: [cvs.NetBSD.org] / pkgsrc / math / coinmp / Makefile (download)

Revision 1.7, Sat Nov 2 16:16:18 2019 UTC (3 months, 3 weeks ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2019Q4-base, pkgsrc-2019Q4, HEAD
Changes since 1.6: +7 -7 lines

math: align variable assignments

pkglint -Wall -F --only aligned -r

Manual correction in R/Makefile.extension for the MASTER_SITES
continuation line.

# $NetBSD: Makefile,v 1.7 2019/11/02 16:16:18 rillig Exp $

DISTNAME=	CoinMP-1.8.4
PKGNAME=	${DISTNAME:tl}
CATEGORIES=	math
MASTER_SITES=	http://www.coin-or.org/download/source/CoinMP/
EXTRACT_SUFX=	.tgz

MAINTAINER=	ryoon@NetBSD.org
HOMEPAGE=	https://projects.coin-or.org/CoinMP
COMMENT=	Linear Programming solver library
LICENSE=	cpl-1.0

GNU_CONFIGURE=	yes
USE_LIBTOOL=	yes
USE_TOOLS+=	pkg-config
USE_LANGUAGES=	c c++ fortran

PKGCONFIG_OVERRIDE+=	Cbc/cbc.pc.in
PKGCONFIG_OVERRIDE+=	Cbc/osi-cbc.pc.in
PKGCONFIG_OVERRIDE+=	Cgl/cgl.pc.in
PKGCONFIG_OVERRIDE+=	Clp/src/OsiClp/osi-clp.pc.in
PKGCONFIG_OVERRIDE+=	Clp/clp.pc.in
PKGCONFIG_OVERRIDE+=	CoinMP/coinmp.pc.in
PKGCONFIG_OVERRIDE+=	CoinUtils/coinutils.pc.in
PKGCONFIG_OVERRIDE+=	Data/Sample/coindatasample.pc.in
PKGCONFIG_OVERRIDE+=	Osi/src/OsiGlpk/osi-glpk.pc.in
PKGCONFIG_OVERRIDE+=	Osi/src/OsiSpx/osi-soplex.pc.in
PKGCONFIG_OVERRIDE+=	Osi/src/OsiMsk/osi-mosek.pc.in
PKGCONFIG_OVERRIDE+=	Osi/src/OsiCpx/osi-cplex.pc.in
PKGCONFIG_OVERRIDE+=	Osi/src/OsiXpr/osi-xpress.pc.in
PKGCONFIG_OVERRIDE+=	Osi/src/OsiGrb/osi-gurobi.pc.in
PKGCONFIG_OVERRIDE+=	Osi/osi-unittests.pc.in
PKGCONFIG_OVERRIDE+=	Osi/osi.pc.in

SUBST_CLASSES+=			pkgconfig
SUBST_STAGE.pkgconfig=		pre-configure
SUBST_MESSAGE.pkgconfig=	Set temporary pkg-config directory
SUBST_FILES.pkgconfig+=		*/Makefile.in
SUBST_SED.pkgconfig+=		-e 's,PKG_CONFIG_PATH=@COIN_PKG_CONFIG_PATH@,PKG_CONFIG_PATH=@COIN_PKG_CONFIG_PATH@:${DESTDIR}${PREFIX}/lib/pkgconfig,'
SUBST_SED.pkgconfig+=		-e 's,PKG_CONFIG_PATH="@COIN_PKG_CONFIG_PATH@",PKG_CONFIG_PATH=@COIN_PKG_CONFIG_PATH@:${DESTDIR}${PREFIX}/lib/pkgconfig,'

.include "../../mk/bsd.pkg.mk"