pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/chat/i2cbd Fixed pkglint warnings. Proper handling of ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/db8f3cb0ff5a
branches:  trunk
changeset: 513142:db8f3cb0ff5a
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sun May 21 16:08:32 2006 +0000

description:
Fixed pkglint warnings. Proper handling of rc.d script. Bumped PKGREVISION.

diffstat:

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

diffs (62 lines):

diff -r 439134d2aa75 -r db8f3cb0ff5a chat/i2cbd/Makefile
--- a/chat/i2cbd/Makefile       Sun May 21 15:50:18 2006 +0000
+++ b/chat/i2cbd/Makefile       Sun May 21 16:08:32 2006 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.22 2006/05/11 03:55:04 jwise Exp $
+# $NetBSD: Makefile,v 1.23 2006/05/21 16:08:32 rillig Exp $
 #
 
 DISTNAME=      i2cbd-2.0_BETA5
+PKGREVISION=   1
 CATEGORIES=    chat
 MASTER_SITES=  ${MASTER_SITE_LOCAL} \
                http://www.draga.com/~jwise/i2cb/
@@ -10,7 +11,6 @@
 HOMEPAGE=      http://www.draga.com/~jwise/i2cb/
 COMMENT=       Next generation Internet Citizens Band chat server
 
-
 .include "../../mk/bsd.prefs.mk"
 
 BUILD_DEFS+=           ICBD_OWNER
@@ -22,11 +22,12 @@
 EGFILES=               motd icbd_help icbd.deny news.1
 CONF_FILES_PERMS=      # empty
 .for f in ${EGFILES}
-CONF_FILES_PERMS+=     ${EGDIR}/${f} ${PKG_SYSCONFDIR}/${f} \
+CONF_FILES_PERMS+=     ${EGDIR}/${f:Q} ${PKG_SYSCONFDIR}/${f:Q} \
                        ${ICBD_OWNER} ${ROOT_GROUP} 644
 .endfor
 CONF_FILES_PERMS+=     /dev/null /var/log/icbd.log \
                        ${ICBD_OWNER} ${ROOT_GROUP} 644
+RCD_SCRIPTS=           icbd
 
 post-extract:
        -${RM} -f ${WRKSRC}/*/.depend
@@ -38,8 +39,8 @@
 post-install:
        ${INSTALL_DATA_DIR} ${EGDIR}
 .for f in ${EGFILES}
-       ${INSTALL_DATA} ${WRKSRC}/etc/${f} ${EGDIR}
+       ${INSTALL_DATA} ${WRKSRC}/etc/${f:Q} ${EGDIR}
 .endfor
-       ${INSTALL_SCRIPT} ${WRKDIR}/icbd.sh ${PREFIX}/etc/rc.d/icbd
+       ${INSTALL_SCRIPT} ${WRKDIR}/icbd.sh ${PREFIX}/share/examples/rc.d/icbd
 
 .include "../../mk/bsd.pkg.mk"
diff -r 439134d2aa75 -r db8f3cb0ff5a chat/i2cbd/PLIST
--- a/chat/i2cbd/PLIST  Sun May 21 15:50:18 2006 +0000
+++ b/chat/i2cbd/PLIST  Sun May 21 16:08:32 2006 +0000
@@ -1,5 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2003/07/29 16:57:46 jmmv Exp $
-etc/rc.d/icbd
+@comment $NetBSD: PLIST,v 1.4 2006/05/21 16:08:32 rillig Exp $
 man/man8/icbd.8
 man/man8/icbdb.8
 sbin/icbd
@@ -8,4 +7,5 @@
 share/examples/i2cbd/icbd_help
 share/examples/i2cbd/motd
 share/examples/i2cbd/news.1
+share/examples/rc.d/icbd
 @dirrm share/examples/i2cbd



Home | Main Index | Thread Index | Old Index