5d925a8bdf
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.
46 lines
1.3 KiB
Makefile
46 lines
1.3 KiB
Makefile
# $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= 2
|
|
CATEGORIES= chat
|
|
MASTER_SITES= ${MASTER_SITE_LOCAL}
|
|
|
|
MAINTAINER= cjs@NetBSD.org
|
|
HOMEPAGE= http://www.icb.net/
|
|
COMMENT= Internet CB - a mostly-defunct chat client
|
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
|
|
NO_SRC_ON_FTP= "already in MASTER_SITE_LOCAL"
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if ${OPSYS} == "Darwin"
|
|
BUILDLINK_TRANSFORM+= rm:-ltermcap
|
|
.endif
|
|
|
|
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
|
|
|
|
do-configure:
|
|
${SED} -e "s|@PREFIX@|${PREFIX}|g" ${FILESDIR}/config >${WRKSRC}/config
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/icb/icb ${PREFIX}/bin
|
|
${INSTALL_DATA_DIR} ${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"
|