aboutsummaryrefslogtreecommitdiff
path: root/math/laspack
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2014-06-25 08:40:14 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2014-06-25 08:40:14 +0000
commita628b334dc376649e323183134eda19eef343d8a (patch)
treedd498eacf430daec844b4a531e3eafaf83782004 /math/laspack
parente78a8b68bf80a9b3f46e9f03098cd84f6c4a56bd (diff)
downloadports-a628b334dc376649e323183134eda19eef343d8a.tar.gz
ports-a628b334dc376649e323183134eda19eef343d8a.zip
- Convert to OPTIONS
- Put HOME in MAKE_ARGS to handle possible override of HOME in MAKE_ENV from bsd.port.mk
Notes
Notes: svn path=/head/; revision=359203
Diffstat (limited to 'math/laspack')
-rw-r--r--math/laspack/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/math/laspack/Makefile b/math/laspack/Makefile
index d69fcb4a1cbb..4d6ee3eea909 100644
--- a/math/laspack/Makefile
+++ b/math/laspack/Makefile
@@ -14,16 +14,16 @@ COMMENT= Package for solving large sparse systems of linear equations
WRKSRC= ${WRKDIR}/${PORTNAME}
MAKEFILE= makefile
-MAKE_ENV+= HOME=${STAGEDIR}${PREFIX}
+MAKE_ARGS= HOME=${STAGEDIR}${PREFIX}
+
+OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e 's+/usr/local+${LOCALBASE}+g' ${WRKSRC}/${MAKEFILE}
post-install:
-.if !defined(NOPORTDOCS)
@${MKDIR} ${STAGEDIR}${DOCSDIR}
- @${INSTALL_DATA} ${WRKSRC}/doc/*.ps ${STAGEDIR}${DOCSDIR}
-.endif
+ ${INSTALL_DATA} ${WRKSRC}/doc/*.ps ${STAGEDIR}${DOCSDIR}
.ifdef MAINTAINER_MODE
regression-test: