blob: 942b21a9894951def63dc28a03785455d84cdc0b (
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
31
32
33
34
35
36
37
38
39
|
# Created by: Dmitry Sivachenko <mitya@yandex-team.ru>
PORTNAME= calamaris
PORTVERSION= 2.99.4.5
CATEGORIES= www textproc
MASTER_SITES= http://cord.de/files/calamaris/
PKGNAMESUFFIX= -devel
MAINTAINER= demon@FreeBSD.org
COMMENT= Perl script to produce statistics out of Squid log files
LICENSE= GPLv2
RUN_DEPENDS= p5-GD-Graph>=0:graphics/p5-GD-Graph \
p5-NetAddr-IP>=0:net-mgmt/p5-NetAddr-IP
CONFLICTS_INSTALL= calamaris
USES= shebangfix perl5
NO_BUILD= yes
SHEBANG_FILES= calamaris calamaris-cache-convert
OPTIONS_DEFINE= DOCS
do-install:
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/calamaris-cache-convert ${STAGEDIR}${PREFIX}/bin
${MKDIR} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}
${INSTALL_DATA} ${WRKSRC}/calAxestype.pm ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}
${INSTALL_DATA} ${WRKSRC}/calAxestype3d.pm ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}
${INSTALL_DATA} ${WRKSRC}/calBars3d.pm ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}
${INSTALL_DATA} ${WRKSRC}/calamaris.conf ${STAGEDIR}${PREFIX}/etc/calamaris.conf.sample
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/EXAMPLES ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/EXAMPLES.v3 ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|