diff options
author | Adam Weinberger <adamw@FreeBSD.org> | 2016-09-12 18:21:47 +0000 |
---|---|---|
committer | Adam Weinberger <adamw@FreeBSD.org> | 2016-09-12 18:21:47 +0000 |
commit | a975358f89568fb0b0cd113963c3f1febc1a34a2 (patch) | |
tree | 9a597f900729cfcf011acaa42f0bcb85b7b87dfd | |
parent | security/xca: Fix build with LibreSSL (diff) |
Fix path to config file location in an ancillary script,
bump PORTREVISION.
PR: 212591
Submitted by: Vidar Karlsen
Notes
Notes:
svn path=/head/; revision=421948
-rw-r--r-- | www/awstats/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/www/awstats/Makefile b/www/awstats/Makefile index c1578414dc81..d0748351b511 100644 --- a/www/awstats/Makefile +++ b/www/awstats/Makefile @@ -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|' \ |