pkgsrc/chat/icb/Makefile
schwarz 381ee5013b added -f option to rm command to ensure it works even if the archive gets
unpacked without user write permissions for the file to be removed.
2006-01-22 21:39:33 +00:00

44 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.13 2006/01/22 21:39:33 schwarz 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
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 libdata libdata/icb
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_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
.include "../../mk/bsd.pkg.mk"