From 14ccd47adaf55b4dfbe51cd7a6b1720ace1ddaf9 Mon Sep 17 00:00:00 2001 From: Maho Nakata Date: Sun, 30 Oct 2005 07:28:35 +0000 Subject: [PATCH] Fix build and install Submitted by: kris via pointyhat --- math/sdpa/Makefile | 9 +++++---- math/sdpa/pkg-plist | 6 +++--- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/math/sdpa/Makefile b/math/sdpa/Makefile index f53eb0a0bdcf..e4525002a6bb 100644 --- a/math/sdpa/Makefile +++ b/math/sdpa/Makefile @@ -11,9 +11,9 @@ CATEGORIES= math MASTER_SITES= http://grid.r.dendai.ac.jp/sdpa/files/ DISTFILES= ${PORTNAME}.${PORTVERSION}.src.tar.gz .if !defined(NOPORTDOCS) -DISTFILES+= ${PORTNAME}.6.2.0.manual.ps.gz \ - ${PORTNAME}.6.2.0.manual.pdf \ - ${PORTNAME}.6.2.0.install.txt +DISTFILES+= ${PORTNAME}.${OLDVERSION}.manual.ps.gz \ + ${PORTNAME}.${OLDVERSION}.manual.pdf \ + ${PORTNAME}.${OLDVERSION}.install.txt .endif DIST_SUBDIR= sdpa EXTRACT_ONLY= ${PORTNAME}.${PORTVERSION}.src.tar.gz @@ -26,6 +26,7 @@ BUILD_DEPENDS= ${LOCALBASE}/intel_cc_80/bin/icc:${PORTSDIR}/lang/icc .endif LIB_DEPENDS= atlas:${PORTSDIR}/math/atlas +OLDVERSION= 6.2.0 USE_REINPLACE= yes USE_GMAKE= yes USE_REINPLACE= yes @@ -88,7 +89,7 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/param.sdpa ${DATADIR} .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} -.for i in ${PORTNAME}.${PORTVERSION}.manual.ps.gz ${PORTNAME}.${PORTVERSION}.manual.pdf ${PORTNAME}.${PORTVERSION}.install.txt +.for i in ${PORTNAME}.${OLDVERSION}.manual.ps.gz ${PORTNAME}.${OLDVERSION}.manual.pdf ${PORTNAME}.${OLDVERSION}.install.txt ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${i} ${DOCSDIR} .endfor @${MKDIR} ${EXAMPLESDIR} diff --git a/math/sdpa/pkg-plist b/math/sdpa/pkg-plist index 7133fb0b68d2..4c05d0f8c176 100644 --- a/math/sdpa/pkg-plist +++ b/math/sdpa/pkg-plist @@ -22,7 +22,7 @@ share/examples/sdpa/param.sdpa share/sdpa/param.sdpa @dirrm share/sdpa @dirrm share/examples/sdpa -%%PORTDOCS%%%%DOCSDIR%%/sdpa.%%PORTVERSION%%.manual.ps.gz -%%PORTDOCS%%%%DOCSDIR%%/sdpa.%%PORTVERSION%%.manual.pdf -%%PORTDOCS%%%%DOCSDIR%%/sdpa.%%PORTVERSION%%.install.txt +%%PORTDOCS%%%%DOCSDIR%%/sdpa.%%OLDVERSION%%.manual.ps.gz +%%PORTDOCS%%%%DOCSDIR%%/sdpa.%%OLDVERSION%%.manual.pdf +%%PORTDOCS%%%%DOCSDIR%%/sdpa.%%OLDVERSION%%.install.txt %%PORTDOCS%%@dirrm %%DOCSDIR%%