# $OpenBSD: Makefile,v 1.9 1999/04/09 04:11:49 brad Exp $ # $NetBSD: Makefile,v 1.6 1998/04/15 11:15:34 frueauf Exp $ DISTNAME= icb-5.0.9 CATEGORIES= net MASTER_SITES= ftp://ftp.swcp.com/pub/icb/clients/unix/ \ ftp://ftp.swcp.com/pub/icb/clients/ \ ftp://ftp.empire.net/pub/icb/clients/ \ ftp://ftp.cs.unm.edu/pub/armijo/icb.src/clients/ EXTRACT_SUFX= .tar.Z MAINTAINER= ports@openbsd.org do-configure: @cd ${WRKSRC}; \ ${SED} -e s,@PREFIX@,${PREFIX},g ${FILESDIR}/config >${WRKSRC}/config do-install: ${INSTALL_PROGRAM} ${WRKSRC}/icb/icb ${PREFIX}/bin @if [ -f ${PREFIX}/lib/icbserverdb ]; then \ ${ECHO} "*** Found ${PREFIX}/lib/icbserverdb - not replacing"; \ else \ ${ECHO} "Installing default ${PREFIX}/lib/icbserverdb."; \ ${INSTALL_DATA} ${WRKSRC}/icbserverdb ${PREFIX}/lib; \ fi ${INSTALL} -d ${PREFIX}/lib/icb ${INSTALL_DATA} ${WRKSRC}/sample.icbrc \ ${WRKSRC}/contrib/bartender \ ${WRKSRC}/contrib/confuse \ ${WRKSRC}/contrib/echofile \ ${PREFIX}/lib/icb .include