# $Id: Portfile 29395 2007-09-22 22:47:13Z nox@macports.org $

PortSystem      1.0

name            howl
version         1.0.0
categories      net
platforms       darwin
maintainers     nomaintainer
description     Howl is a cross-platform implementation of Zeroconf networking.

long_description \
    Howl is a cross-platform implementation of Zeroconf networking. Branded as Rendezvous(tm) by \
    Apple Computer, Inc., Zeroconf standardizes networking protocols for delivering hassle-free \
    ad-hoc networking, service discovery and IP configuration. This ease of use, enjoyed by users \
    of Mac OS X, is now available as an SDK for Windows 2000/XP and many flavors of Unix. Howl \
    allows software developers to easily embed Zeroconf functionality in their applications, making \
    cumbersome and error-prone network configuration tasks seem so five minutes ago. Give your \
    users what they want. Give them simple, elegant networking. Give them Howl.

homepage        http://www.porchdogsoft.com/products/howl/
master_sites    http://www.porchdogsoft.com/download/

checksums       md5 c389d3ffba0e69a179de2ec650f1fdcc \
                sha1 0592b72e8d2fac24e737cf3455969a95c6505e24 \
                rmd160 f8eb6633d9edbb62038795ea66dcbf9dca4cffc1

patchfiles      patch-src-lib-howl-MacOSX-macosx_salt.c \
                patch-src-lib-howl-MacOSX-macosx_salt.h

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

set docdir      ${prefix}/share/doc/${name}-${version}

destroot.args   man_MANS="autoipd.8 mDNSResponder.8 nifd.8" \
                howl_helpdir=${docdir}/html

post-destroot {
    set docdir ${prefix}/share/doc/${name}-${version}
    xinstall -d ${destroot}${docdir}
    xinstall -m 0644 -W ${worksrcpath} AUTHORS COPYING ChangeLog NEWS README TODO \
        ${destroot}${docdir}
}

test.run        yes
test.target     check

