# $Id$

PortSystem      1.0

name				uplog
version				0.3

categories			net
maintainers			markd
platforms			darwin

description			A UDP based ping program that can give an ASCII-graphical \
				log of the packet losses.

long_description		${description}

homepage			http://www.nerdlabs.org/projects/uplog.php
master_sites		        http://www.nerdlabs.org/downloads/uplog/
checksums			md5 38af7eab6c656befbda24683124ac8dc

post-patch {
	reinplace "s|#include <malloc.h>||g" \
		${worksrcpath}/uplog.c
}

post-destroot {
	xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
	xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING INSTALL NEWS README THANKS TODO \
		${destroot}${prefix}/share/doc/${name}
}