diff options
author | Maho Nakata <maho@FreeBSD.org> | 2008-03-05 01:10:39 +0000 |
---|---|---|
committer | Maho Nakata <maho@FreeBSD.org> | 2008-03-05 01:10:39 +0000 |
commit | fcab8ea4679cfcd00fe6f2b65976cce2b8e3a17c (patch) | |
tree | 331cd8ac759a7a85dea0d20c8fcd205a7ae2cb7b /math/sdpa | |
parent | 3a3f37927fe1f40bf6f5928772df712c7efd8452 (diff) | |
download | ports-fcab8ea4679cfcd00fe6f2b65976cce2b8e3a17c.tar.gz ports-fcab8ea4679cfcd00fe6f2b65976cce2b8e3a17c.zip |
Notes
Diffstat (limited to 'math/sdpa')
-rw-r--r-- | math/sdpa/Makefile | 14 | ||||
-rw-r--r-- | math/sdpa/distinfo | 12 | ||||
-rw-r--r-- | math/sdpa/pkg-plist | 2 |
3 files changed, 16 insertions, 12 deletions
diff --git a/math/sdpa/Makefile b/math/sdpa/Makefile index 43fadfbf37a7..256d5c82eecc 100644 --- a/math/sdpa/Makefile +++ b/math/sdpa/Makefile @@ -9,15 +9,19 @@ PORTNAME= sdpa PORTVERSION= 7.0.5 CATEGORIES= math MASTER_SITES= http://sdpa.indsys.chuo-u.ac.jp/sdpa/files/ -DISTFILES= ${PORTNAME}.${PORTVERSION}.src.tar.gz ${PORTNAME}.${PORTVERSION}.manual.pdf +DISTFILES= ${SRCFILE} ${MANUALFILE} DIST_SUBDIR= sdpa -EXTRACT_ONLY= ${PORTNAME}.${PORTVERSION}.src.tar.gz +EXTRACT_ONLY= ${SRCFILE} MAINTAINER= maho@FreeBSD.org COMMENT= SDPA(SemiDefinite Programming Algorithm) Very efficent SDP Solver .include <bsd.port.pre.mk> +SRCDATE= 20080216 +MANDATE= 20080228 +SRCFILE= ${PORTNAME}.${PORTVERSION}.src.${SRCDATE}.tar.gz +MANUALFILE= ${PORTNAME}.${PORTVERSION}.manual.${MANDATE}.pdf USE_FORTRAN= yes CONFIGURE_ENV+= F77="${F77}" GNU_CONFIGURE= yes @@ -50,15 +54,15 @@ LAPACK= -lalapack_r CONFIGURE_ARGS+=--with-blas="-L${LOCALBASE}/lib ${BLAS}" --with-lapack="-L${LOCALBASE}/lib ${LAPACK}" --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 ${PREFIX}/bin @${MKDIR} ${DATADIR} ${INSTALL_DATA} ${WRKSRC}/param.sdpa ${DATADIR} .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} -.for i in ${PORTNAME}.${PORTVERSION}.manual.pdf - ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${i} ${DOCSDIR} -.endfor + ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${MANUALFILE} ${DOCSDIR} .endif .include <bsd.port.post.mk> diff --git a/math/sdpa/distinfo b/math/sdpa/distinfo index 0548246776aa..2ea9a34b1614 100644 --- a/math/sdpa/distinfo +++ b/math/sdpa/distinfo @@ -1,6 +1,6 @@ -MD5 (sdpa/sdpa.7.0.5.src.tar.gz) = 9e25e0d16f7eb56448c5f37d06ef023d -SHA256 (sdpa/sdpa.7.0.5.src.tar.gz) = 48df8c973508685bb140ede17527ec5df240c870392cfb20483a90eaf414f49d -SIZE (sdpa/sdpa.7.0.5.src.tar.gz) = 4724059 -MD5 (sdpa/sdpa.7.0.5.manual.pdf) = ad896944fd3f45b3811e439ce7386255 -SHA256 (sdpa/sdpa.7.0.5.manual.pdf) = 98ccd71c25afe5a247e0d22e4fe497641f317ab6721d27a2a9ef90b975524f33 -SIZE (sdpa/sdpa.7.0.5.manual.pdf) = 219329 +MD5 (sdpa/sdpa.7.0.5.src.20080216.tar.gz) = 9e25e0d16f7eb56448c5f37d06ef023d +SHA256 (sdpa/sdpa.7.0.5.src.20080216.tar.gz) = 48df8c973508685bb140ede17527ec5df240c870392cfb20483a90eaf414f49d +SIZE (sdpa/sdpa.7.0.5.src.20080216.tar.gz) = 4724059 +MD5 (sdpa/sdpa.7.0.5.manual.20080228.pdf) = ad896944fd3f45b3811e439ce7386255 +SHA256 (sdpa/sdpa.7.0.5.manual.20080228.pdf) = 98ccd71c25afe5a247e0d22e4fe497641f317ab6721d27a2a9ef90b975524f33 +SIZE (sdpa/sdpa.7.0.5.manual.20080228.pdf) = 219329 diff --git a/math/sdpa/pkg-plist b/math/sdpa/pkg-plist index 570cb8222b16..c76be21a4052 100644 --- a/math/sdpa/pkg-plist +++ b/math/sdpa/pkg-plist @@ -1,5 +1,5 @@ bin/sdpa share/sdpa/param.sdpa @dirrm share/sdpa -%%PORTDOCS%%%%DOCSDIR%%/sdpa.7.0.5.manual.pdf +%%PORTDOCS%%%%DOCSDIR%%/%%MANUALFILE%% %%PORTDOCS%%@dirrm %%DOCSDIR%% |