diff options
author | adamw <adamw@FreeBSD.org> | 2014-07-04 08:52:39 +0800 |
---|---|---|
committer | adamw <adamw@FreeBSD.org> | 2014-07-04 08:52:39 +0800 |
commit | 312bafbda46d2ff47fbd40a4e4e34f59deeeecc6 (patch) | |
tree | 71cbf3545f3c46063cafedf3043c72b11789854f /math/lapack++ | |
parent | ffba0efda3d6171430d65d75094c80b02f39bd8e (diff) | |
download | freebsd-ports-gnome-312bafbda46d2ff47fbd40a4e4e34f59deeeecc6.tar.gz freebsd-ports-gnome-312bafbda46d2ff47fbd40a4e4e34f59deeeecc6.tar.zst freebsd-ports-gnome-312bafbda46d2ff47fbd40a4e4e34f59deeeecc6.zip |
Remove NOPORTDOCS and NOPORTEXAMPLES.
Approved by: portmgr (blanket)
Diffstat (limited to 'math/lapack++')
-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> |