Portfile

# $Id: Portfile 20471 2006-11-03 15:27:05Z blair@macports.org $

PortSystem 1.0

name syslog-ng
version 1.6.11
categories sysutils
platforms darwin
maintainers jd@lifehertz.com
description Highly configurable syslog replacement.
long_description syslog-ng is the world's most flexible and scalable audit \
trail processing tool for organizations of any size. It \
provides a centralised, securely stored log of all devices \
on your network, whatever platform they run on. And \
syslog-ng also incorporates a host of powerful features, \
including filtering based on message content, as well as \
customisable data mining and analysis capabilities.

homepage http://www.balabit.com/products/syslog_ng/
master_sites http://www.balabit.com/downloads/syslog-ng/1.6/src
checksums md5 8f9ca6140f428dc9adec9fa1c270a2dd

depends_lib lib:libol:libol

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

variant powerpc {
configure.args-append --host=powerpc
}

post-destroot {
xinstall -m 644 ${worksrcpath}/doc/syslog-ng.conf.sample \
${destroot}${prefix}/etc
xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
xinstall -m 644 -W ${worksrcpath} ChangeLog INSTALL README AUTHORS COPYING \
NEWS PORTS ${destroot}${prefix}/share/doc/${name}
}