# New ports collection makefile for:	gruftistats
# Date created:		29 October 2001
# Whom:			Matthew West <mwest@uct.ac.za>
#
# $FreeBSD: ports/irc/gruftistats/Makefile,v 1.1 2001/12/25 04:59:19 petef Exp $
#

PORTNAME=	gruftistats
PORTVERSION=	0.2.4
CATEGORIES=	irc
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	gruftistats

MAINTAINER=	mwest@uct.ac.za

GNU_CONFIGURE=	YES
USE_GMAKE=	YES

.if defined(NOPORTDOCS)
MAKE_ARGS=	NOPORTDOCS=1
.endif

MAN1=		gruftistats.1

post-patch:
	@${PERL} -pi -e 's,strcasestr,strcasestr_x,g' ${WRKSRC}/ircstats.h \
		${WRKSRC}/lib.c

.include <bsd.port.mk>
