# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id: Portfile 90761 2012-03-14 06:57:09Z ryandesign@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:project/libut/libut2/libut-${version}

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}
}

livecheck.regex     /${name}-(\[0-9.\]+)${extract.suffix}
