# New ports collection makefile for:	irssistats
# Date created:			14 Feb 2004
# Whom:				Travis Poppe <tlp@liquidx.org>
#
# $FreeBSD: ports/irc/irssistats/Makefile,v 1.9 2007/12/12 06:55:42 az Exp $
#

PORTNAME=	irssistats
PORTVERSION=	0.75
CATEGORIES=	irc
MASTER_SITES=	http://royale.zerezo.com/irssistats/

MAINTAINER=	az@FreeBSD.org
COMMENT=	Generate IRC statistics based on irssi logs

MAKE_ARGS+=	DATADIR="${DATADIR}" DOCSDIR="${DOCSDIR}" EXAMPLESDIR="${EXAMPLESDIR}" PREFIX="${PREFIX}" \
		CC="${CC}" CFLAGS="${CFLAGS}"

MAN1=	irssistats.1
ALL_TARGET=	irssistats
INSTALL_TARGET=	install

post-patch:
	@${REINPLACE_CMD} -e 's|/etc/irssistats.conf|${PREFIX}/etc/irssistats.conf|g' ${WRKSRC}/irssistats.c

.if defined(NOPORTDOCS)
MAKE_ARGS+=	NOPORTDOCS="${NOPORTDOCS}"
.endif

.include <bsd.port.mk>


syntax highlighted by Code2HTML, v. 0.9.1