2014-05-05 11:58:11 +02:00
|
|
|
# $NetBSD: Makefile,v 1.3 2014/05/05 09:58:11 adam Exp $
|
2013-09-03 12:08:25 +02:00
|
|
|
|
2014-05-05 11:58:11 +02:00
|
|
|
DISTNAME= squidanalyzer-5.4
|
2013-09-03 12:08:25 +02:00
|
|
|
CATEGORIES= www
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=squid-report/}
|
|
|
|
|
|
|
|
MAINTAINER= adam@NetBSD.org
|
|
|
|
HOMEPAGE= http://squidanalyzer.darold.net/
|
|
|
|
COMMENT= Squid proxy native log analyser and reports generator
|
|
|
|
LICENSE= gnu-gpl-v3
|
|
|
|
|
|
|
|
DEPENDS+= p5-GD-Graph3d>=0.63:../../graphics/p5-GD-Graph3d
|
|
|
|
|
|
|
|
USE_LANGUAGES= # empty
|
|
|
|
USE_TOOLS+= perl:run
|
|
|
|
REPLACE_PERL+= squid-analyzer
|
|
|
|
|
2013-12-02 09:08:01 +01:00
|
|
|
BUILD_DEFS+= VARBASE
|
2013-09-03 12:08:25 +02:00
|
|
|
PERL5_PACKLIST= auto/SquidAnalyzer/.packlist
|
|
|
|
MAKE_PARAMS+= BINDIR=${PREFIX}/bin
|
|
|
|
MAKE_PARAMS+= CONFDIR=${EGDIR}
|
|
|
|
MAKE_PARAMS+= DESTDIR=${DESTDIR}
|
|
|
|
MAKE_PARAMS+= ETCDIR=${PKG_SYSCONFDIR}
|
|
|
|
MAKE_PARAMS+= HTMLDIR=${PREFIX}/share/squidanalyzer
|
|
|
|
MAKE_PARAMS+= LOGFILE=${VARBASE}/squid/access.log
|
|
|
|
MAKE_PARAMS+= MANDIR=${PREFIX}/${PKGMANDIR}/man3
|
|
|
|
|
|
|
|
EGDIR= ${PREFIX}/share/examples/squidanalyzer
|
|
|
|
CONF_FILES= ${EGDIR}/squidanalyzer.conf ${PKG_SYSCONFDIR}/squidanalyzer.conf
|
|
|
|
|
|
|
|
.include "../../lang/perl5/module.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|