aboutsummaryrefslogtreecommitdiffstats
path: root/science
diff options
context:
space:
mode:
authorbsam <bsam@FreeBSD.org>2013-06-20 21:40:22 +0800
committerbsam <bsam@FreeBSD.org>2013-06-20 21:40:22 +0800
commitca8028c5cc86e83b1dd954cf5b85082d662dd7b2 (patch)
tree2feb314aff0621ce68d368fbef95c89decf9405c /science
parent52c2395eea4acc23687950697650484775555a0c (diff)
downloadfreebsd-ports-gnome-ca8028c5cc86e83b1dd954cf5b85082d662dd7b2.tar.gz
freebsd-ports-gnome-ca8028c5cc86e83b1dd954cf5b85082d662dd7b2.tar.zst
freebsd-ports-gnome-ca8028c5cc86e83b1dd954cf5b85082d662dd7b2.zip
NOPORTDOCS -> PORT_OPTIONS:MDOCS.
Diffstat (limited to 'science')
-rw-r--r--science/py-scipy/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/science/py-scipy/Makefile b/science/py-scipy/Makefile
index cb6690dffa90..0295384cf450 100644
--- a/science/py-scipy/Makefile
+++ b/science/py-scipy/Makefile
@@ -29,7 +29,7 @@ USE_FORTRAN= yes
USE_PYTHON= -2.7
USE_PYDISTUTILS= yes
-OPTIONS_DEFINE= ATLAS SUITESPARSE
+OPTIONS_DEFINE= ATLAS DOCS SUITESPARSE
OPTIONS_DEFAULT=SUITESPARSE
ATLAS_DESC= Use optimized blas library
SUITESPARSE_DESC= Use AMD and UMFPACK in SuiteSparse
@@ -66,7 +66,7 @@ post-install:
${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
@${FIND} ${PYTHONPREFIX_SITELIBDIR}/scipy -type d | ${SORT} -r | \
${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKDIR}/scipy-ref.pdf ${DOCSDIR}
@${ECHO_CMD} ${DOCSDIR}/scipy-ref.pdf | \