Date: Thu, 27 Aug 2015 16:49:06 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r395431 - head/math/lapack++ Message-ID: <201508271649.t7RGn6Rc040168@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Thu Aug 27 16:49:06 2015 New Revision: 395431 URL: https://svnweb.freebsd.org/changeset/ports/395431 Log: - Fix build with DOCS disabled (port tried to install nonexistent distfiles) - Switch to options helpers Approved by: portmgr blanket Modified: head/math/lapack++/Makefile Modified: head/math/lapack++/Makefile ============================================================================== --- head/math/lapack++/Makefile Thu Aug 27 15:15:20 2015 (r395430) +++ head/math/lapack++/Makefile Thu Aug 27 16:49:06 2015 (r395431) @@ -9,6 +9,7 @@ MASTER_SITES= SF/lapackpp \ DISTNAME= lapackpp-${PORTVERSION} DIST_SUBDIR= lapackpp EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} +DISTFILES= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= maho@FreeBSD.org COMMENT= Linear Algebra PACKage in C++, a wrapper for LAPACK @@ -33,14 +34,9 @@ LAPACK_LIB= -L${LOCALBASE}/lib ${LAPACKL #lapack++ forces to use atlas when detected, so we should disable here. CONFIGURE_ARGS+= --with-blas="${BLAS_LIB}" --with-lapack="${LAPACK_LIB}" --disable-atlas --enable-static -.include <bsd.port.options.mk> +DOCS_DISTFILES= lapack++.ps.gz:doc lapackpp1_1.ps.gz:doc lapackppman1_1.ps.gz:doc lapack++_install.ps.gz:doc -.if ${PORT_OPTIONS:MDOCS} -DISTFILES+= ${DISTNAME}${EXTRACT_SUFX} lapack++.ps.gz:doc lapackpp1_1.ps.gz:doc \ - lapackppman1_1.ps.gz:doc lapack++_install.ps.gz:doc -.endif - -post-install: +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/lapack++.ps.gz ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/lapack++_install.ps.gz ${STAGEDIR}${DOCSDIR}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201508271649.t7RGn6Rc040168>