aboutsummaryrefslogtreecommitdiff
path: root/math/spooles
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-07-04 00:52:39 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-07-04 00:52:39 +0000
commitd9b51276267edffe96f5dfa613e9010e8b20d481 (patch)
tree71cbf3545f3c46063cafedf3043c72b11789854f /math/spooles
parent3b13c98a60e823f1bc3e1f443d21e61fcb8dcbcc (diff)
Notes
Diffstat (limited to 'math/spooles')
-rw-r--r--math/spooles/Makefile13
1 files changed, 8 insertions, 5 deletions
diff --git a/math/spooles/Makefile b/math/spooles/Makefile
index 65cffea48961..da293a7eebe1 100644
--- a/math/spooles/Makefile
+++ b/math/spooles/Makefile
@@ -11,11 +11,6 @@ PKGNAMESUFFIX= -mpich
.endif
DISTNAME= ${PORTNAME}.${PORTVERSION}
EXTRACT_SUFX= .tgz
-.ifndef NOPORTDOCS
-DISTFILES+= ${DISTNAME}${EXTRACT_SUFX} AllInOne.ps.gz Eigen.ps.gz \
- Install.ps.gz LinSol.ps.gz Ordering.ps.gz \
- PP99.ps.gz ReferenceManual.ps.gz
-.endif
DIST_SUBDIR= spooles
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
@@ -40,6 +35,12 @@ CONFLICTS= spooles-mpich-2*
.include <bsd.port.pre.mk>
+.if ${PORT_OPTIONS:MDOCS}
+DISTFILES+= ${DISTNAME}${EXTRACT_SUFX} AllInOne.ps.gz Eigen.ps.gz \
+ Install.ps.gz LinSol.ps.gz Ordering.ps.gz \
+ PP99.ps.gz ReferenceManual.ps.gz
+.endif
+
.if ${ARCH} == "sparc64"
PICFLAG?= -fPIC
.else
@@ -48,6 +49,8 @@ PICFLAG?= -fpic
.SILENT:
+OPTIONS_DEFINE= DOCS
+
pre-everything::
.if !defined(WITH_MPI)
${ECHO_MSG} "make WITH_MPI=yes for mpich version"