svn commit: r343558 - head/math/gnuplot

Greg Lewis glewis at FreeBSD.org
Sun Feb 9 23:18:17 UTC 2014


Author: glewis
Date: Sun Feb  9 23:18:17 2014
New Revision: 343558
URL: http://svnweb.freebsd.org/changeset/ports/343558
QAT: https://qat.redports.org/buildarchive/r343558/

Log:
  . Fix "make package" without DOCS
  
  PR:		186501
  Submitted by:	Craig Leres <leres at ee.lbl.gov>

Modified:
  head/math/gnuplot/Makefile

Modified: head/math/gnuplot/Makefile
==============================================================================
--- head/math/gnuplot/Makefile	Sun Feb  9 23:16:29 2014	(r343557)
+++ head/math/gnuplot/Makefile	Sun Feb  9 23:18:17 2014	(r343558)
@@ -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 ; )


More information about the svn-ports-all mailing list