1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00

Fix path to config file location in an ancillary script,

bump PORTREVISION.

PR:		212591
Submitted by:	Vidar Karlsen
This commit is contained in:
Adam Weinberger 2016-09-12 18:21:47 +00:00
parent 21e13c5283
commit a975358f89
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=421948

View File

@ -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|' \