aboutsummaryrefslogtreecommitdiff
path: root/math/laspack/Makefile
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2014-06-18 15:46:56 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2014-06-18 15:46:56 +0000
commit8a4e1d5ab98994d09eff186fbdde3f4686a94fdf (patch)
tree3707b65265f0c703512a4cc92e3d0da5a92b35c7 /math/laspack/Makefile
parent98f9f8d0dd14e896da8e47710d7281cc2c293cef (diff)
downloadports-8a4e1d5ab98994d09eff186fbdde3f4686a94fdf.tar.gz
ports-8a4e1d5ab98994d09eff186fbdde3f4686a94fdf.zip
Notes
Diffstat (limited to 'math/laspack/Makefile')
-rw-r--r--math/laspack/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/math/laspack/Makefile b/math/laspack/Makefile
index e28a9bc5b591..d69fcb4a1cbb 100644
--- a/math/laspack/Makefile
+++ b/math/laspack/Makefile
@@ -12,18 +12,17 @@ EXTRACT_SUFX= .tgz
MAINTAINER= bf@FreeBSD.org
COMMENT= Package for solving large sparse systems of linear equations
-WRKSRC= ${WRKDIR}/${PORTNAME}
+WRKSRC= ${WRKDIR}/${PORTNAME}
MAKEFILE= makefile
-MAKE_ENV+= HOME=${PREFIX}
+MAKE_ENV+= HOME=${STAGEDIR}${PREFIX}
-NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e 's+/usr/local+${LOCALBASE}+g' ${WRKSRC}/${MAKEFILE}
post-install:
.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
- @${INSTALL_DATA} ${WRKSRC}/doc/*.ps ${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/doc/*.ps ${STAGEDIR}${DOCSDIR}
.endif
.ifdef MAINTAINER_MODE