aboutsummaryrefslogtreecommitdiffstats
path: root/net/ejabberd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/ejabberd/Makefile')
-rw-r--r--net/ejabberd/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/ejabberd/Makefile b/net/ejabberd/Makefile
index 926ea145c3a9..f702b9389dee 100644
--- a/net/ejabberd/Makefile
+++ b/net/ejabberd/Makefile
@@ -48,8 +48,10 @@ do-install:
@${INSTALL_SCRIPT} ${WRKSRC}/ejabberdctl ${PREFIX}/bin
@${INSTALL_SCRIPT} ${WRKSRC}/ejabberd.sh ${PREFIX}/etc/rc.d
@${INSTALL_DATA} ${FILESDIR}/ejabberd.cfg.sample ${PREFIX}/etc/
+.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/../doc/* ${DOCSDIR}
+.endif
post-install:
@PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL