freebsd-ports/www/awstats-devel/files/patch-tools-awstats_configure.pl
Marcus Alves Grando 0c26165008 Respect PREFIX
PR:		86481
Submitted by:	Naram Qashat <cyberbotx@cyberbotx.com>
Approved by:	webmaster@lightningfire.net (maintainer timeout, 32 days)
2005-10-26 00:30:46 +00:00

17 lines
807 B
Perl

--- tools/awstats_configure.pl.orig Sat Jan 15 17:42:58 2005
+++ tools/awstats_configure.pl Thu Sep 22 20:34:07 2005
@@ -29,10 +29,10 @@
$AWSTATS_DIRDATA_PATH
/;
$AWSTATS_PATH='';
-$AWSTATS_ICON_PATH='/usr/local/awstats/wwwroot/icon';
-$AWSTATS_CSS_PATH='/usr/local/awstats/wwwroot/css';
-$AWSTATS_CLASSES_PATH='/usr/local/awstats/wwwroot/classes';
-$AWSTATS_CGI_PATH='/usr/local/awstats/wwwroot/cgi-bin';
+$AWSTATS_ICON_PATH='%%PREFIX%%/www/awstats/icon';
+$AWSTATS_CSS_PATH='%%PREFIX%%/www/awstats/css';
+$AWSTATS_CLASSES_PATH='%%PREFIX%%/www/awstats/classes';
+$AWSTATS_CGI_PATH='%%PREFIX%%/www/awstats/cgi-bin';
$AWSTATS_MODEL_CONFIG='/etc/awstats/awstats.model.conf'; # Used only when configure ran on linux
$AWSTATS_DIRDATA_PATH='/var/lib/awstats'; # Used only when configure ran on linux