diff options
author | Adam Weinberger <adamw@FreeBSD.org> | 2014-07-04 00:52:39 +0000 |
---|---|---|
committer | Adam Weinberger <adamw@FreeBSD.org> | 2014-07-04 00:52:39 +0000 |
commit | d9b51276267edffe96f5dfa613e9010e8b20d481 (patch) | |
tree | 71cbf3545f3c46063cafedf3043c72b11789854f /math/lapack++/Makefile | |
parent | 3b13c98a60e823f1bc3e1f443d21e61fcb8dcbcc (diff) | |
download | ports-d9b51276267edffe96f5dfa613e9010e8b20d481.tar.gz ports-d9b51276267edffe96f5dfa613e9010e8b20d481.zip |
Notes
Diffstat (limited to 'math/lapack++/Makefile')
-rw-r--r-- | math/lapack++/Makefile | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/math/lapack++/Makefile b/math/lapack++/Makefile index 14d789c7b22f..a37d1a30d243 100644 --- a/math/lapack++/Makefile +++ b/math/lapack++/Makefile @@ -9,10 +9,6 @@ MASTER_SITES= SF/lapackpp/lapackpp/${PORTVERSION} \ http://math.nist.gov/lapack++/:doc DISTNAME= lapackpp-${PORTVERSION} -.if !defined(NOPORTDOCS) -DISTFILES+= ${DISTNAME}${EXTRACT_SUFX} lapack++.ps.gz:doc lapackpp1_1.ps.gz:doc \ - lapackppman1_1.ps.gz:doc lapack++_install.ps.gz:doc -.endif DIST_SUBDIR= lapackpp EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} @@ -21,8 +17,15 @@ COMMENT= Linear Algebra PACKage in C++, a wrapper for LAPACK USES= fortran gmake pathfix libtool +OPTIONS_DEFINE= DOCS + .include <bsd.port.pre.mk> +.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 + .if exists(${LOCALBASE}/lib/libatlas.so) && !defined(WITH_BLAS) WITH_ATLAS= yes .endif @@ -49,12 +52,10 @@ LAPACK_LIB= -L${LOCALBASE}/lib -llapack CONFIGURE_ARGS+= --with-blas="${BLAS_LIB}" --with-lapack="${LAPACK_LIB}" --disable-atlas --enable-static post-install: -.if !defined(NOPORTDOCS) @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/lapack++.ps.gz ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/lapack++_install.ps.gz ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/lapackpp1_1.ps.gz ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/lapackppman1_1.ps.gz ${STAGEDIR}${DOCSDIR} -.endif .include <bsd.port.post.mk> |