1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

Fix build and install

Submitted by:	kris via pointyhat
This commit is contained in:
Maho Nakata 2005-10-30 07:28:35 +00:00
parent d723f96495
commit 14ccd47ada
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=146723
2 changed files with 8 additions and 7 deletions

View File

@ -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}

View File

@ -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%%