diff options
author | jlam <jlam@pkgsrc.org> | 2006-04-08 19:57:15 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2006-04-08 19:57:15 +0000 |
commit | 5d925a8bdf0dc7f99a1018dc1ea2232751f106cc (patch) | |
tree | 691b3e3fd3c3806a27ce649ea427323a9acc85a2 /chat/icb/Makefile | |
parent | 0ad81d9bd71797465c1c1cd0e4f95cbe14858594 (diff) | |
download | pkgsrc-5d925a8bdf0dc7f99a1018dc1ea2232751f106cc.tar.gz |
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 (limited to 'chat/icb/Makefile')
-rw-r--r-- | chat/icb/Makefile | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/chat/icb/Makefile b/chat/icb/Makefile index 1370b37779c..7fe1acfc7db 100644 --- a/chat/icb/Makefile +++ b/chat/icb/Makefile @@ -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 @@ NO_SRC_ON_FTP= "already in MASTER_SITE_LOCAL" 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-configure: 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" |