2004-01-13 00:53:50 +01:00
|
|
|
# $NetBSD: Makefile,v 1.4 2004/01/12 23:53:50 xtraeme Exp $
|
2003-07-31 05:18:20 +02:00
|
|
|
#
|
|
|
|
|
2004-01-13 00:53:50 +01:00
|
|
|
DISTNAME= awstats-5.9
|
2003-07-31 05:18:20 +02:00
|
|
|
CATEGORIES= www
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=awstats/}
|
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2003-08-28 22:05:13 +02:00
|
|
|
MAINTAINER= xtraeme@NetBSD.org
|
2003-07-31 05:18:20 +02:00
|
|
|
HOMEPAGE= http://awstats.sourceforge.net/
|
|
|
|
COMMENT= Free real-time logfile analyzer to get advanced web statistics
|
|
|
|
|
|
|
|
USE_BUILDLINK2= YES
|
|
|
|
NO_BUILD= YES
|
|
|
|
USE_PERL5= run
|
|
|
|
|
|
|
|
REPLACE_PERL = \
|
2003-09-10 15:07:20 +02:00
|
|
|
tools/awstats_buildstaticpages.pl \
|
|
|
|
tools/awstats_updateall.pl \
|
|
|
|
tools/logresolvemerge.pl \
|
2004-01-13 00:53:50 +01:00
|
|
|
wwwroot/cgi-bin/awredir.pl \
|
2003-09-10 15:07:20 +02:00
|
|
|
wwwroot/cgi-bin/awstats.pl
|
2003-07-31 05:18:20 +02:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/awstats
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/awstats/bin
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/awstats
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/awstats
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/tools/*.pl ${PREFIX}/awstats/bin
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/wwwroot/cgi-bin/awstats.model.conf \
|
|
|
|
${PREFIX}/share/examples/awstats/awstats.conf
|
|
|
|
${RM} ${WRKSRC}/wwwroot/cgi-bin/awstats.model.conf
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/wwwroot/cgi-bin/plugins/example/example.pm \
|
|
|
|
${PREFIX}/share/examples/awstats/example.pm
|
|
|
|
${RM} -fr ${WRKSRC}/wwwroot/cgi-bin/plugins/example
|
2004-01-13 00:53:50 +01:00
|
|
|
cd ${WRKSRC}/wwwroot && ${PAX} -rwpppm . ${PREFIX}/awstats/
|
|
|
|
cd ${WRKSRC}/docs && ${PAX} -rwpppm . ${PREFIX}/share/doc/html/awstats/
|
2003-07-31 05:18:20 +02:00
|
|
|
|
|
|
|
.include "../../lang/perl5/buildlink2.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|