summaryrefslogtreecommitdiff
path: root/www/cronolog/Makefile
blob: ae391dd7bf6ca37446105b34543a5e59b2823342 (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.3 2002/02/18 15:14:45 seb Exp $
#

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

MAINTAINER=	packages@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"