aboutsummaryrefslogtreecommitdiffstats
path: root/net/ejabberd
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2004-08-19 18:15:58 +0800
committersobomax <sobomax@FreeBSD.org>2004-08-19 18:15:58 +0800
commitab30d64b18bb6a79c20ec54b134b238ea4c553ee (patch)
tree12c590c45f072d86d3f1b565b5ddaf6e57ecc05a /net/ejabberd
parentd4bba03733bc2b587af81c6297e255d2a03a250e (diff)
downloadfreebsd-ports-gnome-ab30d64b18bb6a79c20ec54b134b238ea4c553ee.tar.gz
freebsd-ports-gnome-ab30d64b18bb6a79c20ec54b134b238ea4c553ee.tar.zst
freebsd-ports-gnome-ab30d64b18bb6a79c20ec54b134b238ea4c553ee.zip
Add some patches submitted by maintainer privately, not via PR.
Diffstat (limited to 'net/ejabberd')
-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