Index: head/math/sdpa/Makefile =================================================================== --- head/math/sdpa/Makefile (revision 405009) +++ head/math/sdpa/Makefile (revision 405010) @@ -1,65 +1,63 @@ # Created by: NAKATA, Maho # $FreeBSD$ PORTNAME= sdpa PORTVERSION= 7.3.1 PORTREVISION= 4 CATEGORIES= math -MASTER_SITES= http://sdpa.indsys.chuo-u.ac.jp/sdpa/files/ +MASTER_SITES= SF/${PORTNAME}/archive/${PORTNAME}/${PORTVERSION} DISTNAME= ${PORTNAME}.${PORTVERSION}.src-${SRCDATE} DIST_SUBDIR= sdpa MAINTAINER= ports@FreeBSD.org COMMENT= Very efficient SDP (semidefinite programming) solver - -BROKEN= unfetchable USES= fortran gmake SRCDATE= 20090729 MANUALFILE= sdpa7-manual.pdf GNU_CONFIGURE= yes WRKSRC= ${WRKDIR}/${PORTNAME}.${PORTVERSION}.src OPTIONS_DEFINE= DOCS .if exists(${LOCALBASE}/lib/libgoto2.so) WITH_BLAS?= gotoblas .elif exists(${LOCALBASE}/lib/libatlas.so) WITH_BLAS?= atlas .else WITH_BLAS?= reference .endif . if ${WITH_BLAS} == reference LIB_DEPENDS+= libblas.so:${PORTSDIR}/math/blas LIB_DEPENDS+= liblapack.so:${PORTSDIR}/math/lapack BLAS= -lblas LAPACK= -llapack .elif ${WITH_BLAS} == gotoblas LIB_DEPENDS+= libgoto2.so:${PORTSDIR}/math/gotoblas LIB_DEPENDS+= liblapack.so:${PORTSDIR}/math/lapack BLAS= -lgoto2p LAPACK= .elif ${WITH_BLAS} == atlas LIB_DEPENDS+= libatlas.so:${PORTSDIR}/math/atlas BLAS= -lptf77blas LAPACK= -lalapack -lptcblas .endif CONFIGURE_ARGS+=--with-blas="-L${LOCALBASE}/lib ${BLAS}" --with-lapack="-L${LOCALBASE}/lib ${LAPACK}" PLIST_SUB+= MANUALFILE=${MANUALFILE} post-patch: # Register missing target dependency to unbreak parallel builds @${REINPLACE_CMD} -e 's,^sdpa_DEPENDENCIES =,& $$(lib_LIBRARIES),' \ ${WRKSRC}/Makefile.in do-install: ${INSTALL_PROGRAM} ${WRKSRC}/sdpa ${STAGEDIR}${PREFIX}/bin @${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/param.sdpa ${STAGEDIR}${DATADIR} @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/doc/${MANUALFILE} ${STAGEDIR}${DOCSDIR} .include Index: head/math/sdpa/distinfo =================================================================== --- head/math/sdpa/distinfo (revision 405009) +++ head/math/sdpa/distinfo (revision 405010) @@ -1,4 +1,2 @@ SHA256 (sdpa/sdpa.7.3.1.src-20090729.tar.gz) = 7a8795eebbdd2f16278426cdcd82698590208f0a2f1f8b960c28d09806260191 SIZE (sdpa/sdpa.7.3.1.src-20090729.tar.gz) = 2512666 -SHA256 (sdpa/sdpa.7.1.1.manual.20080618.pdf) = b6bec5b0e1fc8f010522dac7dc2b092b72006e86f07aae904a3ce2b410313d8a -SIZE (sdpa/sdpa.7.1.1.manual.20080618.pdf) = 258725 Index: head/math/sdpa/pkg-descr =================================================================== --- head/math/sdpa/pkg-descr (revision 405009) +++ head/math/sdpa/pkg-descr (revision 405010) @@ -1,18 +1,18 @@ The SDPA (SemiDefinite Programming Algorithm) is a software package for solving semidefinite program (SDP). It is based on a Mehrotra-type predictor-corrector infeasible primal-dual interior-point method. The SDPA handles the standard form SDP and its dual. It is implemented in C++ language utilizing the LAPACK for matrix computation. The SDPA incorporates dynamic memory allocation and deallocation. So, the maximum size of an SDP to be solved depends on the size of memory which users' computers install. The SDPA enjoys the following features: 1. Callable library of the SDPA is available. 2. Efficient method for computing the search directions when an SDP to be solved is large scale and sparse. 3. Block diagonal matrix structure and sparse matrix structure in data matrices are available. 4. Some information on infeasibility of a semidefinite program to be solved is provided. -WWW: http://sdpa.indsys.chuo-u.ac.jp/sdpa/index.html +WWW: http://sdpa.sourceforge.net/