# $Id: Portfile,v 1.5 2005/02/11 02:58:17 toby Exp $

PortSystem 1.0
name             irssistats
version          0.70
categories       irc
maintainers      toby@opendarwin.org
description      generate IRC statistics from irssi logs
long_description \
	This tool generates IRC stats based on irssi logs.
homepage         http://royale.zerezo.com/irssistats/
platforms        darwin
master_sites     ${homepage}
checksums        md5 9fd99eb73166f2e8dad2328a52e884a1

patch {
	reinplace "s|/etc|${prefix}/etc|" \
		${worksrcpath}/irssistats.1 \
		${worksrcpath}/irssistats.c \
		${worksrcpath}/irssistats.sgml \
		${worksrcpath}/sample.configfile
	reinplace "s|/usr|${prefix}|" \
		${worksrcpath}/irssistats.1 \
		${worksrcpath}/irssistats.sgml
}

configure        {}

build.target

destroot.destdir PRE=${destroot}${prefix}
