# $Id: Portfile,v 1.3 2005/06/14 17:20:40 mww Exp $

PortSystem 1.0

name			syslog-ng
version			1.6.8
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/stable/src
checksums			md5 ffbad7e8e6dcbe385820b8ffba23b622

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