mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
. Fix "make package" without DOCS
PR: 186501 Submitted by: Craig Leres <leres@ee.lbl.gov>
This commit is contained in:
parent
94dc7dd110
commit
3ef11032b1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=343558
@ -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 ; )
|
||||
|
Loading…
Reference in New Issue
Block a user