DESCR

"cronolog" is a simple program that reads log messages from its input
and writes them to a set of output files, the names of which are
constructed using template and the current date and time. The
template uses the same format specifiers as the Unix date command
(which are the same as the standard C strftime library function).

"cronolog" is intended to be used in conjunction with a Web server, such
as Apache to split the access log into daily or monthly logs.

Makefile

# $NetBSD: Makefile,v 1.16 2010/02/16 18:16:26 joerg Exp $
#

DISTNAME= cronolog-1.6.2
PKGREVISION= 1
CATEGORIES= www
MASTER_SITES= http://cronolog.org/download/

MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://cronolog.org/
COMMENT= Web log rotation utility that provides datestamp filenames

PKG_DESTDIR_SUPPORT= user-destdir

GNU_CONFIGURE= YES
INFO_FILES= yes
USE_TOOLS+= perl:run
INSTALLATION_DIRS= ${PKGMANDIR}/man1 ${PKGMANDIR}/man8

SUBST_CLASSES+= cl
SUBST_STAGE.cl= pre-configure
SUBST_FILES.cl= doc/cronolog.1m
SUBST_SED.cl= -e "s,/www/sbin/cronolog,${PREFIX}/sbin/cronolog,g"

post-install:
cd ${DESTDIR}${PREFIX}/${PKGMANDIR} && mv man1/cronolog.1m man8/cronolog.8
cd ${DESTDIR}${PREFIX}/${PKGMANDIR} && mv man1/cronosplit.1m man8/cronosplit.8

.include "../../mk/bsd.pkg.mk"

PLIST

@comment $NetBSD: PLIST,v 1.5 2006/04/08 05:02:59 jlam Exp $
info/cronolog.info
man/man8/cronolog.8
man/man8/cronosplit.8
sbin/cronolog
sbin/cronosplit

distinfo

$NetBSD: distinfo,v 1.5 2005/02/24 14:08:30 wiz Exp $

SHA1 (cronolog-1.6.2.tar.gz) = 6422b7c5e87241eb31d76809a2e0eea77ae4c64e
RMD160 (cronolog-1.6.2.tar.gz) = 6181c14e69a419c633950274c3c112f6bd784f9e
Size (cronolog-1.6.2.tar.gz) = 133591 bytes