# $Id: Portfile 71100 2010-09-01 08:24:45Z ryandesign@macports.org $

PortSystem 1.0

name			cronolog-devel
conflicts		cronolog
version			1.7.0-beta
categories		sysutils

maintainers		jberry openmaintainer
platforms		darwin

description		cronolog is a web log rotation program
long_description	cronolog is a simple filter program that reads log file \
				entries from standard input and writes each entry to the \
				output file specified by a filename template and the current \
				date and time. When the expanded filename changes, the \
				current file is closed and a new one opened. \
				This development release of 1.7 adds patches to support \
				helper programs that can process a log after it is rolled. \
				Run cronolog with no options for help.

homepage		http://cronolog.org/
master_sites	${homepage}/patches/

platform darwin {
	# Work around a linuxism in the code
	configure.cflags-append "-DO_LARGEFILE=0"
}

distname		cronolog-${version}
worksrcdir		cronolog-1.7.0
checksums		md5 4a53cc3d44984b292f33b73da365cd3e

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