pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/chat/icb Install sample files into the examples direct...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f04a48ce13d6
branches:  trunk
changeset: 511050:f04a48ce13d6
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Sat Apr 08 19:57:15 2006 +0000

description:
Install sample files into the examples directory and treat icbserverdb
as a config file since it may be modified on a per-system basis to
select the default ICB server with which to connect.

Bump the PKGREVISION to 2.

diffstat:

 chat/icb/Makefile |  20 +++++++++++---------
 chat/icb/PLIST    |   6 +++---
 2 files changed, 14 insertions(+), 12 deletions(-)

diffs (62 lines):

diff -r f59c50bbd982 -r f04a48ce13d6 chat/icb/Makefile
--- a/chat/icb/Makefile Sat Apr 08 19:29:52 2006 +0000
+++ b/chat/icb/Makefile Sat Apr 08 19:57:15 2006 +0000
@@ -1,11 +1,11 @@
-# $NetBSD: Makefile,v 1.13 2006/01/22 21:39:33 schwarz Exp $
+# $NetBSD: Makefile,v 1.14 2006/04/08 19:57:15 jlam Exp $
 #
 
 # Note: The file ftp://ftp.icb.net/pub/icb/icb-0.9grok2.tar.gz is way
 #      older than this here. It's got no readline support, tcl, ... - HF
 DISTNAME=              icb-5.0.9
 PKGNAME=               icb-5.0.9pl1
-PKGREVISION=           1
+PKGREVISION=           2
 CATEGORIES=            chat
 MASTER_SITES=          ${MASTER_SITE_LOCAL}
 
@@ -23,7 +23,10 @@
 BUILDLINK_TRANSFORM+=  rm:-ltermcap
 .endif
 
-INSTALLATION_DIRS=     bin libdata libdata/icb
+INSTALLATION_DIRS=     bin ${ICBLIBDIR} ${EGDIR}
+EGDIR=                 ${PREFIX}/share/examples/icb
+ICBLIBDIR=             ${PREFIX}/libdata/icb
+CONF_FILES+=           ${EGDIR}/icbserverdb ${PREFIX}/libdata/icbserverdb
 
 post-extract:
        ${RM} -f ${WRKSRC}/tcl/string.h
@@ -33,12 +36,11 @@
 
 do-install:
        ${INSTALL_PROGRAM} ${WRKSRC}/icb/icb ${PREFIX}/bin
-       ${INSTALL_SCRIPT} ${WRKSRC}/icbserverdb ${PREFIX}/libdata
        ${INSTALL_DATA_DIR} ${PREFIX}/libdata/icb
-       ${INSTALL_SCRIPT} ${WRKSRC}/sample.icbrc \
-               ${WRKSRC}/contrib/bartender \
-               ${WRKSRC}/contrib/confuse \
-               ${WRKSRC}/contrib/echofile \
-               ${PREFIX}/libdata/icb
+       ${INSTALL_DATA} ${WRKSRC}/contrib/bartender ${ICBLIBDIR}
+       ${INSTALL_DATA} ${WRKSRC}/contrib/confuse ${ICBLIBDIR}
+       ${INSTALL_DATA} ${WRKSRC}/contrib/echofile ${ICBLIBDIR}
+       ${INSTALL_DATA} ${WRKSRC}/icbserverdb ${EGDIR}
+       ${INSTALL_DATA} ${WRKSRC}/sample.icbrc ${EGDIR}
 
 .include "../../mk/bsd.pkg.mk"
diff -r f59c50bbd982 -r f04a48ce13d6 chat/icb/PLIST
--- a/chat/icb/PLIST    Sat Apr 08 19:29:52 2006 +0000
+++ b/chat/icb/PLIST    Sat Apr 08 19:57:15 2006 +0000
@@ -1,8 +1,8 @@
-@comment $NetBSD: PLIST,v 1.1 2001/10/31 19:09:25 zuntum Exp $
+@comment $NetBSD: PLIST,v 1.2 2006/04/08 19:57:15 jlam Exp $
 bin/icb
-libdata/icbserverdb
-libdata/icb/sample.icbrc
 libdata/icb/bartender
 libdata/icb/confuse
 libdata/icb/echofile
+share/examples/icb/icbserverdb
+share/examples/icb/sample.icbrc
 @dirrm libdata/icb



Home | Main Index | Thread Index | Old Index