pkgsrc/www/cronolog/Makefile
zuntum 12a71ab4f3 Initial import of cronolog-1.6.1
"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.
2001-04-01 20:37:30 +00:00

23 lines
731 B
Makefile

# $NetBSD: Makefile,v 1.1.1.1 2001/04/01 20:37:30 zuntum Exp $
#
DISTNAME= cronolog-1.6.1
CATEGORIES= www
MASTER_SITES= http://www.ford-mason.co.uk/resources/cronolog/
MAINTAINER= zuntum@netbsd.org
HOMEPAGE= http://www.ford-mason.co.uk/resources/cronolog/
COMMENT= Web log rotation utility that provides datestamp filenames
GNU_CONFIGURE= YES
post-patch:
${SED} "s,/www/sbin/cronolog,${PREFIX}/sbin/cronolog,g" \
${WRKSRC}/doc/cronolog.1m > ${WRKSRC}/doc/cronolog.1m.done
${MV} ${WRKSRC}/doc/cronolog.1m.done ${WRKSRC}/doc/cronolog.1m
post-install:
${MV} ${PREFIX}/man/man1/cronolog.1m ${PREFIX}/man/man8/cronolog.8
${MV} ${PREFIX}/man/man1/cronosplit.1m ${PREFIX}/man/man8/cronosplit.8
.include "../../mk/bsd.pkg.mk"