2005-12-14 14:53:24 +01:00
|
|
|
# $NetBSD: Makefile,v 1.12 2005/12/14 13:53:24 joerg Exp $
|
2000-12-15 01:36:25 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
# 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
|
2005-12-14 14:53:24 +01:00
|
|
|
PKGREVISION= 1
|
2000-12-15 01:36:25 +01:00
|
|
|
CATEGORIES= chat
|
|
|
|
MASTER_SITES= ${MASTER_SITE_LOCAL}
|
|
|
|
|
2003-07-17 23:21:03 +02:00
|
|
|
MAINTAINER= cjs@NetBSD.org
|
2000-12-15 01:36:25 +01:00
|
|
|
HOMEPAGE= http://www.icb.net/
|
2001-02-16 14:41:26 +01:00
|
|
|
COMMENT= Internet CB - a mostly-defunct chat client
|
2000-12-15 01:36:25 +01:00
|
|
|
|
2004-03-29 05:28:49 +02:00
|
|
|
PKG_INSTALLATION_TYPES= overwrite pkgviews
|
|
|
|
|
2000-12-15 01:36:25 +01:00
|
|
|
NO_SRC_ON_FTP= "already in MASTER_SITE_LOCAL"
|
|
|
|
|
2002-06-02 03:41:19 +02:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
2002-11-15 00:24:23 +01:00
|
|
|
.if ${OPSYS} == "Darwin"
|
2004-08-28 08:05:31 +02:00
|
|
|
BUILDLINK_TRANSFORM+= rm:-ltermcap
|
2002-11-15 00:24:23 +01:00
|
|
|
.endif
|
2002-06-02 03:41:19 +02:00
|
|
|
|
2004-03-29 05:28:49 +02:00
|
|
|
INSTALLATION_DIRS= bin libdata libdata/icb
|
|
|
|
|
2005-12-14 14:53:24 +01:00
|
|
|
post-extract:
|
|
|
|
${RM} ${WRKSRC}/tcl/string.h
|
|
|
|
|
2002-11-15 00:24:23 +01:00
|
|
|
do-configure:
|
|
|
|
${SED} -e "s|@PREFIX@|${PREFIX}|g" ${FILESDIR}/config >${WRKSRC}/config
|
2000-12-15 01:36:25 +01:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/icb/icb ${PREFIX}/bin
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/icbserverdb ${PREFIX}/libdata
|
2001-02-24 03:09:27 +01:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/libdata/icb
|
2000-12-15 01:36:25 +01:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/sample.icbrc \
|
|
|
|
${WRKSRC}/contrib/bartender \
|
|
|
|
${WRKSRC}/contrib/confuse \
|
|
|
|
${WRKSRC}/contrib/echofile \
|
|
|
|
${PREFIX}/libdata/icb
|
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|