# $Id: Portfile 30224 2007-10-22 22:49:14Z jmpp@macports.org $

PortSystem 1.0

name			libut
version			2.0
categories		devel
platforms		darwin
maintainers		nomaintainer
description		library for writing Unix servers or daemon processes
long_description	libut is a C library for writing Unix servers or daemon \
			processes. It invokes callbacks for I/O, signals, or timer \
			activity. It supports logging, profiling, configuration, and \
			runtime administration through an interactive control port.

homepage		http://libut.sourceforge.net/
master_sites	sourceforge
checksums		md5 d084b5b2cb5ac3eb6c8bab47f064bf2d
use_bzip2		yes

configure.args	--mandir=${prefix}/share/man

post-destroot {
	xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
	xinstall -m 644 -W ${worksrcpath} README LICENSE \
		${destroot}${prefix}/share/doc/${name}
}
	
