blob: c08867fedbc522bff429f003553c4aca450a5257 (
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
40
41
42
43
|
# Created by: Dominique Goncalves <dominique.goncalves@gmail.com>
PORTNAME= squidanalyzer
PORTVERSION= 6.5
DISTVERSIONPREFIX= v
CATEGORIES= www perl5
MAINTAINER= dominique.goncalves@gmail.com
COMMENT= Squid access log report generation tool
LICENSE= GPLv3
USE_GITHUB= yes
GH_ACCOUNT= darold
MAKE_JOBS_UNSAFE=yes
USE_PERL5= configure
USES= perl5
CONFIGURE_ENV= DESTDIR=${STAGEDIR} \
LOGFILE=/var/log/squid3/access.log \
BINDIR=${PREFIX}/bin \
CONFDIR=${PREFIX}/etc/squidreport \
HTMLDIR=${PREFIX}/www/squidreport \
BASEURL=/squidreport \
MANDIR=${PREFIX}/man/man3 \
DOCDIR=${PREFIX}/share/doc/squidanalyzer \
INSTALLDIRS=site
ETCDIR= ${PREFIX}/etc/squidreport
SUB_FILES= pkg-message
CONF_FILES= excluded included network-aliases \
squidanalyzer.conf user-aliases
OPTIONS_DEFINE= DOCS
post-install:
.for file in ${CONF_FILES}
@${MV} ${STAGEDIR}${ETCDIR}/${file} \
${STAGEDIR}${ETCDIR}/${file}.sample
.endfor
.include <bsd.port.mk>
|