Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Jun 2014 08:40:14 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r359203 - head/math/laspack
Message-ID:  <201406250840.s5P8eEtS082471@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406250840.s5P8eEtS082471>