pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/chat/ejabberd ejabberd: Install bash completion correc...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/817575857d55
branches:  trunk
changeset: 448577:817575857d55
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Wed Mar 10 16:44:21 2021 +0000

description:
ejabberd: Install bash completion correctly.

diffstat:

 chat/ejabberd/Makefile |  8 +++++---
 chat/ejabberd/PLIST    |  4 ++--
 2 files changed, 7 insertions(+), 5 deletions(-)

diffs (49 lines):

diff -r ebc3ee8677ca -r 817575857d55 chat/ejabberd/Makefile
--- a/chat/ejabberd/Makefile    Wed Mar 10 16:41:32 2021 +0000
+++ b/chat/ejabberd/Makefile    Wed Mar 10 16:44:21 2021 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.92 2021/02/08 07:51:42 triaxx Exp $
+# $NetBSD: Makefile,v 1.93 2021/03/10 16:44:21 jperkin Exp $
 
 DISTNAME=      ejabberd-21.01
+PKGREVISION=   1
 CATEGORIES=    chat
 MASTER_SITES=  https://www.process-one.net/downloads/downloads-action.php?file=/${PKGVERSION_NOREV}/
 EXTRACT_SUFX=  .tgz
@@ -90,7 +91,8 @@
 
 EGDIR=                 share/examples/ejabberd
 
-INSTALLATION_DIRS+=    share/doc/${PKGBASE} ${EGDIR} share/bash-completion.d
+INSTALLATION_DIRS+=    share/bash-completion/completions
+INSTALLATION_DIRS+=    share/doc/${PKGBASE} ${EGDIR}
 INSTALLATION_DIRS+=    lib/${DISTNAME}/priv/sql
 
 CONF_FILES_PERMS=      ${EGDIR}/ejabberd.yml ${PKG_SYSCONFDIR}/ejabberd.yml \
@@ -115,7 +117,7 @@
 
 post-install:
        ${INSTALL_DATA} ${WRKSRC}/tools/ejabberdctl.bc                  \
-               ${DESTDIR}${PREFIX}/share/bash-completion.d/ejabberd
+               ${DESTDIR}${PREFIX}/share/bash-completion/completions/ejabberd
        cd ${WRKSRC}/sql && ${INSTALL_DATA} *.sql                       \
                ${DESTDIR}${PREFIX}/lib/${PKGNAME_NOREV}/priv/sql
 
diff -r ebc3ee8677ca -r 817575857d55 chat/ejabberd/PLIST
--- a/chat/ejabberd/PLIST       Wed Mar 10 16:41:32 2021 +0000
+++ b/chat/ejabberd/PLIST       Wed Mar 10 16:44:21 2021 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.56 2021/02/08 07:51:42 triaxx Exp $
+@comment $NetBSD: PLIST,v 1.57 2021/03/10 16:44:21 jperkin Exp $
 lib/${PKGNAME}/COPYING
 lib/${PKGNAME}/ebin/ELDAPv3.beam
 lib/${PKGNAME}/ebin/acl.beam
@@ -360,7 +360,7 @@
 lib/${PKGNAME}/priv/sql/pg.sql
 man/man5/ejabberd.yml.5
 sbin/ejabberdctl
-share/bash-completion.d/ejabberd
+share/bash-completion/completions/ejabberd
 share/doc/ejabberd/COPYING
 share/examples/ejabberd/ejabberd.yml
 share/examples/ejabberd/ejabberdctl.cfg



Home | Main Index | Thread Index | Old Index