aboutsummaryrefslogtreecommitdiff
path: root/deskutils
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-07-14 15:42:55 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-07-14 15:42:55 +0000
commit0e938205261fdb61654e1b94e7e772e4c6040e9c (patch)
tree1da3cc8ad7b4b5c8cf1bee87bb4fdce134e8e5fa /deskutils
parent02a5f6113a7b11ee8d31565c059b2e5c79f15c2a (diff)
downloadports-0e938205261fdb61654e1b94e7e772e4c6040e9c.tar.gz
ports-0e938205261fdb61654e1b94e7e772e4c6040e9c.zip
Fix installation with DOCS disabled.
PR: 144406 Submitted by: Chris Nehren
Notes
Notes: svn path=/head/; revision=361792
Diffstat (limited to 'deskutils')
-rw-r--r--deskutils/mirall/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/deskutils/mirall/Makefile b/deskutils/mirall/Makefile
index 927136c9f167..3b5184dac0e9 100644
--- a/deskutils/mirall/Makefile
+++ b/deskutils/mirall/Makefile
@@ -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>