mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-22 00:35:15 +00:00
Fix installation with DOCS disabled.
PR: 144406 Submitted by: Chris Nehren
This commit is contained in:
parent
02a5f6113a
commit
0e93820526
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=361792
@ -41,6 +41,9 @@ post-patch:
|
||||
post-build:
|
||||
@(cd ${WRKSRC} && ${CP} -f sync-exclude.lst sync-exclude.lst.sample)
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
post-install:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
(cd ${INSTALL_WRKSRC}/doc/latex && ${INSTALL_DATA} *.pdf \
|
||||
@ -48,5 +51,6 @@ post-install:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}/html
|
||||
@(cd ${INSTALL_WRKSRC}/doc/html/unthemed && ${COPYTREE_SHARE} . \
|
||||
${STAGEDIR}${DOCSDIR}/html)
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user