benefit from the improved situation where libgcc_s is only used when absolutely necessary. Suggested by: tijl
29 lines
566 B
Makefile
29 lines
566 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= scs
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 2.0.2-50
|
|
PORTREVISION= 1
|
|
DISTVERSIONSUFFIX= -g3401dfc
|
|
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>
|