svn commit: r421948 - head/www/awstats

Adam Weinberger adamw at FreeBSD.org
Mon Sep 12 18:21:48 UTC 2016


Author: adamw
Date: Mon Sep 12 18:21:47 2016
New Revision: 421948
URL: https://svnweb.freebsd.org/changeset/ports/421948

Log:
  Fix path to config file location in an ancillary script,
  bump PORTREVISION.
  
  PR:		212591
  Submitted by:	Vidar Karlsen

Modified:
  head/www/awstats/Makefile

Modified: head/www/awstats/Makefile
==============================================================================
--- head/www/awstats/Makefile	Mon Sep 12 18:20:23 2016	(r421947)
+++ head/www/awstats/Makefile	Mon Sep 12 18:21:47 2016	(r421948)
@@ -3,6 +3,7 @@
 
 PORTNAME=	awstats
 PORTVERSION=	7.5
+PORTREVISION=	1
 PORTEPOCH=	1
 CATEGORIES=	www
 MASTER_SITES=	SF/${PORTNAME}/AWStats/${PORTVERSION}
@@ -55,6 +56,8 @@ post-patch:
 		${WRKSRC}/tools/nginx/* \
 		${WRKSRC}/wwwroot/cgi-bin/*.pl \
 		${WRKSRC}/wwwroot/cgi-bin/*.conf
+	@${REINPLACE_CMD} -e 's|/etc/awstats|${ETCDIR}|' \
+		${WRKSRC}/tools/awstats_updateall.pl
 	@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \
 			-e 's|%%WWWDIR%%|${WWWDIR}|' \
 			-e 's|AWSTATS_PATH/wwwroot|AWSTATS_PATH|' \


More information about the svn-ports-head mailing list