aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authorglewis <glewis@FreeBSD.org>2014-02-10 07:18:17 +0800
committerglewis <glewis@FreeBSD.org>2014-02-10 07:18:17 +0800
commitc0ba0fe6906eb6e6f7e67fe127496e2c07c63455 (patch)
tree738b0c953662147a8b64c1a076bf22072e9dbe6c /math
parent97ca03b158f835a3634b1b21d46957732a93774e (diff)
downloadfreebsd-ports-gnome-c0ba0fe6906eb6e6f7e67fe127496e2c07c63455.tar.gz
freebsd-ports-gnome-c0ba0fe6906eb6e6f7e67fe127496e2c07c63455.tar.zst
freebsd-ports-gnome-c0ba0fe6906eb6e6f7e67fe127496e2c07c63455.zip
. Fix "make package" without DOCS
PR: 186501 Submitted by: Craig Leres <leres@ee.lbl.gov>
Diffstat (limited to 'math')
-rw-r--r--math/gnuplot/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/math/gnuplot/Makefile b/math/gnuplot/Makefile
index 59983f838944..97b3f9a9044f 100644
--- a/math/gnuplot/Makefile
+++ b/math/gnuplot/Makefile
@@ -86,10 +86,12 @@ post-install:
${INSTALL_SCRIPT} ${WRKSRC}/src/lasergnu ${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
cd ${WRKSRC}/demo && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${STAGEDIR}${DOCSDIR}/psdoc
cd ${WRKSRC}/docs && ${INSTALL_DATA} gnuplot.txt gnuplot.dvi \
gnuplot.ps ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC}/docs/psdoc && ${INSTALL_DATA} README ps_* ${STAGEDIR}${DOCSDIR}/psdoc
+.endif
check test: build
@( cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_ARGS} check ; )