openbsd-ports/net/bitchx/Makefile

33 lines
889 B
Makefile

# $OpenBSD: Makefile,v 1.8 1999/09/27 01:41:50 brad Exp $
# $FreeBSD: Makefile,v 1.3 1998/07/21 11:38:44 eivind Exp $
DISTNAME= ircii-pana-75p3
PKGNAME= bitchx-75p3
CATEGORIES= net
MASTER_SITES= ftp://ftp.bitchx.com/pub/BitchX/source/ \
ftp://ftp.bitchx.org/pub/BitchX/source/
NEED_VERSION= 1.114
MAINTAINER= brad@openbsd.org
GNU_CONFIGURE= yes
WRKSRC= ${WRKDIR}/BitchX
post-extract:
@${CHMOD} u+x ${WRKSRC}/WinNT/include
@${CHMOD} u+x ${WRKSRC}/WinNT/source
post-patch:
@${SED} -e s,__PREFIX__,$(PREFIX), $(WRKSRC)/include/config.h > $(WRKSRC)/include/config.h.new
@${MV} $(WRKSRC)/include/config.h.new $(WRKSRC)/include/config.h
do-install:
@${MKDIR} ${PREFIX}/lib/bitchx
${INSTALL_PROGRAM} ${WRKSRC}/source/BitchX ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/source/wserv ${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/BitchX.help ${PREFIX}/lib/bitchx
.include <bsd.port.mk>