aboutsummaryrefslogtreecommitdiffstats
path: root/www/awstats/Makefile
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-05-14 15:08:19 +0800
committerijliao <ijliao@FreeBSD.org>2002-05-14 15:08:19 +0800
commit28e1c2ea838fb74f711d9c2b666cda1be2f93568 (patch)
tree36f3a306328b10282b3a0037cebba85f1b9664da /www/awstats/Makefile
parent477941dda03a343dcb9c3772b1062bc4f71de22e (diff)
downloadfreebsd-ports-gnome-28e1c2ea838fb74f711d9c2b666cda1be2f93568.tar.gz
freebsd-ports-gnome-28e1c2ea838fb74f711d9c2b666cda1be2f93568.tar.zst
freebsd-ports-gnome-28e1c2ea838fb74f711d9c2b666cda1be2f93568.zip
add awstats 4.0
Free real-time logfile analyzer to get advanced web statistics PR: 38064 Submitted by: Munish <mchopra@engmail.uwaterloo.ca>
Diffstat (limited to 'www/awstats/Makefile')
-rw-r--r--www/awstats/Makefile46
1 files changed, 46 insertions, 0 deletions
diff --git a/www/awstats/Makefile b/www/awstats/Makefile
new file mode 100644
index 000000000000..e9e183bc8ca7
--- /dev/null
+++ b/www/awstats/Makefile
@@ -0,0 +1,46 @@
+# New ports collection makefile for: awstats
+# Date created: May 13, 2002
+# Whom: Munish Chopra <mchopra@engmail.uwaterloo.ca>
+#
+# $FreeBSD$
+#
+
+PORTNAME= awstats
+PORTVERSION= 4.0
+CATEGORIES= www
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= mchopra@engmail.uwaterloo.ca
+
+NO_BUILD= yes
+
+do-install:
+ @${MKDIR} ${PREFIX}/www/cgi-bin/db
+ @${MKDIR} ${PREFIX}/www/cgi-bin/lang
+ @${MKDIR} ${PREFIX}/www/icons/browser
+ @${MKDIR} ${PREFIX}/www/icons/clock
+ @${MKDIR} ${PREFIX}/www/icons/cpu
+ @${MKDIR} ${PREFIX}/www/icons/flags
+ @${MKDIR} ${PREFIX}/www/icons/os
+ @${MKDIR} ${PREFIX}/www/icons/other
+ ${INSTALL_DATA} ${WRKSRC}/wwwroot/cgi-bin/awstats.model.conf ${PREFIX}/www/cgi-bin/awstats.model.conf
+ ${INSTALL_SCRIPT} ${WRKSRC}/wwwroot/cgi-bin/awstats.pl ${PREFIX}/www/cgi-bin/awstats.pl
+ ${INSTALL_SCRIPT} ${WRKSRC}/wwwroot/cgi-bin/db/* ${PREFIX}/www/cgi-bin/db
+ ${INSTALL_DATA} ${WRKSRC}/wwwroot/cgi-bin/lang/* ${PREFIX}/www/cgi-bin/lang
+ ${INSTALL_DATA} ${WRKSRC}/wwwroot/icon/browser/* ${PREFIX}/www/icons/browser
+ ${INSTALL_DATA} ${WRKSRC}/wwwroot/icon/clock/* ${PREFIX}/www/icons/clock
+ ${INSTALL_DATA} ${WRKSRC}/wwwroot/icon/cpu/* ${PREFIX}/www/icons/cpu
+ ${INSTALL_DATA} ${WRKSRC}/wwwroot/icon/flags/* ${PREFIX}/www/icons/flags
+ ${INSTALL_DATA} ${WRKSRC}/wwwroot/icon/os/* ${PREFIX}/www/icons/os
+ ${INSTALL_DATA} ${WRKSRC}/wwwroot/icon/other/* ${PREFIX}/www/icons/other
+ @${ECHO_CMD} ""
+ @${ECHO_CMD} "* Rename ${PREFIX}/www/cgi-bin/awstats.model.conf to awstats.conf to set up AWStats"
+ @${ECHO_CMD} "* Documentation has been installed in ${PREFIX}/share/doc/awstats"
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}/images && ${CHMOD} -R a+rx ${DOCSDIR}
+ ${CP} -R ${WRKSRC}/docs/* ${DOCSDIR}
+.endif
+
+.include <bsd.port.mk>