openbsd-ports/net/icb/Makefile
2000-01-16 11:46:29 +00:00

27 lines
810 B
Makefile

# $OpenBSD: Makefile,v 1.12 2000/01/16 11:46:29 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/
EXTRACT_SUFX= .tar.Z
MAINTAINER= ports@openbsd.org
do-configure:
@sed -e s,@PREFIX@,${PREFIX},g \
-e s,@CC@,${CC},g ${FILESDIR}/config > ${WRKSRC}/config
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/lib/icb
${INSTALL_PROGRAM} ${WRKSRC}/icb/icb ${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/icbserverdb ${PREFIX}/lib/icb/sample.icbserverdb
${INSTALL_DATA} ${WRKSRC}/sample.icbrc ${PREFIX}/lib/icb
cd ${WRKSRC}/contrib; ${INSTALL_DATA} bartender confuse echofile \
${PREFIX}/lib/icb
post-install:
@PKG_PREFIX="${PREFIX}" sh ${PKGDIR}/INSTALL ${DISTNAME} POST-INSTALL
.include <bsd.port.mk>