# $Id: Portfile 30232 2007-10-22 23:05:56Z jmpp@macports.org $

PortSystem 1.0

name			fisg
version			0.3.12
categories		irc
platforms		darwin
maintainers		nomaintainer
description		creates HTML pages with statistics about IRC logs
long_description	Fast IRC Stats Generator (FISG) creates HTML pages with \
				statistics about IRC logs. It has less features than some \
				alternatives, but is much faster and can be run on low-end \
				systems. It supports Irssi and Eggdrop log files.

homepage		http://www.tnsp.org/fisg.php
master_sites	http://www.tnsp.org/files/
checksums		md5 80ea8c94cb9c5a9732ec4baa51bd1b61

extract.post_args	"| tar -xf - --exclude 'CVS'"

use_configure	no

build.type		gnu
build.dir		${worksrcpath}/src

destroot	{
	xinstall -m 755 -s ${worksrcpath}/src/fisg ${destroot}${prefix}/bin
	xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
	xinstall -m 644 -W ${worksrcpath} COPYING ChangeLog FAQ INSTALL PARSER \
		README THANKS example.cfg logformat.cfg users.cfg \
		${destroot}${prefix}/share/doc/${name}
	file copy ${worksrcpath}/data ${destroot}${prefix}/share/${name}
}
