aboutsummaryrefslogtreecommitdiffstats
path: root/www/awstats/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/awstats/Makefile')
-rw-r--r--www/awstats/Makefile124
1 files changed, 67 insertions, 57 deletions
diff --git a/www/awstats/Makefile b/www/awstats/Makefile
index 9cf49f73e367..f2a0a6d46f29 100644
--- a/www/awstats/Makefile
+++ b/www/awstats/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= awstats
-PORTVERSION= 6.1
+PORTVERSION= 6.2
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -21,63 +21,68 @@ NO_BUILD= yes
USE_PERL5_RUN= yes
do-install:
- @${MKDIR} ${PREFIX}/www/cgi-bin/lang
- @${MKDIR} ${PREFIX}/www/cgi-bin/lang/tooltips_f
- @${MKDIR} ${PREFIX}/www/cgi-bin/lang/tooltips_m
- @${MKDIR} ${PREFIX}/www/cgi-bin/lang/tooltips_w
- @${MKDIR} ${PREFIX}/www/cgi-bin/lib
- @${MKDIR} ${PREFIX}/www/cgi-bin/plugins
- @${MKDIR} ${PREFIX}/www/cgi-bin/plugins/example
- @${MKDIR} ${PREFIX}/www/css
- @${MKDIR} ${PREFIX}/www/icons/browser
- @${MKDIR} ${PREFIX}/www/icons/clock
- @${MKDIR} ${PREFIX}/www/icons/cpu
- @${MKDIR} ${PREFIX}/www/icons/flags
- @${MKDIR} ${PREFIX}/www/icons/mime
- @${MKDIR} ${PREFIX}/www/icons/os
- @${MKDIR} ${PREFIX}/www/icons/other
- @${MKDIR} ${PREFIX}/www/js
- ${INSTALL_SCRIPT} ${WRKSRC}/tools/awstats_buildstaticpages.pl ${PREFIX}/bin
- ${INSTALL_SCRIPT} ${WRKSRC}/tools/awstats_exportlib.pl ${PREFIX}/bin
- ${INSTALL_SCRIPT} ${WRKSRC}/tools/awstats_updateall.pl ${PREFIX}/bin
- ${INSTALL_SCRIPT} ${WRKSRC}/tools/configure.pl ${PREFIX}/bin/awstats_configure.pl
- ${INSTALL_SCRIPT} ${WRKSRC}/tools/logresolvemerge.pl ${PREFIX}/bin/awstats_logresolvemerge.pl
- ${INSTALL_SCRIPT} ${WRKSRC}/tools/maillogconvert.pl ${PREFIX}/bin/awstats_maillogconvert.pl
- ${INSTALL_SCRIPT} ${WRKSRC}/tools/urlaliasbuilder.pl ${PREFIX}/bin/awstats_urlaliasbuilder.pl
- ${INSTALL_SCRIPT} ${WRKSRC}/tools/webmin/awstats-1.3.wbm ${PREFIX}/bin/awstats-1.3.wbm
- ${INSTALL_SCRIPT} ${WRKSRC}/wwwroot/cgi-bin/awredir.pl ${PREFIX}/www/cgi-bin
- ${INSTALL_DATA} ${WRKSRC}/wwwroot/cgi-bin/awstats.model.conf ${PREFIX}/www/cgi-bin
- ${INSTALL_SCRIPT} ${WRKSRC}/wwwroot/cgi-bin/awstats.pl ${PREFIX}/www/cgi-bin
- ${INSTALL_DATA} ${WRKSRC}/wwwroot/cgi-bin/lang/tooltips_f/*.txt ${PREFIX}/www/cgi-bin/lang/tooltips_f
- ${INSTALL_DATA} ${WRKSRC}/wwwroot/cgi-bin/lang/tooltips_m/*.txt ${PREFIX}/www/cgi-bin/lang/tooltips_m
- ${INSTALL_DATA} ${WRKSRC}/wwwroot/cgi-bin/lang/tooltips_w/*.txt ${PREFIX}/www/cgi-bin/lang/tooltips_w
- ${INSTALL_DATA} ${WRKSRC}/wwwroot/cgi-bin/lang/*.txt ${PREFIX}/www/cgi-bin/lang
- ${INSTALL_DATA} ${WRKSRC}/wwwroot/cgi-bin/lib/* ${PREFIX}/www/cgi-bin/lib
- ${INSTALL_DATA} ${WRKSRC}/wwwroot/cgi-bin/plugins/decodeutfkeys.pm ${PREFIX}/www/cgi-bin/plugins
- ${INSTALL_DATA} ${WRKSRC}/wwwroot/cgi-bin/plugins/geoip.pm ${PREFIX}/www/cgi-bin/plugins
- ${INSTALL_DATA} ${WRKSRC}/wwwroot/cgi-bin/plugins/geoipfree.pm ${PREFIX}/www/cgi-bin/plugins
- ${INSTALL_DATA} ${WRKSRC}/wwwroot/cgi-bin/plugins/graphapplet.pm ${PREFIX}/www/cgi-bin/plugins
- ${INSTALL_DATA} ${WRKSRC}/wwwroot/cgi-bin/plugins/hashfiles.pm ${PREFIX}/www/cgi-bin/plugins
- ${INSTALL_DATA} ${WRKSRC}/wwwroot/cgi-bin/plugins/hostinfo.pm ${PREFIX}/www/cgi-bin/plugins
- ${INSTALL_DATA} ${WRKSRC}/wwwroot/cgi-bin/plugins/ipv6.pm ${PREFIX}/www/cgi-bin/plugins
- ${INSTALL_DATA} ${WRKSRC}/wwwroot/cgi-bin/plugins/rawlog.pm ${PREFIX}/www/cgi-bin/plugins
- ${INSTALL_DATA} ${WRKSRC}/wwwroot/cgi-bin/plugins/timehires.pm ${PREFIX}/www/cgi-bin/plugins
- ${INSTALL_DATA} ${WRKSRC}/wwwroot/cgi-bin/plugins/timezone.pm ${PREFIX}/www/cgi-bin/plugins
- ${INSTALL_DATA} ${WRKSRC}/wwwroot/cgi-bin/plugins/tooltips.pm ${PREFIX}/www/cgi-bin/plugins
- ${INSTALL_DATA} ${WRKSRC}/wwwroot/cgi-bin/plugins/urlalias.pm ${PREFIX}/www/cgi-bin/plugins
- ${INSTALL_DATA} ${WRKSRC}/wwwroot/cgi-bin/plugins/userinfo.pm ${PREFIX}/www/cgi-bin/plugins
- ${INSTALL_DATA} ${WRKSRC}/wwwroot/cgi-bin/plugins/example/* ${PREFIX}/www/cgi-bin/plugins/example
- ${INSTALL_DATA} ${WRKSRC}/wwwroot/css/* ${PREFIX}/www/css
- ${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/mime/* ${PREFIX}/www/icons/mime
- ${INSTALL_DATA} ${WRKSRC}/wwwroot/icon/os/* ${PREFIX}/www/icons/os
- ${INSTALL_DATA} ${WRKSRC}/wwwroot/icon/other/* ${PREFIX}/www/icons/other
- ${INSTALL_DATA} ${WRKSRC}/wwwroot/js/* ${PREFIX}/www/js
+ @${MKDIR} ${PREFIX}/www/awstats
+ @${MKDIR} ${PREFIX}/www/awstats/cgi-bin
+ @${MKDIR} ${PREFIX}/www/awstats/cgi-bin/lang
+ @${MKDIR} ${PREFIX}/www/awstats/cgi-bin/lang/tooltips_f
+ @${MKDIR} ${PREFIX}/www/awstats/cgi-bin/lang/tooltips_m
+ @${MKDIR} ${PREFIX}/www/awstats/cgi-bin/lang/tooltips_w
+ @${MKDIR} ${PREFIX}/www/awstats/cgi-bin/lib
+ @${MKDIR} ${PREFIX}/www/awstats/cgi-bin/plugins
+ @${MKDIR} ${PREFIX}/www/awstats/cgi-bin/plugins/example
+ @${MKDIR} ${PREFIX}/www/awstats/classes
+ @${MKDIR} ${PREFIX}/www/awstats/css
+ @${MKDIR} ${PREFIX}/www/awstats/icons/browser
+ @${MKDIR} ${PREFIX}/www/awstats/icons/clock
+ @${MKDIR} ${PREFIX}/www/awstats/icons/cpu
+ @${MKDIR} ${PREFIX}/www/awstats/icons/flags
+ @${MKDIR} ${PREFIX}/www/awstats/icons/mime
+ @${MKDIR} ${PREFIX}/www/awstats/icons/os
+ @${MKDIR} ${PREFIX}/www/awstats/icons/other
+ @${MKDIR} ${PREFIX}/www/awstats/js
+ @${MKDIR} ${PREFIX}/www/awstats/tools
+ @${MKDIR} ${PREFIX}/www/awstats/tools/webmin
+ ${INSTALL_SCRIPT} ${WRKSRC}/tools/awstats_buildstaticpages.pl ${PREFIX}/www/awstats/tools
+ ${INSTALL_SCRIPT} ${WRKSRC}/tools/awstats_exportlib.pl ${PREFIX}/www/awstats/tools
+ ${INSTALL_SCRIPT} ${WRKSRC}/tools/awstats_updateall.pl ${PREFIX}/www/awstats/tools
+ ${INSTALL_SCRIPT} ${WRKSRC}/tools/awstats_configure.pl ${PREFIX}/www/awstats/tools
+ ${INSTALL_SCRIPT} ${WRKSRC}/tools/logresolvemerge.pl ${PREFIX}/www/awstats/tools
+ ${INSTALL_SCRIPT} ${WRKSRC}/tools/maillogconvert.pl ${PREFIX}/www/awstats/tools
+ ${INSTALL_SCRIPT} ${WRKSRC}/tools/urlaliasbuilder.pl ${PREFIX}/www/awstats/tools
+ ${INSTALL_SCRIPT} ${WRKSRC}/tools/webmin/awstats-1.4.wbm ${PREFIX}/www/awstats/tools/webmin
+ ${INSTALL_SCRIPT} ${WRKSRC}/wwwroot/cgi-bin/awredir.pl ${PREFIX}/www/awstats/cgi-bin
+ ${INSTALL_DATA} ${WRKSRC}/wwwroot/cgi-bin/awstats.model.conf ${PREFIX}/www/awstats/cgi-bin
+ ${INSTALL_SCRIPT} ${WRKSRC}/wwwroot/cgi-bin/awstats.pl ${PREFIX}/www/awstats/cgi-bin
+ ${INSTALL_DATA} ${WRKSRC}/wwwroot/cgi-bin/lang/tooltips_f/*.txt ${PREFIX}/www/awstats/cgi-bin/lang/tooltips_f
+ ${INSTALL_DATA} ${WRKSRC}/wwwroot/cgi-bin/lang/tooltips_m/*.txt ${PREFIX}/www/awstats/cgi-bin/lang/tooltips_m
+ ${INSTALL_DATA} ${WRKSRC}/wwwroot/cgi-bin/lang/tooltips_w/*.txt ${PREFIX}/www/awstats/cgi-bin/lang/tooltips_w
+ ${INSTALL_DATA} ${WRKSRC}/wwwroot/cgi-bin/lang/*.txt ${PREFIX}/www/awstats/cgi-bin/lang
+ ${INSTALL_DATA} ${WRKSRC}/wwwroot/cgi-bin/lib/* ${PREFIX}/www/awstats/cgi-bin/lib
+ ${INSTALL_DATA} ${WRKSRC}/wwwroot/cgi-bin/plugins/decodeutfkeys.pm ${PREFIX}/www/awstats/cgi-bin/plugins
+ ${INSTALL_DATA} ${WRKSRC}/wwwroot/cgi-bin/plugins/geoip.pm ${PREFIX}/www/awstats/cgi-bin/plugins
+ ${INSTALL_DATA} ${WRKSRC}/wwwroot/cgi-bin/plugins/geoipfree.pm ${PREFIX}/www/awstats/cgi-bin/plugins
+ ${INSTALL_DATA} ${WRKSRC}/wwwroot/cgi-bin/plugins/graphapplet.pm ${PREFIX}/www/awstats/cgi-bin/plugins
+ ${INSTALL_DATA} ${WRKSRC}/wwwroot/cgi-bin/plugins/hashfiles.pm ${PREFIX}/www/awstats/cgi-bin/plugins
+ ${INSTALL_DATA} ${WRKSRC}/wwwroot/cgi-bin/plugins/hostinfo.pm ${PREFIX}/www/awstats/cgi-bin/plugins
+ ${INSTALL_DATA} ${WRKSRC}/wwwroot/cgi-bin/plugins/ipv6.pm ${PREFIX}/www/awstats/cgi-bin/plugins
+ ${INSTALL_DATA} ${WRKSRC}/wwwroot/cgi-bin/plugins/rawlog.pm ${PREFIX}/www/awstats/cgi-bin/plugins
+ ${INSTALL_DATA} ${WRKSRC}/wwwroot/cgi-bin/plugins/timehires.pm ${PREFIX}/www/awstats/cgi-bin/plugins
+ ${INSTALL_DATA} ${WRKSRC}/wwwroot/cgi-bin/plugins/timezone.pm ${PREFIX}/www/awstats/cgi-bin/plugins
+ ${INSTALL_DATA} ${WRKSRC}/wwwroot/cgi-bin/plugins/tooltips.pm ${PREFIX}/www/awstats/cgi-bin/plugins
+ ${INSTALL_DATA} ${WRKSRC}/wwwroot/cgi-bin/plugins/urlalias.pm ${PREFIX}/www/awstats/cgi-bin/plugins
+ ${INSTALL_DATA} ${WRKSRC}/wwwroot/cgi-bin/plugins/userinfo.pm ${PREFIX}/www/awstats/cgi-bin/plugins
+ ${INSTALL_DATA} ${WRKSRC}/wwwroot/cgi-bin/plugins/example/* ${PREFIX}/www/awstats/cgi-bin/plugins/example
+ ${INSTALL_DATA} ${WRKSRC}/wwwroot/css/* ${PREFIX}/www/awstats/css
+ ${INSTALL_DATA} ${WRKSRC}/wwwroot/icon/browser/* ${PREFIX}/www/awstats/icons/browser
+ ${INSTALL_DATA} ${WRKSRC}/wwwroot/icon/clock/* ${PREFIX}/www/awstats/icons/clock
+ ${INSTALL_DATA} ${WRKSRC}/wwwroot/icon/cpu/* ${PREFIX}/www/awstats/icons/cpu
+ ${INSTALL_DATA} ${WRKSRC}/wwwroot/icon/flags/* ${PREFIX}/www/awstats/icons/flags
+ ${INSTALL_DATA} ${WRKSRC}/wwwroot/icon/mime/* ${PREFIX}/www/awstats/icons/mime
+ ${INSTALL_DATA} ${WRKSRC}/wwwroot/icon/os/* ${PREFIX}/www/awstats/icons/os
+ ${INSTALL_DATA} ${WRKSRC}/wwwroot/icon/other/* ${PREFIX}/www/awstats/icons/other
+ ${INSTALL_DATA} ${WRKSRC}/wwwroot/js/* ${PREFIX}/www/awstats/js
@${ECHO_CMD} ""
- @${ECHO_CMD} "* Rename ${PREFIX}/www/cgi-bin/awstats.model.conf to awstats.conf to set up AWStats"
+ @${ECHO_CMD} "* Rename ${PREFIX}/www/awstats/cgi-bin/awstats.model.conf to awstats.site.conf to setup awstats"
@${ECHO_CMD} "* Documentation has been installed in ${PREFIX}/share/doc/awstats"
@${ECHO_CMD} ""
@@ -87,6 +92,11 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/docs/*.* ${DOCSDIR}
.endif
+post-install:
+.if !defined(BATCH)
+ @${CAT} ${PKGMESSAGE}
+.endif
+
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500800