svn commit: r359203 - head/math/laspack
Antoine Brodin
antoine at FreeBSD.org
Wed Jun 25 08:40:14 UTC 2014
Author: antoine
Date: Wed Jun 25 08:40:14 2014
New Revision: 359203
URL: http://svnweb.freebsd.org/changeset/ports/359203
QAT: https://qat.redports.org/buildarchive/r359203/
Log:
- Convert to OPTIONS
- Put HOME in MAKE_ARGS to handle possible override of HOME in MAKE_ENV
from bsd.port.mk
Modified:
head/math/laspack/Makefile
Modified: head/math/laspack/Makefile
==============================================================================
--- head/math/laspack/Makefile Wed Jun 25 08:39:27 2014 (r359202)
+++ head/math/laspack/Makefile Wed Jun 25 08:40:14 2014 (r359203)
@@ -14,16 +14,16 @@ COMMENT= Package for solving large spars
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:
More information about the svn-ports-all
mailing list