# $Id: Portfile,v 1.4 2006/04/06 23:44:14 blb Exp $

PortSystem 1.0

name			pathalizer
version			0.7
categories		www
platforms		darwin
maintainers		mww@opendarwin.org
description		visualize the paths most users take when browsing a website
long_description	Pathalizer is a tool to visualize the paths most users \
				take when browsing a website. This information can then be \
				used to decide how to improve the navigation of the site, and \
				which parts are most worth improving and keeping up to date. 

homepage		http://pathalizer.sourceforge.net/
master_sites	sourceforge
checksums		md5 7ef23977fc246dcdf332e4eec3111037

depends_run		bin:gs:gplghostscript \
				bin:dot:graphviz \
				port:netpbm

configure	{
	reinplace "s|/etc|${prefix}/etc|g" ${worksrcpath}/bin/pathalizer
}
destroot.destdir	PREFIX=${destroot}${prefix}
post-destroot	{
	xinstall -m 755 -d ${destroot}${prefix}/etc
	xinstall -m 644 ${filespath}/pathalizer.conf \
		${destroot}${prefix}/etc/pathalizer.conf.sample
}
