pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/chat/i2cbd Set RCD_SCRIPT_SRC and let the normal file ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/502c19d581d2
branches:  trunk
changeset: 532770:502c19d581d2
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu Aug 30 16:04:19 2007 +0000

description:
Set RCD_SCRIPT_SRC and let the normal file substitutions take care
of the rest.

diffstat:

 chat/i2cbd/Makefile |  7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diffs (27 lines):

diff -r a6d3ee0a5d0d -r 502c19d581d2 chat/i2cbd/Makefile
--- a/chat/i2cbd/Makefile       Thu Aug 30 15:57:10 2007 +0000
+++ b/chat/i2cbd/Makefile       Thu Aug 30 16:04:19 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.25 2007/07/04 20:54:32 jlam Exp $
+# $NetBSD: Makefile,v 1.26 2007/08/30 16:04:19 joerg Exp $
 #
 
 DISTNAME=      i2cbd-2.0_BETA5
@@ -29,16 +29,13 @@
 CONF_FILES_PERMS+=     /dev/null /var/log/icbd.log \
                        ${ICBD_OWNER} ${ROOT_GROUP} 644
 RCD_SCRIPTS=           icbd
+RCD_SCRIPT_SRC.icbd=   ${WRKSRC}/etc/icbd.sh
 INSTALLATION_DIRS=     ${PKGMANDIR}/man8 sbin share/examples/i2cbd \
                        share/examples/rc.d
 
 post-extract:
        -${RM} -f ${WRKSRC}/*/.depend
 
-post-build:
-       ${SED} -e 's,@PREFIX@,${PREFIX},' \
-               < ${WRKSRC}/etc/icbd.sh > ${WRKDIR}/icbd.sh
-
 post-install:
 .for f in ${EGFILES}
        ${INSTALL_DATA} ${WRKSRC}/etc/${f:Q} ${EGDIR}



Home | Main Index | Thread Index | Old Index