aboutsummaryrefslogtreecommitdiff
path: root/math/scs/Makefile
blob: 8cf2c255c7a5625875d5f278c7b533954a1b09df (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
PORTNAME=	scs
DISTVERSION=	2.1.2
CATEGORIES=	math

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Solver of convex cone problems via operator splitting

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE.txt

USES=		gmake blaslapack:openblas fortran # fortran is for openblas
USE_GITHUB=	yes
GH_ACCOUNT=	cvxgrp
USE_LDCONFIG=	yes

MAKE_ARGS=	BLASLDFLAGS="-lopenblas"

ALL_TARGET=	out/libscsdir.so out/libscsindir.so

post-install:
	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so

.include <bsd.port.mk>