From 3ef11032b1398f44873d4abbe05bcbfd2b184a8b Mon Sep 17 00:00:00 2001 From: Greg Lewis Date: Sun, 9 Feb 2014 23:18:17 +0000 Subject: [PATCH] . Fix "make package" without DOCS PR: 186501 Submitted by: Craig Leres --- math/gnuplot/Makefile | 2 ++ 1 file changed, 2 insertions(+) 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 ; )