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/Makefile | |
parent | 3a3f37927fe1f40bf6f5928772df712c7efd8452 (diff) | |
download | ports-fcab8ea4679cfcd00fe6f2b65976cce2b8e3a17c.tar.gz ports-fcab8ea4679cfcd00fe6f2b65976cce2b8e3a17c.zip |
The source file and manual file have the date in its
filename.
Notes
Notes:
svn path=/head/; revision=208449
Diffstat (limited to 'math/sdpa/Makefile')
-rw-r--r-- | math/sdpa/Makefile | 14 |
1 files changed, 9 insertions, 5 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> |