# $Id: Portfile 90392 2012-03-04 05:51:18Z ryandesign@macports.org $

PortSystem 1.0

name			pathalizer
version			0.7
categories		www
platforms		darwin
maintainers		nomaintainer
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:project/pathalizer/pathalizer/${version}
checksums		md5 7ef23977fc246dcdf332e4eec3111037

depends_run		bin:gs:ghostscript \
				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
}
