summaryrefslogtreecommitdiff
path: root/www/calamaris/Makefile
blob: fd645b1188ec87b652a8d9126cc0584508b427e9 (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
25
26
27
28
# $NetBSD: Makefile,v 1.2 2001/02/17 17:21:59 wiz Exp $
#

DISTNAME=	calamaris-2.39
CATEGORIES=	www
MASTER_SITES=	http://cord.de/tools/squid/calamaris/

MAINTAINER=	rh@netbsd.org
HOMEPAGE=	http://cord.de/tools/squid/calamaris/
COMMENT=	squid logfile analyzer

USE_PERL5=	YES
NO_BUILD=	YES

do-configure:
	cd ${WRKSRC} && ${CP} calamaris calamaris.tmp &&	\
	${SED} -e 's:/usr/bin/perl:${PREFIX}/bin/perl:g'	\
		< calamaris.tmp > calamaris

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/calamaris ${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/calamaris.1 ${PREFIX}/man/man1
	${INSTALL_DATA_DIR} ${PREFIX}/share/doc/calamaris
.for doc in CHANGES COPYRIGHT EXAMPLES README
	${INSTALL_DATA} ${WRKSRC}/${doc} ${PREFIX}/share/doc/calamaris
.endfor

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