aboutsummaryrefslogtreecommitdiff
path: root/www/calamaris/Makefile
blob: be572ada8281b04c5c438fdf1ca91a32034ebd6d (plain) (blame)
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
PORTNAME=	calamaris
PORTVERSION=	2.59
PORTREVISION=	2
CATEGORIES=	www textproc
MASTER_SITES=	http://cord.de/files/calamaris/

MAINTAINER=	demon@FreeBSD.org
COMMENT=	Perl script to produce statistics out of Squid log files
WWW=		https://Cord.de/tools/squid/calamaris/

LICENSE=	GPLv2

CONFLICTS_INSTALL=	calamaris-devel

USES=		shebangfix perl5
NO_BUILD=	yes
SHEBANG_FILES=	calamaris

OPTIONS_DEFINE=	DOCS

do-install:
	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
	${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/EXAMPLES ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>