freebsd-ports/math/scs/Makefile
Gerald Pfeifer a9f015d155 Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.

PR:		231590
2018-12-12 01:35:33 +00:00

38 lines
941 B
Makefile

# $FreeBSD$
PORTNAME= scs
DISTVERSIONPREFIX= v
DISTVERSION= 2.0.2-22
PORTREVISION= 1
DISTVERSIONSUFFIX= -gb03e156
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
HEADERS= accel.h cones.h cs.h ctrlc.h glbopts.h linalg.h linsys.h normalize.h scs.h util.h
PLIST_FILES= ${ALL_TARGET:S/out/lib/} ${HEADERS:S/^/include\/${PORTNAME}\//}
do-install:
.for so in ${ALL_TARGET}
${INSTALL_LIB} ${WRKSRC}/${so} ${STAGEDIR}${PREFIX}/lib
.endfor
@${MKDIR} ${STAGEDIR}${PREFIX}/include/${PORTNAME}
.for h in ${HEADERS}
${INSTALL_DATA} ${WRKSRC}/include/${h} ${STAGEDIR}${PREFIX}/include/${PORTNAME}
.endfor
.include <bsd.port.mk>