summaryrefslogtreecommitdiff
path: root/www/cronolog/Makefile
blob: 8b6ba8a15ad6c9540402cf6a9eb1175065fbc153 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# $NetBSD: Makefile,v 1.4 2003/06/02 01:16:07 jschauma Exp $
#

DISTNAME=	cronolog-1.6.1
CATEGORIES=	www
MASTER_SITES=	http://www.ford-mason.co.uk/resources/cronolog/

MAINTAINER=	tech-pkg@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/texinfo.mk"
.include "../../mk/bsd.pkg.mk"