aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/ejabberd/Makefile2
-rw-r--r--net/ejabberd/files/ejabberd.cfg.sample4
-rw-r--r--net/ejabberd/pkg-plist26
3 files changed, 17 insertions, 15 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
diff --git a/net/ejabberd/files/ejabberd.cfg.sample b/net/ejabberd/files/ejabberd.cfg.sample
index ab18fa3ba2d7..f0f43f0f5bac 100644
--- a/net/ejabberd/files/ejabberd.cfg.sample
+++ b/net/ejabberd/files/ejabberd.cfg.sample
@@ -1,4 +1,4 @@
-% Default Debian ejabberd.cfg
+% Default FreeBSD ejabberd.cfg
%override_acls.
@@ -34,7 +34,7 @@
% and body:
{welcome_message,
{"Welcome!",
- "Welcome to Debian Jabber Service. "
+ "Welcome to FreeBSD Jabber Service. "
"For information about Jabber visit http://jabber.org"}}.
% Replace them with 'none' if you don't want to send such message:
%{welcome_message, none}.
diff --git a/net/ejabberd/pkg-plist b/net/ejabberd/pkg-plist
index 792cabda88c7..f5e204b9ed3f 100644
--- a/net/ejabberd/pkg-plist
+++ b/net/ejabberd/pkg-plist
@@ -71,19 +71,19 @@ lib/erlang/lib/ejabberd-%%VERSION%%/priv/msgs/es.msg
lib/erlang/lib/ejabberd-%%VERSION%%/priv/msgs/fr.msg
lib/erlang/lib/ejabberd-%%VERSION%%/priv/msgs/nl.msg
lib/erlang/lib/ejabberd-%%VERSION%%/priv/msgs/ru.msg
-%%DOCSDIR%%/confacls.png
-%%DOCSDIR%%/confhostname.png
-%%DOCSDIR%%/dev.html
-%%DOCSDIR%%/dev.tex
-%%DOCSDIR%%/disco.png
-%%DOCSDIR%%/discoallusers.png
-%%DOCSDIR%%/discorunnodes.png
-%%DOCSDIR%%/discorus.png
-%%DOCSDIR%%/guide.html
-%%DOCSDIR%%/guide.tex
-%%DOCSDIR%%/logo.png
-%%DOCSDIR%%/webadmmain.png
-%%DOCSDIR%%/webadmmainru.png
+%%PORTDOCS%%%%DOCSDIR%%/confacls.png
+%%PORTDOCS%%%%DOCSDIR%%/confhostname.png
+%%PORTDOCS%%%%DOCSDIR%%/dev.html
+%%PORTDOCS%%%%DOCSDIR%%/dev.tex
+%%PORTDOCS%%%%DOCSDIR%%/disco.png
+%%PORTDOCS%%%%DOCSDIR%%/discoallusers.png
+%%PORTDOCS%%%%DOCSDIR%%/discorunnodes.png
+%%PORTDOCS%%%%DOCSDIR%%/discorus.png
+%%PORTDOCS%%%%DOCSDIR%%/guide.html
+%%PORTDOCS%%%%DOCSDIR%%/guide.tex
+%%PORTDOCS%%%%DOCSDIR%%/logo.png
+%%PORTDOCS%%%%DOCSDIR%%/webadmmain.png
+%%PORTDOCS%%%%DOCSDIR%%/webadmmainru.png
%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrm lib/erlang/lib/ejabberd-%%VERSION%%/priv/lib
@dirrm lib/erlang/lib/ejabberd-%%VERSION%%/priv/msgs