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 /www/awstats | |
parent | 21e13c5283160f8404e96d4b8ab342b274e6fed1 (diff) | |
download | ports-a975358f89568fb0b0cd113963c3f1febc1a34a2.tar.gz ports-a975358f89568fb0b0cd113963c3f1febc1a34a2.zip |
Notes
Diffstat (limited to 'www/awstats')
-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|' \ |