aboutsummaryrefslogtreecommitdiffstats
path: root/www/calamaris/Makefile
blob: 29b4d844818fce3e9b281584d3d044293b43549f (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
29
30
# Created by: Dima Sivachenko <dima@Chg.RU>
# $FreeBSD$

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

LICENSE=    GPLv2

CONFLICTS_INSTALL=  calamaris-devel-[0-9]*

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>