diff options
Diffstat (limited to 'math/csdp/Makefile')
-rw-r--r-- | math/csdp/Makefile | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/math/csdp/Makefile b/math/csdp/Makefile new file mode 100644 index 000000000000..10116127e60d --- /dev/null +++ b/math/csdp/Makefile @@ -0,0 +1,37 @@ +# $FreeBSD$ + +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> |