summaryrefslogtreecommitdiff
path: root/www/cronolog/Makefile
blob: 39682b735a22840c45baff2f7910067a42d9c366 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# $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"