aboutsummaryrefslogtreecommitdiff
path: root/math/csdp/Makefile
blob: d6254a7631163f10f8dd94a18ba5aef7f801084a (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
24
25
26
27
28
29
30
31
32
33
34
35
PORTNAME=	csdp
DISTVERSIONPREFIX=	releases/
DISTVERSION=	6.2.0
CATEGORIES=	math
PKGNAMEPREFIX=	coin-or-

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Solver for semidefinite programming problems

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE

LIB_DEPENDS=	libblas.so:math/blas \
		liblapack.so:math/lapack

USES=		gmake
USE_GITHUB=	yes
GH_ACCOUNT=	coin-or
GH_PROJECT=	Csdp
USE_LDCONFIG=	yes

MAKE_ARGS=	FREEBSD_CFLAGS="${CFLAGS}" FREEBSD_LIBS="${LIBS} -L${LOCALBASE}/lib"

BINARY_ALIAS=	make=${GMAKE}

PLIST_FILES=	bin/complement \
		bin/csdp \
		bin/graphtoprob \
		bin/rand_graph \
		bin/theta

post-stage:
	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/*

.include <bsd.port.mk>