aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authormaho <maho@FreeBSD.org>2005-10-30 15:28:35 +0800
committermaho <maho@FreeBSD.org>2005-10-30 15:28:35 +0800
commit28f56c89b68ccf5c2164f384b2ce0d1f2637c5de (patch)
tree0b6f1e7da512ded3a96c53204c6e21934b4a31ed /math
parent0777c6451bbc918851955f3c96c521869b579ebb (diff)
downloadfreebsd-ports-gnome-28f56c89b68ccf5c2164f384b2ce0d1f2637c5de.tar.gz
freebsd-ports-gnome-28f56c89b68ccf5c2164f384b2ce0d1f2637c5de.tar.zst
freebsd-ports-gnome-28f56c89b68ccf5c2164f384b2ce0d1f2637c5de.zip
Fix build and install
Submitted by: kris via pointyhat
Diffstat (limited to 'math')
-rw-r--r--math/sdpa/Makefile9
-rw-r--r--math/sdpa/pkg-plist6
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%%