fa9ee9fb77
is a software package for solving semidefinite program (SDP), intended for very hard to solve SDPs and SDPs requires ultra high accuracy. It is based on a Mehrotra-type predictor-corrector infeasible primal-dual interior-point method. The SDPA-GMP shares the same features as the SDPA, excpt for calculations will be done with multiple precision arithmetics via the GMP (the GNU Multiple Precision Arithmetic Library). WWW: http://sdpa.indsys.chuo-u.ac.jp/sdpa/index.html
44 lines
1.4 KiB
Makefile
44 lines
1.4 KiB
Makefile
# New ports collection makefile for: sdpa-gmp
|
|
# Date created: 2008/4/11
|
|
# Whom: NAKATA, Maho <maho@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= sdpa-gmp
|
|
PORTVERSION= 7.1.0
|
|
CATEGORIES= math
|
|
MASTER_SITES= http://sdpa.indsys.chuo-u.ac.jp/sdpa/files/
|
|
DISTFILES= ${SRCFILE} ${MANUALFILE}
|
|
DIST_SUBDIR= sdpa
|
|
EXTRACT_ONLY= ${SRCFILE}
|
|
|
|
MAINTAINER= maho@FreeBSD.org
|
|
COMMENT= Multi pricision arithmetic version of math/sdpa
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
SRCDATE= 20080410
|
|
MANDATE= 20080410
|
|
SRCFILE= ${PORTNAME}.${PORTVERSION}.src.${SRCDATE}.tar.gz
|
|
MANUALFILE= sdpa.${PORTVERSION}.manual.${MANDATE}.pdf
|
|
GNU_CONFIGURE= yes
|
|
LIB_DEPENDS+= spooles:${PORTSDIR}/math/spooles \
|
|
gmp.7:${PORTSDIR}/math/libgmp4 \
|
|
mpfr.2:${PORTSDIR}/math/mpfr
|
|
|
|
CONFIGURE_ARGS+= --with-system-spooles
|
|
CONFIGURE_ENV+= CXXFLAGS="${CXXFLAGS} -I${LOCALBASE}/include -I${LOCALBASE}/include/spooles" CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include -I${LOCALBASE}/include/spooles" CFLAGS="${CFLAGS} -I${LOCALBASE}/include -I${LOCALBASE}/include/spooles" LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
PLIST_SUB+= MANUALFILE=${MANUALFILE}
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/sdpa_gmp ${PREFIX}/bin
|
|
@${MKDIR} ${DATADIR}
|
|
${INSTALL_DATA} ${WRKSRC}/param.sdpa ${DATADIR}
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${MANUALFILE} ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|