1
0
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:
Adam Weinberger 2014-07-14 15:42:55 +00:00
parent 02a5f6113a
commit 0e93820526
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=361792

View File

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