. Fix "make package" without DOCS

PR:		186501
Submitted by:	Craig Leres <leres@ee.lbl.gov>
This commit is contained in:
Greg Lewis 2014-02-09 23:18:17 +00:00
parent 94dc7dd110
commit 3ef11032b1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=343558

View file

@ -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 ; )