summaryrefslogtreecommitdiff
path: root/www/awstats/Makefile
diff options
context:
space:
mode:
authorjschauma <jschauma>2003-07-31 03:18:20 +0000
committerjschauma <jschauma>2003-07-31 03:18:20 +0000
commit95db816b5a171e00b3ce606a13681483693d2651 (patch)
treeb74bb60d1f272527739e96add09a555d4807cbf7 /www/awstats/Makefile
parentf46b6bfb9e084bbbe17c5f5f6c7c5fccad9be36e (diff)
downloadpkgsrc-95db816b5a171e00b3ce606a13681483693d2651.tar.gz
Initial import of www/awstats into pkgsrc, based on the package submitted
by juan at xtraeme dot dyndns dot org in PR pkg/19608: AWStats is a short for Advanced Web Statistics. It's a free tool that generates advanced web server access statistics graphically. This web server log analyzer works as a CGI or from command line and shows you all possible information your log contains, in few graphical web pages. It uses a partial information file to be able to process large log files, often and quickly. It can analyze log files from IIS (W3C log format), Apache log files (NCSA combined/XLF/ELF log format or common/CLF log format), WebStar and some other web, proxy or WAP servers (and even some FTP servers).
Diffstat (limited to 'www/awstats/Makefile')
-rw-r--r--www/awstats/Makefile39
1 files changed, 39 insertions, 0 deletions
diff --git a/www/awstats/Makefile b/www/awstats/Makefile
new file mode 100644
index 00000000000..04415f953ef
--- /dev/null
+++ b/www/awstats/Makefile
@@ -0,0 +1,39 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/07/31 03:18:20 jschauma Exp $
+#
+
+DISTNAME= awstats-5.1
+CATEGORIES= www
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=awstats/}
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= jrp@hispabsd.org
+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 = \
+ ${WRKSRC}/tools/awstats_buildstaticpages.pl \
+ ${WRKSRC}/tools/awstats_updateall.pl \
+ ${WRKSRC}/tools/logresolvemerge.pl \
+ ${WRKSRC}/wwwroot/cgi-bin/awstats.pl
+
+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
+ cd ${WRKSRC}/wwwroot && ${PAX} -rwp e . ${PREFIX}/awstats/
+ cd ${WRKSRC}/docs && ${PAX} -rwp e . ${PREFIX}/share/doc/html/awstats/
+
+.include "../../lang/perl5/buildlink2.mk"
+.include "../../mk/bsd.pkg.mk"